Skip to main content
Glama

Consistency proof between two heads

get_consistency_proof

Proof that the tree at size first is a prefix of the tree at size second (or now): the log never rewrote history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firstYesA tree size you hold a head for.
secondNoOptional: a later tree size.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose meaningful behavior — the prefix property being proven and the default of comparing against 'now' — but says nothing about read-only nature, permissions, rate limits, or what the returned proof looks like. Useful but incomplete for an unannotated tool.

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?

A single front-loaded sentence defining the proven relation, with the parenthetical default for `second` tucked in efficiently. No filler, though the sentence is dense enough that it sacrifices some clarity for brevity.

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?

There is no output schema, so explaining what is returned falls to the description, and it does not cover the shape of the proof object or how to verify it against the two heads. For a cryptographic verification tool among six siblings, the definition is minimally adequate but leaves real gaps.

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 both `first` and `second`; baseline is 3. The description adds only a marginal detail, that `second` can mean 'now', which is not stated in the schema text but is small added value.

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?

The description states a specific cryptographic property: that the tree at size `first` is a prefix of the tree at size `second`, i.e. the log never rewrote history. That is much more informative than a restatement of the name. It does not explicitly distinguish itself from the nearby `get_inclusion_proof` sibling, so it stops 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?

Usage is only implied: an agent can infer this is for auditing a log for rewrite/tamper evidence, and the '(or now)' clause hints that omitting `second` checks against the current head. There is no explicit when-to-use, when-not-to-use, or routing to alternatives such as `get_inclusion_proof` or `get_checkpoint`.

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