Skip to main content
Glama

Verify a signed audit export

gate_verify_audit_proof
Read-onlyIdempotent

Is this signed audit export intact? Returns intact or broken_at for a supplied signed export; use it to check a gate_export_audit_proof export rather than retrieve audit rows. Recomputes the chain and project signature; broken_at is a one-based row position. Does not approve actions or change permissions.

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": {
      "project_id": "<project_id>",
      "admin_key": "<admin_key>",
      "proof": "<proof>"
    },
    "name": "gate_verify_audit_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
proofYesThe full signed export from gate_export_audit_proof
admin_keyYesThe project admin key (ga_...). Read it from the .env; never print it.
project_idYesThe project id from project creation on the setup endpoint (/mcp/setup), e.g. p1a2b3...

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / project_id / description
      Previous value: -"The project id from gate_create_project, e.g. p1a2b3..."New value: +"The project id from project creation on the setup endpoint (/mcp/setup), e.g. p1a2b3..."
    • changedInput schema / properties / proof / description
      Previous value: -"The full signed export from gate_audit_proof"New value: +"The full signed export from gate_export_audit_proof"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description adds real mechanism: the chain and project signature are recomputed, and broken_at is a one-based row position. Since no output schema exists, disclosing the two possible result shapes is substantive added value, not repetition.

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?

The leading question front-loads the decision, and the following sentences carry the routing rule, mechanism, and result semantics with little waste. The opener and the second clause ("Returns intact or broken_at for a supplied signed export") restate the same intent, costing a small amount of redundancy.

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?

The tool takes a nested signed-export object and has no output schema, so the description must carry both the verification semantics and the return shape — and it does, including the meaning of broken_at. Auth handling is covered by the schema, and there is nothing further an agent needs to call this correctly.

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 description coverage is 100% and the schema already documents all three parameters, including reading admin_key from .env and never printing it. The description adds only indirect meaning — that the proof is "supplied" and that the project signature is recomputed, implying project_id is needed for verification — so the baseline of 3 applies.

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?

The description states a specific verb and resource — verifying a signed audit export's integrity — and names the exact output tokens (intact / broken_at). It explicitly distinguishes itself from the sibling gate_export_audit_proof and from row retrieval (gate_read_audit), so an agent can pick it without opening a schema.

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

Usage Guidelines5/5

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

"use it to check a gate_export_audit_proof export rather than retrieve audit rows" gives both the selecting condition and the named alternative. The closing clause "Does not approve actions or change permissions" rules out a plausible misselection against approval-oriented siblings such as gate_list_approvers or gate_delegate_run.

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