Skip to main content
Glama

Compute Ledger

Verify chain

verify_chain
Read-onlyIdempotent

Verify the tamper-evident hash chain of an agent's ledger.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_id": "<agent_id>"
    },
    "name": "verify_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesId of the agent whose compute or inventory is recorded or read.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Id of the agent whose compute or inventory is recorded or read."
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered. The description adds only the notion that the chain is tamper-evident, without saying what a failed verification looks like, whether it walks the whole ledger, or how cost scales with chain length.

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 with no filler or redundancy. It is efficient, though the terseness leaves room that could have been spent on routing guidance.

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?

The tool is simple (one parameter), an output schema exists, and annotations cover the behavioral contract, so the description is close to sufficient. The remaining gap is disambiguation from verify_inventory_chain, which a reader cannot resolve from this definition.

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 100% and there is a single required agent_id whose schema description already explains it, so the description is not obligated to document it. It adds no meaning beyond the schema, which is the baseline expectation here.

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?

Names a specific verb ("Verify") and a specific resource ("the tamper-evident hash chain of an agent's ledger"), which is more precise than a bare restatement of the title. It does not, however, distinguish itself from the close sibling verify_inventory_chain, which by name alone appears to verify a comparable chain for a different scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance, no preconditions, and no mention of alternatives such as verify_inventory_chain or verify_attestation. The agent must infer from the name alone which verification tool applies to a given situation.

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.