Skip to main content
Glama

FMF Proof

Idempotency Replay Check

idempotency_check

Send your first request and your retry, each with the venue's response. Says whether the idempotency key did its job: replay_ok, refused_ok, or the unsafe cases by name (double_created, second_object_created, overwrote_first, and silent_replay_of_first, where a changed body got a 2xx but the first values came back). If the first attempt timed out and the two alone cannot settle it, it says so and is not charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "idempotency_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
firstNoThe first attempt: { key, body, response: { status, body } }. response may be null if it timed out.
retryNoThe retry: { key, body, response: { status, body } }.
id_pathNoWhere the object id sits in the response, e.g. "data.id" (auto-detected for common shapes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses output classifications, unsafe outcome names, the silent-replay condition, timeout handling, and a billing caveat ('not charged'), which is substantial behavioral context beyond the schema.

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

Conciseness5/5

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

The text is front-loaded: input pattern first, result semantics second, timeout edge case last. It is dense where needed and contains no filler, though the second sentence is long.

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?

With no output schema, the description supplies the return categories and timeout caveat. Given 100% schema coverage for inputs and no annotations, this is complete enough for correct invocation; id_path details are covered by the schema.

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

Parameters3/5

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

Schema coverage is 100% and the schema already documents first, retry, and id_path in detail. The description provides scenario context but does not add syntax or semantics beyond the schema, so the baseline 3 is appropriate.

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

Purpose4/5

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

The description names a specific verification task: taking a first request and retry and reporting whether the idempotency key behaved correctly. It enumerates result categories like replay_ok, refused_ok, and several unsafe outcomes, making the purpose unambiguous. It does not explicitly contrast itself with sibling tools, so 4 rather than 5.

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

Usage Guidelines3/5

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

It implies the scenario—after a first attempt and retry—and supplies the input pattern, but it does not name when to use this instead of alternatives or when not to use it. No explicit exclusions or alternative tools are mentioned; guidance is implied rather than stated.

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.

Resources