Skip to main content
Glama

Verify the hash chains

chain_attestation
Read-only

Verify the identity and treasury linear hash chains, optionally from saved row/hash witnesses. No auth needed. READ-ONLY: this call changes nothing and can be repeated safely.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNoLegacy shared starting row id
ledger_fromNo
identity_fromNo
ledger_expectNoExpected 64-hex ledger head at ledger_from
identity_expectNoExpected 64-hex identity head at identity_from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description reinforces repeatability, but it also adds genuinely new behavioral facts: no auth is required, and the operation can be repeated safely. It stops short of describing what a failed verification returns or how partial mismatches are reported.

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 short sentences, front-loaded with the verify target, then the optional witness mode, then the safety profile. No filler, though the READ-ONLY restatement is partly redundant with the annotations.

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?

For a five-parameter verification tool with no output schema, the description leaves real gaps: it never says what a successful or failed verification returns, and two integer-range parameters are undocumented. It covers the safety and auth profile adequately but not the result semantics.

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 only 60%: 'from', 'ledger_expect' and 'identity_expect' are documented, while 'ledger_from' and 'identity_from' carry no description in either the schema or the description. The description's mention of 'row/hash witnesses' loosely maps to the expect parameters but adds no format or precedence guidance (e.g., how legacy 'from' relates to 'ledger_from'/'identity_from').

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 two concrete resources (identity and treasury linear hash chains), which is far more informative than the bare name. It does not, however, distinguish itself from near-siblings like attestation, inclusion_proof, or checkpoint_consistency, so an agent still has to infer which verification tool applies.

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?

The phrase 'optionally from saved row/hash witnesses' implies a usage mode (resume verification from a prior witness checkpoint), but there is no explicit when-to-use, when-not, or named alternative. The agent must infer the workflow context.

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