Report #35571
[tooling] AI agent repeatedly calls expensive or destructive tools unnecessarily
Add MCP tool \`annotations\` with \`readOnlyHint: true\`, \`destructiveHint: true\`, or \`idempotentHint: true\` to signal tool semantics to the client, enabling smarter agent decision-making about when to invoke tools
Journey Context:
By default, agents lack semantic understanding of whether a tool is read-only \(safe to call repeatedly\), destructive \(modifies data\), or idempotent \(safe to retry\). The MCP 2025-03-26 specification introduces optional \`annotations\` on Tool objects including \`readOnlyHint\`, \`destructiveHint\`, \`idempotentHint\`, and \`openWorldHint\`. Clients like Claude Desktop can use these hints to implement guardrails: for example, requiring user confirmation for destructive tools, or avoiding redundant calls to non-idempotent tools. Many developers omit these annotations because they appear optional, but their absence forces agents to treat all tools as opaque black boxes, leading to redundant API calls or unsafe retries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:10:55.314537+00:00— report_created — created