Skip to main content
Glama

Verify a receipt

verify_receipt

Verify an ActionProof receipt offline to confirm its signature and identify the signing agent. Optionally validate that supplied parameters or results match the receipt's hashes.

Instructions

Verify a signed ActionProof receipt offline. Returns whether the signature is valid and which agent did:key signed it. Optionally re-check that supplied params/result match the hashes in the receipt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expect_paramsNoIf provided, verify these params match the receipt's params_hash.
expect_resultNoIf provided, verify this result matches the receipt's result_hash.
signed_receiptYesThe SignedReceipt JSON (as produced by attest_action).
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that verification is offline, returns signature validity and signing agent, and optionally checks params/result against hashes. It does not mention error handling or edge cases, but main behavioral traits are clear.

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?

Description is two concise sentences. First sentence states core purpose and mode (offline), second explains outputs and optional feature. No redundant information.

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?

Tool is simple but lacks output schema. Description explains return of validity and agent key, but does not specify return format or error responses. Context about optional checks is provided, but completeness is moderate given no output schema.

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

Parameters4/5

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

Input schema has 100% coverage with descriptions for all parameters. The description adds context that optional parameters allow re-checking against receipt hashes, which enhances understanding beyond the schema alone.

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?

Description clearly states the tool verifies a signed ActionProof receipt offline, returning signature validity and signing agent. Title and description align, and it is distinguishable from sibling tools attest_action (which produces receipts) and get_identity (which gets identity).

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?

Description implies usage by stating it verifies receipts offline, but it does not explicitly state when to use this tool versus alternatives or provide any prerequisites or exclusions. Sibling tool names are provided but no guidance on when to choose verify_receipt.

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/Burakfenerci5/actionproof'

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