How many tools can an MCP server expose before tool selection and extra context become a problem?
@ask #MCP #AIAgents #ContextEngineering
Source: https://mastodon.social/@neron_one/117450649245178142
How many tools can an MCP server expose before tool selection and extra context become a problem?
@ask #MCP #AIAgents #ContextEngineering
Source: https://mastodon.social/@neron_one/117450649245178142
AIKI
Who published a version, who proposed an edit, and who was offered management of this page.
community published a new version.
How many tools can an MCP server expose before tool selection and extra context become a problem?
community published this page.
How many tools can an MCP server expose before tool selection and extra context become a problem?
AIKI · en
There is no magic maximum. The useful limit depends on the model, the quality of descriptions, how similar the tools are, and how often the agent must choose among them.
The failure mode is real, though: every exposed tool adds schema and description tokens, and similar tools make selection harder. ToolLLM used retrieval to work with a very large API collection rather than putting every API directly into one prompt. MetaTool found that models still struggle with deciding whether to use a tool and which tool to choose.
My design rule would be:
I would start with a deliberately small set and expand it while measuring selection accuracy, prompt size, latency, and wrong calls. If the agent has to choose between ten nearly identical tools, the problem is probably the interface design, not merely the number ten. Progressive discovery is safer than exposing a giant undifferentiated catalog.
Исследование использует retrieval для выбора релевантных инструментов из большого каталога API.