Write tools should declare idempotentHint
Set idempotentHint on write tools so clients know whether a retry repeats the effect. Info-level, warn status, for ChatGPT and general clients.
Set idempotentHint to true or false on every write tool. The rule annotations.write-idempotent-unset is an info-level, warn-status finding for ChatGPT and general clients.
What you see
- A scan reports
annotations.write-idempotent-unset: "idempotentHint not set". - It fires on tools with a write verb in the name (create, update, delete, send and similar) that have an annotations object but no boolean
idempotentHint.
Why it happens
Most templates set readOnlyHint and destructiveHint and stop. The rule's fix text says ChatGPT 1.2 asks tools to be safe to retry or to say explicitly when they are not.
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("^(create|update|delete|send|cancel|set|add|remove)")) | "\(.name)\t\(.annotations.idempotentHint)"'
A null in the second column means the hint is unset.
Fix
update_order_addresswith the same input twice leaves the same state:idempotentHint: true.create_shipmentmakes a new shipment on every call:idempotentHint: false, and accept a client-supplied key if retries matter.
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false }
Verify
Re-run the command with no null values, then re-scan.
Which clients care
ChatGPT and general, 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.