Skip to main content
Glama
BrightbeamAI

@brightbeamai/chap-coordinator-mcp

Official

Verify audit chain

chap.audit.verify_chain
Read-onlyIdempotent

Replay a workspace's prev-hash chain to verify audit-log integrity; only verified means checked and intact, while not_evaluated or error flags unchecked or broken logs.

Instructions

Replay a workspace's prev-hash chain. Only status verified with ok true means the log was checked and is intact. Status not_evaluated with ok false means part of the log was never checked, so its integrity is unknown and must not be reported as verified; entries_unchecked says how much. An error means the chain is broken or absent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNoParticipant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'.
workspaceYesWorkspace identifier, e.g. 'wsp_techcorp_support'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.13

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive. The description adds substantial context beyond them: it enumerates the verified/not_evaluated/error outcomes and warns that not_evaluated must not be reported as verified. This is the key behavioral information an agent needs to interpret results, and it is absent from annotations.

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?

Three tight sentences, front-loaded with the core action, then the result-interpretation rules. Every sentence earns its place with no 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?

There is no output schema, so the description correctly takes on the burden of explaining return semantics, and it does so with the status/ok/entries_unchecked mapping. The only shortfall is the absence of routing guidance relative to sibling audit tools.

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 description coverage is 100% and both parameters are documented with examples in the schema. The description adds no additional meaning about the 'from' participant URI or 'workspace' identifier, so the baseline 3 applies.

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+resource combination: 'Replay a workspace's prev-hash chain.' An agent can tell this is a chain-integrity verification operation. It does not explicitly distinguish itself from the close sibling chap.audit.verify_receipt, which is the only gap.

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 (use this to verify chain integrity) and the description gives strong interpretive guidance for results, but it never states when to choose this over chap.audit.verify_receipt or chap.audit.read, nor any explicit exclusions or prerequisites.

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