MCP Shipyard
← Rules catalog

Destructive MCP tool descriptions must say what is deleted

A delete, remove or cancel tool whose description never says what is removed warns. Name the data affected and whether it can be undone.

minordesc.destructive-undisclosedChatGPT, Claude

For delete, remove, cancel and similar tools, state in the description what is removed and whether it can be undone. The rule desc.destructive-undisclosed is a minor, warn-level finding for ChatGPT and Claude.

What you see

  • A scan reports desc.destructive-undisclosed: "Name suggests deletion but description never says what is removed".
  • The rule fires when the tool name starts with a destructive verb (a leading read verb such as get_drop_rates exempts it) and the description contains none of: permanent, irreversible, cannot be undone, deletes, removes, cancels, revokes, destroys, erases, purges.

Why it happens

The description was written for the happy path ("Cancel an order.") without saying the effect. The rule's fix text cites ChatGPT guideline 1.2: side effects must never be hidden or implicit.

Check it yourself

curl -s -X POST https://mcp.acme.example/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
 | jq -r '.result.tools[] | select(.name | test("^(delete|remove|cancel|revoke|destroy|purge)")) | "\(.name): \(.description)"'

Read each description for what is removed and whether it can be undone. Also check that annotations.destructive-not-flagged is clean for the same tools.

Fix

  • Before: Cancel an order.
  • After: Cancels one order by id and releases its reserved stock. Shipped orders cannot be cancelled and return an error. The cancellation cannot be undone.

Set destructiveHint: true on the tool as well.

Verify

Re-run the listing and confirm each destructive tool names its effect, then re-scan.

Which clients care

ChatGPT and Claude, per the rule.

Source

OpenAI plugin guidelines: https://developers.openai.com/plugins/plugin-guidelines

Run a free scan at https://mcpshipyard.com/scan to check every rule at once.

Check every rule at once

A free scan runs this check and the other 152 against your live URL.

Scan a server