Skip to main content
Glama

ao_audit_verify

Verifies a tamper-evident audit log by checking hash chains, Merkle checkpoints, signatures, and note drift to detect edits, deletions, reorders, insertions, and truncation.

Instructions

Verify the tamper-evident audit log: hash chain, Merkle checkpoints, head, signatures (with key_path) and note drift. Detects edits, deletions, reorders, insertions and truncation.

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

Input Schema

NameRequiredDescriptionDefault
key_pathNoPublic/HMAC key file
principalNoUser/agent id to act as (ACL + audit actor); ignored if the server pins $OMPA_PRINCIPAL
vault_pathNo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does well on scope, disclosing exactly which tamper classes are detected (edits, deletions, reorders, insertions, truncation) and that signatures require key_path, but it never states whether the tool is read-only, what it returns, or whether a failed verification produces an error versus a report.

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?

Two sentences with no filler; the core action and the verified components are front-loaded, and the second sentence efficiently lists the failure modes. Every clause carries information.

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?

For a three-parameter verification tool with no output schema and no annotations, the description should say enough about the result shape (a pass/fail report? an error?) to let an agent act on the outcome. That is missing, as is any note on what principal/vault_path change about the verification.

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 67%, and the description adds real meaning for one parameter by tying key_path specifically to signature verification. It says nothing about principal (ACL/audit actor) or vault_path (which has no schema description at all), so it only partially compensates for the coverage gap.

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?

The description pairs a specific verb ("Verify") with a specific resource ("the tamper-evident audit log") and enumerates the checks performed (hash chain, Merkle checkpoints, head, signatures, drift). It is clearly distinguishable from export/head/validate siblings by emphasizing integrity verification, though it never names an alternative to contrast with.

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 only implied: an agent can infer this is the integrity-checking tool and that key_path is needed to check signatures. There is no explicit statement of when to run it (after import/sync, on a schedule) or when another tool such as ao_audit_head or ao_validate is the better choice.

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