Skip to main content
Glama

attest_delivery

Verifies a paid third-party service delivery by checking the response content, schema conformance, and payment binding. Returns a signed, offline-verifiable receipt with a delivery verdict to guide next actions.

Instructions

PURPOSE: Neutral delivery verification for agentic commerce. You (or your principal) paid some OTHER service over x402 and got a response; this tool verifies what was delivered and returns a SIGNED, offline-verifiable delivery receipt binding payment -> delivery -> content: the settlement receipt (by hash + decoded tx fields), the exact response bytes (sha256), structural conformance to the schema the service advertised, and grounded verdicts over the factual claims in the response. Returns delivery_verdict (consistent | degraded | inconsistent | unverifiable) with a rationale. GUIDELINES: call AFTER a paid third-party call whose output you will act on or account for. Branch on delivery_verdict: consistent -> proceed; degraded -> use with caution, flag the refuted claims; inconsistent -> do not rely on the delivery, keep the receipt as dispute evidence; unverifiable -> nothing contradicted but nothing confirmed. Save the full response JSON — it is a self-contained dispute artifact verifiable offline months later (GET /attest/pubkey on the engine documents how). PARAMETERS: service = URL/name of the paid service; responseText = the delivered payload verbatim; requestText (optional) = what was asked; paymentReceipt (optional) = the X-PAYMENT-RESPONSE value from the paid call; advertisedSchema (optional) = the JSON schema the service advertised; maxClaims 1-20 (default 8). LIMITATIONS: judges CONSISTENCY (as-advertised, not contradicted), never service quality. Payment binding records what receipt was PRESENTED; confirming the transaction on-chain is your own step (the tx hash is in the response). Schema conformance is structural. Content checking has the same source-coverage limits as verify_claim. Paid per call on the hosted engine (x402). EXAMPLE: attest_delivery({service:'https://api.vendor.xyz/enrich', responseText:'{"name": "APPLE INC"}', paymentReceipt:'', advertisedSchema:{type:'object', required:['name']}}) -> {delivery_verdict: 'consistent', payment: {bound: true, transaction: '0x…'}, attestation: {…}}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serviceYesURL (or name) of the paid service whose delivery is being verified.
maxClaimsNoMax claims in the delivered content to ground (1-20).
requestTextNoWhat was asked of the service (optional; bound by hash when given).
responseTextYesThe delivered payload, verbatim (JSON or prose).
paymentReceiptNox402 settlement receipt from the paid call (X-PAYMENT-RESPONSE / PAYMENT-RESPONSE value, base64 or raw JSON).
advertisedSchemaNoJSON schema the service advertised for its output (from its 402 offer or Bazaar listing).
Behavior5/5

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

With no annotations provided, the description fully discloses behavioral traits: it judges only consistency (not service quality), records payment receipt but requires separate on-chain confirmation, and notes that schema conformance is structural. It also mentions the paid nature of the hosted engine and links to documentation for verification.

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?

The description is well-structured with labeled sections (PURPOSE, GUIDELINES, PARAMETERS, LIMITATIONS, EXAMPLE) and front-loaded key points. Though slightly long, every sentence adds value and there is no redundancy.

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

Completeness5/5

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

Despite lacking an output schema, the description thoroughly explains the return types (delivery_verdict, payment binding, attestation) and notes that the full response is a self-contained dispute artifact. It also provides example output and mentions the need to save it, ensuring completeness for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, but the description goes beyond by explaining each parameter's role in context (e.g., responseText is 'the delivered payload verbatim', paymentReceipt is 'X-PAYMENT-RESPONSE value'). An example call further clarifies how to use the parameters together.

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?

The description clearly states the tool's purpose as 'Neutral delivery verification for agentic commerce.' It specifies that it verifies delivered content and returns a signed receipt binding payment to delivery to content. This distinguishes it from siblings like verify_claim, as it focuses on delivery integrity rather than fact-checking.

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

Usage Guidelines5/5

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

The description gives explicit usage instructions: 'call AFTER a paid third-party call whose output you will act on or account for.' It provides branching logic based on delivery_verdict (consistent -> proceed, degraded -> caution, inconsistent -> do not rely, unverifiable -> no contradiction). It also advises saving the receipt for dispute evidence.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/beepboop2025/groundcheck'

If you have feedback or need assistance with the MCP directory API, please join our Discord server