Skip to main content
Glama

Verify a receipt

verify_receipt
Read-only

Verify a pagenull receipt's Ed25519 signature against pagenull's published key, and confirm a file matches the receipt by path, base64, or SHA-256, without uploading it.

Instructions

Check a pagenull receipt's Ed25519 signature with pagenull's published key, and optionally that a file is the exact output it describes. Give the file as file_path, pdf_base64 or its sha256. The file never leaves this machine.

Input Schema

NameRequiredDescriptionDefault
sha256NoThe file's SHA-256 (hex), if you already have it.
receiptYesThe pagenull-receipt value (v1.…).
file_pathNoA file on this machine to check against the receipt.
pdf_base64NoThe file as base64, if it isn't on disk.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond readOnlyHint, the description discloses Ed25519 signature checking with the publisher's key, optional exact-output file verification, and that the file never leaves the machine. It does not describe what the tool returns or how invalid signatures are reported, but the key behavioral traits are covered.

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?

The description is two tight sentences, front-loads the core verification action, and includes only useful details about file inputs and privacy. No wording is wasted.

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?

It covers inputs and privacy well, but with no output schema and no explanation of return values or failure modes, an agent lacks the full picture of what verification results look like. For a cryptographic verification tool, the description should say more about outcomes.

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?

Schema coverage is 100%, so the schema already names and documents all four parameters. The description adds useful semantics by clarifying that the file may be provided as file_path, pdf_base64, or sha256, and reinforces the local-only processing constraint.

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 uses a specific verb and resource: check a receipt's Ed25519 signature, optionally verifying that a file matches the output it describes. This clearly distinguishes verify_receipt from sibling tools like render_pdf and list_templates.

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?

It explains the optional file-checking use case and lists the three accepted ways to supply the file: file_path, pdf_base64, or sha256. It does not explicitly name when not to use it or compare it with siblings, but the verification context is clear.

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