Skip to main content
Glama

Stabledrop escrow payments

Verify Escrow Receipt

verify_escrow_receipt
Read-onlyIdempotent

Check a receipt's signature against the key its issuer publishes.

⚠️ THE KEY IS FETCHED FROM THE RECEIPT'S OWN iss, NOT FROM WHOEVER HANDED IT OVER. Otherwise anything that can serve a receipt can also serve the key that vouches for it, and the signature stops meaning anything.

Use this on receipts from anywhere, including ones this server did not produce.

Input Schema

NameRequiredDescriptionDefault
payment_receiptYesThe receipt as a compact JWS string (header.payload.signature), e.g. the `payment_receipt` settle_escrow_payment returned, or one from anywhere else.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / payment_receipt / description
      Added value: +"The receipt as a compact JWS string (header.payload.signature), e.g. the `payment_receipt` settle_escrow_payment returned, or one from anywhere else."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the trust model: the verification key is fetched from the receipt's own `iss` claim, with a rationale for why. This explains the network behavior behind openWorldHint. It does not say what happens when the issuer is unreachable or the signature fails, though an output schema exists.

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?

Front-loaded with the core action, followed by a short security caveat and a usage note. The all-caps, emoji-prefixed warning is slightly heavy formatting for the amount of information conveyed, but every sentence carries real content.

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 one-parameter read-only tool with an output schema, the description covers what an agent needs: input format via the schema, the trust/network behavior, and the intended scope of receipts. Failure semantics are left to the output schema.

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 100% and the single parameter is fully described as a compact JWS string with examples. The description adds only indirect meaning (the issuer is read from the token itself, so no key parameter is needed). Baseline 3 applies.

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 ('Check a receipt's signature against the key its issuer publishes'), which is unambiguous and clearly distinct from the escrow payment siblings that create or settle receipts.

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?

'Use this on receipts from anywhere, including ones this server did not produce' gives a clear inclusion criterion and implicitly contrasts with receipts this server generated. It stops short of naming a sibling or stating when-not-to-use (e.g. versus check_escrow_payment).

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