Skip to main content
Glama
forestrie

forestrie-verify

Official
by forestrie

Verify a grant receipt

verify_grant_receipt
Read-onlyIdempotent

Verify a Forestrie grant receipt against the committed grant at a chosen trust rung to confirm the leaf is the grant, answering the append-authority question.

Instructions

Verify a Forestrie grant receipt against the committed grant (Forestrie-Grant COSE Sign1, or raw grant payload CBOR plus an entry id), at a trust rung you choose. Mirrors forestrie verify-grant. This is the tool that answers the append-authority question: the leaf IS the grant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trustYesWhich anchor you are willing to trust (plan-2609-02 D2/D3)
entryIdNorequired when committedGrant is a raw payload
receiptYesthe COSE receipt
committedGrantYesForestrie-Grant COSE Sign1, or raw grant payload CBOR

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.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds conceptual context (trust is chosen, leaf-is-grant) but no operational traits like auth needs, rate limits, or failure behavior beyond what the rich schema already conveys.

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?

Three sentences, front-loaded with the core action and followed by the distinguishing question. Efficient, with no filler, though the parenthetical enumeration of formats is somewhat dense.

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?

With a fully documented schema, an output schema covering returns, and rich annotations, the description only needs to establish purpose and the trust model, which it does. Minor gap: no explicit routing against the two sibling verify/decode tools.

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%, so the schema already documents all four parameters including the trust rungs and the entryId/committedGrant relationship. The description restates the raw-payload-plus-entry-id case but adds no syntax or format detail beyond the schema, so 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 and resource ('Verify a Forestrie grant receipt against the committed grant') and frames its unique role as 'the tool that answers the append-authority question: the leaf IS the grant.' This differentiates it conceptually from generic verify_receipt/decode_receipt, though it never names those siblings to route the agent explicitly.

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?

Gives implied usage ('at a trust rung you choose', 'mirrors forestrie verify-grant') and clarifies the append-authority context, but offers no explicit when-to-use/when-not guidance or named alternatives among verify_receipt and decode_receipt.

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