Report #21442
[tooling] MCP tool descriptions ignored by agent due to poor formatting
Write tool descriptions as structured imperative sentences \('Retrieve X by doing Y'\) and include 3-5 concrete usage examples in the \`examples\` field \(if supported\) or description to anchor the agent's pattern matching.
Journey Context:
Agents often hallucinate tool parameters or use tools incorrectly despite seemingly clear descriptions. Analysis of agent traces reveals that descriptions written as passive statements \('This tool gets data'\) lead to lower accuracy than imperative instructions \('Retrieve the user record by ID'\). Furthermore, agents benefit from concrete example strings showing exact parameter values. The MCP protocol supports an \`examples\` field in the tool definition \(in some SDK versions\) or embedding examples in the description. Without these, agents rely on parameter names alone, which often leads to incorrect date formats, wrong ID casing, or misunderstood boolean flags.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:23:50.350095+00:00— report_created — created