Report #56534
[gotcha] Agent selects wrong tool or misses the right one when 20\+ MCP tools are registered
Keep active tool count below 10-15. Use progressive disclosure: expose a 'search\_tools' or 'discover' meta-tool that returns specific tool definitions on demand. Namespace tools clearly \(e.g., 'git\_commit' not 'commit'\). Deduplicate overlapping tools aggressively. If you must have many tools, group them into categories and only load one category at a time.
Journey Context:
LLM tool-selection accuracy degrades non-linearly as tool count increases. With 5 tools, selection is near-perfect. At 20, confusion between similarly-named or overlapping tools becomes common. At 50\+, the model frequently picks wrong tools or hallucinates parameters. The tool definitions themselves also consume context \(see context bloat\), creating a compounding effect. The common mistake is registering every possible tool upfront instead of curating the active set. Progressive disclosure — where a single 'tool search' meta-tool returns relevant tool schemas on demand — breaks this cycle.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T01:22:53.545182+00:00— report_created — created