Skip to main content
Glama

Verify the Quantum Ledger

qledger_verify_chain
Read-only

Verify the whole Quantum Ledger: SHA3-512 block hashes, hash links, both signatures on every block, and for recent blocks the log roots, entry roots and RFC 9162 consistency proofs. Free; anyone can run it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "qledger_verify_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
deep_lastNoRe-derive log roots and consistency proofs for this many most recent blocks

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds valuable behavioral detail by listing exactly what is verified, including expensive deep checks for recent blocks, and notes there is no cost or authorization barrier.

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 compact sentences, front-loaded with the main action and scope. The enumeration of checks is dense but useful, and the closing 'Free; anyone can run it' adds access context without wordiness.

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?

For a read-only verification tool with one optional, fully described parameter and no output schema, the description gives enough context to invoke it correctly. It does not state the return format or failure behavior, but the core verification scope and access model are covered.

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 the deep_last parameter is already documented as controlling re-derivation for recent blocks. The description's phrase 'for recent blocks' reinforces that behavior but does not add syntax, limits, or meaning beyond the schema and parameter description.

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 states a specific verb and resource: verify the whole Quantum Ledger, and enumerates the exact checks performed (SHA3-512 hashes, hash links, both signatures, log roots, entry roots, RFC 9162 proofs). The word 'whole' distinguishes it from sibling tools like qledger_block, qledger_entry_proof, and qledger_status.

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?

The 'whole Quantum Ledger' scope makes clear this is for full-chain verification rather than block or entry-level checks. 'Free; anyone can run it' gives useful access context, but the description does not explicitly name when to prefer siblings such as qledger_block or qledger_status.

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