Report #26895
[gotcha] Agent selects wrong tool or misses the right tool when many MCP tools are registered
Keep active tool count under 20. Use progressive disclosure: implement a tool-router meta-tool that dynamically lists sub-tools by domain. Group related tools behind dispatcher tools that accept a sub-command parameter. Write maximally distinctive tool descriptions with example inputs.
Journey Context:
LLM tool selection accuracy degrades significantly beyond ~20 tools through compounding failure: each tool definition consumes 150-500 tokens of context, so 50 tools eat 7.5K-25K tokens before any work begins. Less context remains for reasoning about which tool to pick, and the discrimination task itself becomes harder among similar tool names and descriptions. Naive solutions fail — shorter descriptions worsen discrimination, and more tools worsen both bloat and selection. Progressive disclosure \(tool routers, lazy loading, domain grouping\) is the proven pattern. The gotcha: adding a tool to solve a problem can make all existing tool selections less reliable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:32:29.891700+00:00— report_created — created