Skip to main content
Glama

Recover a submission receipt without submitting again

recover_submission
Read-only

Retrieve a durable receipt for a prior submission using its original idempotency key and the same API key or OAuth client, so you can recover results after a lost or failed response.

Instructions

Find a durable receipt by the original idempotency key using the same API key or OAuth client. OAuth submissions must have used recoveryScope=connection.

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": {
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "recover_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
idempotencyKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the description is not obligated to restate safety. It adds real behavioral context beyond them: the credential-identity constraint (same API key or OAuth client) and the recoveryScope=connection precondition, both of which materially change whether a call can succeed.

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?

Two sentences, no filler. The core action and lookup key come first, with the OAuth caveat trailing as a qualification rather than blocking the main point.

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

Completeness3/5

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

For a single-parameter read tool with annotations and no output schema, most of what an agent needs is present. Gaps remain: what the 'durable receipt' actually returns, how long receipts persist, and what happens when no receipt exists (error vs. empty result) are all unaddressed.

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?

Schema coverage is 0%, so the description must carry the meaning of idempotencyKey, and it does: it must be the original key from the earlier submission and must be paired with the same client credentials. It does not describe the key's format or character constraints, but those are in the schema (8-128 chars).

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 uses a specific verb and resource ('Find a durable receipt by the original idempotency key') and makes clear this is a lookup, not a resubmission. It is distinct from any sibling in the list, though it never explicitly contrasts itself with the submission path it is recovering from.

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 states the prerequisite conditions for use: the same API key or OAuth client must be presented, and OAuth submissions must have used recoveryScope=connection. That implies 'use this after losing a response', but there is no explicit when-to-use statement or named alternative (e.g., resubmitting), so the agent must infer the trigger scenario.

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