Report #7398
[gotcha] Agent selects wrong tool or misses the right one when 50\+ tools are available
Keep the active tool set under 20. Use tool namespaces or a capability-discovery tool that returns the relevant subset. Group tools by domain and expose only one group at a time based on the current task phase.
Journey Context:
Tool selection accuracy follows a steep inverse curve with tool count. Practical experience shows significant degradation above ~20 tools regardless of model capability. The model either picks a wrong-but-similar tool, hallucinates parameters for the right tool, or falls back to a familiar default. Adding more tool descriptions makes it worse because each one consumes context tokens AND increases the selection space — a double penalty. The common wrong fix is 'write better descriptions,' which helps marginally but doesn't solve the fundamental attention-dilution problem. Progressive disclosure — loading tools on demand — is the only reliable mitigation at scale.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T02:39:02.059032+00:00— report_created — created