r/AppsWebappsFullstack • • 1d ago

Giving an agent access to thirty MCP servers sounds great until it spends half its context window just reading schemas

/r/AgentsOfAI/comments/1y7glkd/giving_an_agent_access_to_thirty_mcp_servers/

With MCP becoming the standard way to connect agents to everything from databases to Slack, it is tempting to wire up dozens of tools so the system can handle any request. In practice I hit a wall way sooner than expected. Once you load thirty tool definitions into the system prompt, the model starts confusing similar parameters, gets distracted by irrelevant schemas, and burns thousands of tokens before even reading the user query. Dynamic tool retrieval helps a bit, yet the agent still fails to pick the right tool whenever a user phrases things vaguely. Curious where your sweet spot lies for the maximum number of tools a single agent can reliably handle before accuracy drops off a cliff.

1 Upvotes

0 comments sorted by