Skip to main content
Glama

aegis_verify_audit_chain

Read-onlyIdempotent

Cryptographically verifies the SHA-256 hash chain of the Aegis-MCP audit ledger to detect tampering and returns validity status plus the first corrupted entry. Read-only; does not alter ledger state.

Instructions

Cryptographically verify the SHA-256 hash chain of the Aegis-MCP SQLite audit ledger across all v1 and full-payload v2 entries. Returns validity status, total entries, legacy v1 count, latest head hash, and the first tampered entry ID if corruption is detected. Read-only; does not alter ledger state.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive traits, so the bar is lower. The description adds real value by enumerating return fields (validity status, total entries, legacy v1 count, latest head hash, first tampered entry ID) and describing tamper detection, which is especially useful given there is no output schema.

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 dense sentences with zero waste; the core action and scope are front-loaded, followed by return details and a safety note. Every clause earns its place.

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 no-param, read-only verification tool without an output schema, the description covers what it checks, what it returns, and that it mutates nothing. Nothing an agent needs to call it correctly is missing.

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?

The tool takes zero parameters, so per the rubric this hits the baseline of 4. There are no parameters to explain, and the description does not need to add syntax details.

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 (verify) and resource (SHA-256 hash chain of the Aegis-MCP SQLite audit ledger) with exact scope ('across all v1 and full-payload v2 entries'). This distinguishes it clearly from the sibling tools, which handle policy status, call inspection, redaction, and manifest scanning.

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 purpose implies when to use it (integrity verification of the ledger), and the read-only nature makes it a safe call. However, it does not explicitly state when to call it versus alternatives nor any exclusions, so guidance is implied rather than stated.

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