Skip to main content
Glama

verify_chain

Detect unauthorized modifications in audit trails by verifying SHA-256 hash chain integrity and identifying where records were altered.

Instructions

Verify the integrity of the audit trail hash chain. Each entry's SHA-256 hash includes the previous entry's hash — if any record was modified, the chain breaks and this will report where.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idNoVerify chain for a specific agent only. If omitted, verifies all entries.
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses the tool's read-only verification behavior and the consequence of chain breaks ('report where'), but lacks details on permissions, rate limits, error handling, or output format. The description adds some behavioral context but leaves gaps for a verification tool.

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 efficiently structured in two sentences: the first explains the verification mechanism and purpose, the second clarifies the outcome. Every sentence adds value with no redundant information, making it appropriately sized and front-loaded for quick understanding.

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?

Given no annotations and no output schema, the description provides adequate purpose and mechanism explanation but lacks completeness. It doesn't detail what 'report where' entails (e.g., output format, error messages), nor does it cover edge cases or system-level behavior, leaving gaps for a tool that performs integrity verification.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 the single parameter 'agent_id'. The description doesn't add parameter-specific details beyond what the schema provides, but with only one optional parameter, the baseline is appropriately high as the schema handles most of the documentation burden.

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 clearly states the tool's purpose with specific verbs ('verify integrity', 'report where') and identifies the resource ('audit trail hash chain'). It explains the technical mechanism (SHA-256 hash chaining) and distinguishes its verification function from sibling tools like 'query_actions' and 'record_action' which likely query or add entries rather than validate chain integrity.

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?

The description implies usage when integrity verification is needed ('if any record was modified'), but provides no explicit guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, dependencies, or compare with sibling tools, leaving the agent to infer context from the purpose alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JoeyBrar/agentseal-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server