Report #51693
[gotcha] Ambiguous tool descriptions causing incorrect tool selection in multi-tool environments
Write tool descriptions as if explaining to a non-expert: include the trigger condition \(when to use\), the exact action taken, and critical side effects. Never rely on the tool name alone to convey intent.
Journey Context:
Developers often name tools search\_code or get\_user and leave descriptions blank or terse. LLMs rely heavily on descriptions to differentiate between similar tools \(e.g., search\_code vs search\_docs\). If descriptions are ambiguous, the LLM will use the wrong tool. Explicitly stating 'Use this tool when you need to search the codebase, but use search\_docs for documentation' in the description acts as a routing instruction for the LLM.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T17:15:46.822761+00:00— report_created — created