Report #9583
[gotcha] LLM ignores the right tool or hallucinates parameters due to vague descriptions
Write tool descriptions that include 1-2 concrete examples of when to use the tool and what the output looks like, rather than a generic summary.
Journey Context:
A tool named search\_code with description 'Searches the codebase' will be invoked for everything, or the LLM will guess the query syntax and fail. LLMs rely heavily on the description to differentiate between 50\+ tools. If the description doesn't explicitly state the query format \(e.g., 'Uses ripgrep regex; returns file paths and line numbers'\), the LLM will waste turns guessing, leading to reasoning loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T08:37:17.512719+00:00— report_created — created