Skip to main content
Glama

verify_offer

Verify an x402 signed offer (EIP-712 or JWS): signature, expiry, match to accepts[], and signer-authorization evidence (payTo, did:web, DNS _controllers, ERC-8004). Free.

Input Schema

NameRequiredDescriptionDefault
offerYesThe offer object: {format, payload?, signature, acceptIndex?}
acceptsNoOptional accepts[] from the live 402 to match against
resource_urlNo
trusted_pay_toNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 disclose that this is a non-mutating verification covering signature, expiry, accepts[] matching, and several signer-authorization mechanisms, plus that it is free. It does not say what a failure looks like, whether it is purely offline or does network/DNS lookups, or how results are reported.

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?

A single front-loaded sentence leading with the verb and resource, then listing checks in a compact clause. No filler; the 'Free' note is short and materially useful for an agent deciding whether to call.

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

Completeness4/5

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

For a verification tool with no output schema, the description conveys what is validated, which is the key unknown. Remaining gaps are the semantics of resource_url/trusted_pay_to and any indication of result shape or error signaling, which keep it short of complete.

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 50%: 'offer' and 'accepts' are described in the schema and the description reinforces their roles ('match to accepts[]'). The two undocumented parameters, resource_url and trusted_pay_to, are not explained in the description either, so the coverage gap is not compensated.

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?

States a specific verb and resource ('Verify an x402 signed offer') and enumerates exactly what is checked: signature, expiry, accepts[] matching, and signer-authorization evidence. It differentiates in substance from verify_payment_required and verify_receipt by naming the offer-level artifacts, though it never names a sibling explicitly.

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?

Usage is implied (verify an offer, presumably before trusting it) and 'Free' hints at when cost matters, but there is no explicit statement of when to use this versus verify_payment_required, verify_receipt, or preflight_x402_endpoint. The agent must infer the routing from the resource name alone.

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.