Skip to main content
Glama

Agent Rest Stop

ReceiptAudit

x402 receipt check. Confirms a receipt has a network and an amount. Does not settle it again.

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": {
      "payment_response": "<payment_response>"
    },
    "name": "ReceiptAudit"
  }
}

Input Schema

NameRequiredDescriptionDefault
payment_responseYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose the most important behavioral fact: this is a non-mutating check that will not re-settle the payment. Beyond that it says nothing about what happens on a failure (exception vs. false result), whether verification is cryptographic or structural, or what the response shape looks like.

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?

Three short sentences, front-loaded with the domain (x402) and the action, with no filler. The only mild redundancy is repeating "receipt" across sentences, which is harmless.

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 validator with no output schema and no annotations, the description should state what a successful versus failed audit yields, since that determines how an agent branches. It covers the input intent and non-settlement guarantee but leaves the return contract entirely unstated.

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?

There is one parameter, payment_response, with 0% schema description coverage, so the description must compensate. It implies the input is the receipt/payment response that contains a network and an amount, which helps, but it never states the expected encoding or format of that string (raw header value, JSON, base64 blob?).

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 verb ("check") and resource ("x402 receipt") and states exactly what is validated: presence of a network and an amount. It also implicitly separates itself from a settlement tool via "Does not settle it again," though it never names the sibling it differs 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?

The clause "Does not settle it again" gives one useful boundary condition — use this to verify, not to settle — which is a real when-not signal. However, no positive guidance on when to call it versus ReceiptArchive or other receipt-related siblings is given, leaving alternatives to inference.

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