Skip to main content
Glama

Verify audit

verify_audit
Read-onlyIdempotent

Recompute the audit digest from a presented lineage (never trusts the embedded hash) and report whether it matches a job this hive ran.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "audit_json": "<audit_json>"
    },
    "name": "verify_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
audit_jsonYesThe lineage from audit_job, as a JSON string, unchanged.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changed
    • addedInput schema / properties / audit_json / description
      Added value: +"The lineage from audit_job, as a JSON string, unchanged."
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine behavior beyond that: the digest is recomputed rather than trusted from the embedded hash, and matching is scoped to jobs this hive ran, which caps the tool's authority in a way annotations do not express.

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?

One sentence, front-loaded with the action, with the key trust caveat parenthesized inline. Nothing is redundant and every clause carries information.

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?

An output schema exists, so return-value detail is unnecessary, and the single parameter is fully documented. The description covers the verification semantics and the hive-scoping limit; only failure/mismatch reporting behavior is left unstated, which is a minor gap.

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% with a single required audit_json parameter already documented as the unchanged lineage from audit_job, so baseline is 3. The description reinforces that the lineage is 'presented' and its embedded hash untrusted, but adds no syntax or format detail beyond the schema.

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: recompute the audit digest from a presented lineage and report whether it matches a job this hive ran. It is clearly a verification operation distinct from audit_job's production role, though it does not name audit_job explicitly as the counterpart (that link lives only in the schema's parameter description).

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: call this when you have a lineage and want to validate it. There is no explicit statement of when not to use it, no prerequisites, and no named alternative, so the agent must infer the fit from context.

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.