Skip to main content
Glama
forestrie

forestrie-verify

Official
by forestrie

Verify a payload receipt

verify_receipt
Read-onlyIdempotent

Verify a Forestrie receipt offline against exact registered payload bytes and an entry ID at your chosen trust rung, returning mechanical stages and four trust answers.

Instructions

Verify a Forestrie receipt against the EXACT registered payload bytes and an entry id, at a trust rung you choose. Mirrors forestrie verify. Offline: no network, no key, no account. Returns both the mechanical stages and the four trust questions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trustYesWhich anchor you are willing to trust (plan-2609-02 D2/D3)
entryIdYes32 lowercase hex: idtimestamp_be8 || mmrIndex_be8
payloadYesthe EXACT registered payload bytes whose SHA-256 is the leaf ContentHash
receiptYesthe COSE receipt

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
rungYes
stageYes
anchorNo
reasonNo
stagesYesthe mechanical stages, exactly the reference CLI's contract
verifierYes
questionsYesthe four trust questions. 'not_answered_at_this_rung' is a real answer and must be shown to the user, never collapsed into a pass.
diagnosticsYesnamed notes about what the arithmetic could not separate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive and openWorldHint=false, so the safety profile is covered. The description still adds real context by spelling out 'no network, no key, no account' and by noting the return includes both mechanical stages and the four trust questions, though the return detail overlaps an existing output schema.

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?

Four short sentences, front-loaded with the core action and scope. The final sentence on return contents is the least essential given an output schema exists, which keeps it from a 5.

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?

For a four-parameter, fully-covered schema with an output schema present, the description supplies the operational context an agent needs (offline execution, CLI equivalence, trust model) without needing to re-document returns or parameters.

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 description coverage is 100% and each rung, entryId pattern, and payload/receipt shape is already documented in the schema. The description adds no parameter syntax or format detail beyond 'EXACT registered payload bytes', so the baseline 3 applies.

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 (verify) and resource (a Forestrie receipt) plus the exact inputs it binds against (registered payload bytes and an entry id). It never names its siblings verify_grant_receipt or decode_receipt, so the agent must infer the boundary, which keeps this just short of a 5.

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?

It conveys that the operation is offline and mirrors the `forestrie verify` CLI, which implies the context of use, but gives no explicit when-to-use versus verify_grant_receipt or decode_receipt, and no exclusions or prerequisites beyond 'trust rung you choose'.

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

Deploy Server

Other Tools