Skip to main content

Why does giving an agent more tools often make it worse, and how do you manage an agent that is connected to hundreds of tools?

Agents and tools · Pro 1

Short answer

Every tool definition is sent to the model on each request. Hundreds of them fill the context, raise cost and latency, and make similar tools easy to confuse. I would give each task only the tools it needs: remove duplicates, group tools by job, load definitions on demand through tool search, and use sub-agents with small tool sets.

Deeper answer

Tool definitions are part of the prompt. With 300 tools, the model may read tens of thousands of tokens before it sees the user's request. Accuracy drops because many names and descriptions look alike, for example three different search tools from three MCP servers. So the goal is a small, relevant set of tools in context at any moment.

There are a few ways to get there. Remove tools nobody uses, which traces will show. Give tools clear namespaces, such as jira_create_issue. Route the request first, then attach only that group of tools. Or keep one search tool that finds other tools by description and loads them when needed. A sub-agent for each domain keeps the main agent's context clean. Interviewers listen for the understanding that tools cost context, and for a plan to measure tool-choice accuracy before and after the change.

What a strong answer covers

Answer it out loud in the mock interview about 2 min

Follow-ups to expect

Common mistakes

Learn it

Designing tools for agents

Practice Agents and tools questions

More on this topic

Today's AI turns are used

Lessons, roadmaps, videos, practice cards and the code playground stay free with your account, with no limit.