Skip to main content
Glama

Transaction Recovery v2

transaction_recovery_v2
Read-onlyIdempotent

Recommend bounded recovery and reconcile ambiguous payments before retry.; 0.005 USDC. Deterministic, evidence-bounded and signed.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "failure": {
        "ambiguous_payment": false
      },
      "transaction": {
        "id": "tx-1",
        "settled": true,
        "delivered": false
      }
    },
    "name": "transaction_recovery_v2"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -true
    • removedInput schema / minProperties
      Removed value: -1
    • addedInput schema / required
      Added value: +[]
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "failure": {
      +      "ambiguous_payment": false
      +    },
      +    "transaction": {
      +      "delivered": false,
      +      "id": "tx-1",
      +      "settled": true
      +    }
      +  }
      +]
  3. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds genuinely new context — determinism, evidence-bounded behavior, signed output, and a 0.005 USDC cost — but leaves unclear what 'reconcile' actually does and what 'bounded' limits are.

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

Conciseness3/5

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

Only two sentences, but the punctuation is malformed ('retry.; 0.005 USDC.') and the price/determinism claims are tacked on as fragments rather than integrated. Front-loading is acceptable.

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?

An output schema exists, so return values need not be explained, and the cost is disclosed. What is missing is the sibling disambiguation and any statement of what inputs drive the recommendation, which matters given the rich example payload.

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?

Parameter count is 0 with full schema coverage, so the baseline is 4. The description correctly adds no parameter noise, though the example payload (transaction/settled/delivered/failure.ambiguous_payment) is never referenced in prose.

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

Purpose3/5

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

The description states a specific action (recommend bounded recovery, reconcile ambiguous payments before retry), so the agent knows roughly what happens. However, it never distinguishes itself from the sibling 'transaction_recovery' (v1) or from 'payment_diagnose'/'payment_receipt_reconciler', leaving the 'v2' delta unexplained.

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

Usage Guidelines2/5

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

'before retry' implies a temporal trigger, but there is no explicit when-to-use, when-not-to-use, or named alternative. With three closely related siblings, an agent has no basis for routing between them.

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