Skip to main content
Glama

Verify audit log chain

verify_audit_log_chain
Read-onlyIdempotent

Check that audit log entries have not been changed or removed. Verifies up to maxLogs entries (1000 by default, 10000 at most) from startSequence to endSequence. When entries remain, valid is false, hasMore is true, and nextSequence is the startSequence for the next call. Needs a workspace owner or admin on an Enterprise plan.

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_audit_log_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxLogsNoMost entries to check, up to 10,000.
endSequenceNoLast sequence number to check.
startSequenceNoFirst sequence number to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent and non-destructive, but the description adds real value beyond them: an Enterprise plan/owner-admin auth gate, batch ceilings (1000 default, 10000 max), and the meanings of valid/hasMore/nextSequence. The line 'When entries remain, valid is false' is ambiguously worded and could be misread as detecting tampering rather than simply flagging an unverified tail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose, then constraints, then pagination semantics and prerequisites in four dense sentences with no filler. The pagination sentence is the longest and most convoluted, slightly weakening otherwise tight structure.

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?

With no output schema, the description carries the burden of explaining return values and does so for valid, hasMore and nextSequence, alongside auth and batch limits. It leaves the exact meaning of a final valid=false versus a truncated page underspecified, which matters for a verification tool an agent will report on.

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 100%, so all three parameters are already documented, which sets the baseline at 3. The description does add a 1000 default for maxLogs that is absent from the schema, plus the nextSequence continuation idea, but it does not clarify how startSequence/endSequence default when omitted (none are required).

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 and resource ('Check that audit log entries have not been changed or removed') and pins scope to a sequence range. It is clearly distinguishable from data-retrieval siblings such as export_audit_logs or get_audit_log_stats, which would just read logs rather than verify integrity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit prerequisite ('workspace owner or admin on an Enterprise plan') and explains the iterative usage pattern: call, then re-call with nextSequence while hasMore is true. It does not explicitly name a sibling alternative or say when not to use it, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources