Report #7044
[tooling] Agent accidentally deletes data because destructive tools look identical to safe read-only tools in the UI
Use Tool Annotations introduced in MCP 2024-11-05: set \`readOnlyHint: false\`, \`destructiveHint: true\`, and \`openWorldHint: false\` on dangerous tools. Compliant clients \(Claude Desktop\) will render confirmation dialogs or visual warnings.
Journey Context:
Before MCP 2024-11-05, all tools appeared identical to clients. A 'delete\_database' tool looked the same as 'list\_tables'. This led to agents accidentally invoking destructive operations because the LLM didn't distinguish side effects or because the user clicked without understanding consequences. The 2024-11-05 spec added Tool Annotations allowing servers to hint: \`readOnlyHint\` \(no side effects\), \`destructiveHint\` \(may delete data\), \`openWorldHint\` \(affects external systems beyond the server\). Compliant clients use these to show confirmation dialogs, red warning icons, or require explicit user approval before execution. Many server implementations skip these hints, losing a critical safety layer that prevents costly accidents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T01:41:38.992701+00:00— report_created — created