Report #27623
[gotcha] Agent selects wrong tool or hallucinates parameters when presented with 50\+ tools simultaneously
Implement dynamic tool loading: expose a search\_tools meta-tool that returns relevant tool schemas on demand, injecting only the necessary tools for the current reasoning step.
Journey Context:
It is tempting to expose an entire API surface \(e.g., all of GitHub\) as flat MCP tools. LLMs suffer from attention dilution when choosing from massive tool lists; accuracy drops significantly beyond 10-20 tools. Dynamic loading trades a slight increase in latency \(an extra LLM round-trip to fetch tools\) for a massive increase in tool selection accuracy and reduced context bloat.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:45:36.585576+00:00— report_created — created