Skip to main content
Glama

verify_event_chain

Read-onlyIdempotent

Verify a workspace's retained event-log hash chain, returning an intact-chain report and failing closed if events were spliced or rewritten.

Instructions

Verify the retained event-log hash chain for a workspace. Returns the chain report when intact; fails closed on a splice or rewrite. Twin of GET /workspaces/{id}/events/verify. Requires workspace:read.

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": "verify_event_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idNodefaults to the caller's workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, yet the description adds genuinely new behavior: success returns a chain report, and it 'fails closed on a splice or rewrite', plus a required scope. It does not describe the report's contents or timing, which keeps it from a 5.

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?

Four compact sentences, front-loaded with the action and its outcome, then the REST twin and the scope requirement. No filler or redundant restatement of the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-optional-param read tool with full annotation coverage and no output schema, the definition covers action, success behavior, failure mode (fails closed), and auth scope. Typical name and consistency semantics are covered by idempotent/readOnly hints, so nothing essential is missing.

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?

One optional parameter with 100% schema description coverage ('defaults to the caller's workspace'), so the schema already carries the meaning. The description's 'for a workspace' hints at scoping but adds no format or default nuance beyond the schema.

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 and resource: 'Verify the retained event-log hash chain for a workspace.' That resource phrasing (event-log hash chain) naturally separates it from the export-oriented sibling, though the description never names or contrasts any alternative explicitly.

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 by the verb and by the stated prerequisite 'Requires workspace:read', but there is no explicit when-to-use, when-not-to-use, or alternative routing (e.g., versus verify_workspace_export). The REST twin reference is an implementation mapping, not usage guidance.

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

Deploy Server

Other Tools