Skip to main content
Glama

verify_audit_integrity

Read-only

Verify HMAC signatures across safety audit log entries to detect tampering, returning valid, invalid, and total counts plus overall integrity status.

Instructions

Verify HMAC signatures on all safety audit log entries.

Checks each audit log row against its stored HMAC signature to detect tampering. Returns counts of valid, invalid, and total entries along with an overall integrity status.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds real behavioral value beyond them: it explains the per-row check against stored HMACs and states exactly what comes back (valid/invalid/total counts plus an overall integrity status). It stops short of saying what an invalid result means operationally or whether verification is bounded/paginated on large logs.

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 core action and followed by mechanism and return shape in two short sentences. The first two sentences overlap somewhat ('verify HMAC signatures on all entries' vs 'checks each row against its stored HMAC'), so a word or two could be trimmed, but nothing is materially wasted.

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 parameters and no output schema, the description carries the burden of describing results and does so (counts plus overall status), which is the key missing piece an agent would otherwise lack. What remains unexplained is scope/cost on very large audit logs and the semantic meaning of a failing overall status.

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 no parameters, so there is nothing for the description to disambiguate. Baseline for a zero-parameter tool is 4, and nothing here misleads about inputs.

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 states a specific verb and resource (verify HMAC signatures on safety audit log entries) and specifies the mechanism (per-row comparison against stored signatures). It is clear on its own, but it does not differentiate itself from adjacent siblings such as safety_audit, export_audit_log, or verify_provenance_integrity, which an agent must disambiguate on its own.

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 stated goal ('detect tampering') implies the usage context, but there is no explicit when-to-use, when-not-to-use, or named alternative (e.g., use safety_audit to read entries, this tool to validate them). The agent can infer intent but must guess the boundary against sibling verification and audit tools.

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