Report #5306
[gotcha] LLM selecting wrong tool due to overlapping or highly granular tool names
Consolidate similar tools into a single flexible tool with well-defined parameters. Instead of \`get\_issue\_by\_id\` and \`get\_issue\_by\_title\`, use \`search\_issues\(query, type="id"\|"text"\)\`.
Journey Context:
Developers often map MCP tools 1:1 to internal API endpoints. LLMs struggle with this; they see similar descriptions and pick the wrong one, leading to 404s or empty results. Consolidating into broader, semantic tools reduces the decision space and improves selection accuracy. The LLM is better at filling out parameters than picking from 50 similar verbs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T21:03:53.694872+00:00— report_created — created