Skip to main content
Glama

Grafizum Command Center

Check a write by its key

check_write
Read-onlyIdempotent

Ask whether a write that may have died mid-flight (a timeout, an AbortError, a closed client) actually applied: pass the idempotency_key of the call you sent. Answers applied true with the tool, the operation and the tasks it touched, or applied false. Either way, retrying the SAME call with the SAME key is safe — the server replays the stored result instead of applying it twice — so a check is only needed to know before retrying. Example: {"idempotency_key":"a1b2c3d4-task-create"}

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "idempotency_key": "<idempotency_key>"
    },
    "name": "check_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
idempotency_keyYesThe idempotency_key you passed to the write.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only, idempotent and non-destructive, but the description adds real behavior: the return shape (applied true with the tool, operation and tasks touched, or applied false) and the server's replay-instead-of-reapply semantics. That replay guarantee is context an agent cannot derive from the structured fields and directly changes whether it should call this at all.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core question, then the semantics, then the safety rule, then an example — logical and nearly waste-free. The sentences are long and clause-heavy, which costs a point on scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read with no output schema, the description supplies everything needed: purpose, the input's provenance, both possible answers with their payloads, and the retry safety model. Nothing required to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage the schema already defines the single parameter, so the baseline is 3. The description adds that the key must be the one from the originally sent call and provides a concrete example value ('a1b2c3d4-task-create'), which clarifies the expected key shape beyond the min/maxLength constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('ask whether a write ... actually applied') and names the exact input ('pass the idempotency_key of the call you sent'). The framing around a write that 'may have died mid-flight (a timeout, an AbortError, a closed client)' makes it unmistakable versus any sibling tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly bounds when the tool is needed: retrying the SAME call with the SAME key is safe because the server replays the stored result, so 'a check is only needed to know before retrying.' That is a genuine when-to-use plus a when-not-to-use rule, not an implied one.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.