Skip to main content
Glama

verify_chain

Verify an agent's history is untouched by rechecking every event checksum and hash-chain link; use the returned chain head as integrity proof.

Instructions

Prove an agent's history is untouched.

Rechecks every event's checksum and its link in the agent's hash chain.
"intact": true means no event was edited, removed or reordered (GDPR
deletions show up as tombstones, not breaks). Keep "chain_head" as proof
of the history at this moment.

Args:
    agent: The agent whose history to check

Returns:
    intact, a summary, any problems found, and chain_head

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

Input Schema

NameRequiredDescriptionDefault
agentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it explains the verification mechanism (checksum plus link), the precise meaning of intact, and an important edge case (GDPR deletions appear as tombstones rather than breaks). It doesn't explicitly confirm the call is read-only or describe cost/behavior on very long histories.

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?

Front-loaded with the value proposition, then mechanism, then output semantics. The Args/Returns block repeats chain_head, which was already explained, costing a little redundancy.

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?

No output schema exists, and the description does enumerate the return fields (intact, summary, problems, chain_head), so an agent knows what it gets. Missing only error/failure behavior (e.g., unknown agent) and explicit read-only confirmation.

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 0% for the single agent parameter, and the description adds only 'the agent whose history to check' — a modest gloss beyond the schema's bare 'Agent' string. No format, ID shape, or behavior for an unknown agent is given.

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?

States a specific verb and resource — proving an agent's history is untouched by rechecking every event's checksum and hash-chain link. An agent can immediately tell this apart from siblings like query_events, log_event, or reset_log_chain.

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 implied — verify integrity before trusting history — and it hints to keep chain_head as proof of the moment. But it never says when to prefer it over query_events or memory_diff, nor any preconditions such as the agent existing or chain needing to be non-reset.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.