MCP Shipyard
← Rules catalog

Every MCP tool has the same readOnly and destructive annotations

If reads and writes carry identical readOnlyHint and destructiveHint, the hints were copied, not decided. Review each tool. Minor, warn-level.

minorannotations.all-identicalChatGPT, Claude

Set annotation hints per tool, not as one blanket value. The rule annotations.all-identical is a minor, warn-level finding for ChatGPT and Claude.

What you see

  • A scan reports annotations.all-identical: "Reads and writes carry identical readOnly/destructive hints".
  • It only fires when the server has at least four tools, at least one read-named tool and one write-named tool (by verb in the name), and every tool has the same pair of readOnlyHint and destructiveHint values.

Why it happens

A wrapper or middleware applies one annotation object to every tool, for example readOnlyHint: false, destructiveHint: false everywhere to satisfy a missing-annotation check (annotations.missing).

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[] | "\(.name)\t\(.annotations.readOnlyHint)\t\(.annotations.destructiveHint)"'

If the last two columns are the same on every row but names include get_ and cancel_, the hints were copied.

Fix

Decide each tool:

  • get_order, list_orders: readOnlyHint: true, destructiveHint: false.
  • create_shipment: readOnlyHint: false, destructiveHint: false.
  • cancel_order: readOnlyHint: false, destructiveHint: true.

Related: annotations.read-tool-not-readonly, annotations.write-marked-readonly, annotations.destructive-not-flagged.

Verify

The hints differ between read and write tools, 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