Skip to main content
Glama

Plumb Data Exchange

check_x402_receipt

Free. Cross-check a seller's signed x402 offer + receipt (offer-and-receipt extension): verifies the signatures (official x402 functions; pin the seller with sellerAddress for EIP-712 or sellerJwk for JWS), checks offer and receipt agree, and returns the exact claim to prove with verify_payment. Pass that verification's checkId to learn which side failed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offerNo
checkIdNo
receiptYes
sellerJwkNo
sellerAddressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does add real context (free, uses official x402 signature functions, pins seller via EIP-712 or JWS, returns the exact claim). However it never says whether the tool persists state or writes a checkId record, nor what a failed verification looks like, which matters for a tool whose output feeds another call.

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?

Compact and front-loaded with the cost hint and purpose before the workflow detail; every clause carries information. The trailing parenthetical nesting and the ambiguous "Pass that verification's checkId" clause slightly hurt readability.

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 five-param tool with nested objects, no annotations, and no output schema, the description covers the verification logic and the handoff to verify_payment but omits the receipt/offer structure, optionality rules, and failure semantics. Adequate for orientation, incomplete for confident invocation.

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 0% across five params, so the description must compensate. It usefully explains sellerAddress vs sellerJwk (EIP-712 vs JWS pinning) and checkId, but says nothing about the shape of `offer` vs `receipt`, or that only `receipt` is required, leaving the two nested object params undocumented.

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: cross-check a seller's signed x402 offer + receipt, verify signatures, confirm offer and receipt agree, and return the claim. It also positions itself relative to verify_payment, so an agent can distinguish it from the verification siblings without opening a schema.

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

Usage Guidelines4/5

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

The leading "Free." signals cost, and the description lays out the intended workflow: call this first, then feed the returned `claim` into verify_payment, and use checkId to diagnose which side failed. It doesn't state when-not to use it (e.g., when you already have a claim or a checkId), so it falls short of a full 5.

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