Skip to main content
Glama

Verify chain

verify_chain
Read-onlyIdempotent

Verify the tamper-evident event hash chain for a meter.

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": {
      "meter_id": "<meter_id>"
    },
    "name": "verify_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
meter_idYesThe meter id returned by create_meter.

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 / meter_id / description
      Added value: +"The meter id returned by create_meter."
  3. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds useful framing that this validates a tamper-evident hash chain rather than just counting events, but says nothing about failure semantics (what a broken chain means), scope (how far back the chain is checked), or cost for long chains.

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?

One sentence, no filler, and the core object (tamper-evident event hash chain) is front-loaded immediately after the verb. Nothing redundant is present.

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 required param), annotations cover safety semantics, and an output schema exists so return values need not be described. However, for a verification tool the description omits what a failure result implies and how much history is checked, which are the main remaining questions an agent would have.

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?

There is a single parameter with 100% schema description coverage ('The meter id returned by create_meter'), so the schema already carries the meaning. The description adds nothing about the parameter, which is the expected baseline-3 outcome when the schema does the work.

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 a specific resource (the tamper-evident event hash chain for a meter), which clearly separates it from data-listing siblings like list_events or usage_summary. It stops short of explicitly naming or contrasting with any sibling, which keeps it from 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 Guidelines2/5

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

There is no explicit when-to-use guidance: nothing says whether this should be run after record_usage, periodically, before close_period, or only on suspected tampering, and no alternatives or prerequisites are mentioned. Only a weak implication of usage (integrity checking) can be inferred from the word 'verify'.

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.