Skip to main content
Glama

get_proof

Read-onlyIdempotent

Fetch the public proof payload for one ledger event by its 64-char hex event_hash. When to use: after log_decision/log_outcome when you need trust labels, chain validity, anchor status, or a paired-event proof URL. When NOT to use: to browse many decisions or outcomes: use list_agent_decisions / list_agent_outcomes first, then call get_proof on a chosen event_hash; do not use this to write events (use log_decision / log_outcome). Requires X-API-Key. Returns proof fields only for events in that key's org; unknown or other-org hashes return EVENT_NOT_FOUND (same message either way). Read-only; does not mutate the ledger. Response includes event_hash, event_type, event_seq, public_* mirrors, hash_valid, agent_chain_valid, trust_level, trust_label, proof_anchor_status_label, and chain metadata.

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": {
      "event_hash": "<event_hash>"
    },
    "name": "get_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_hashYes64-character lowercase hex event hash from log_decision / log_outcome (or from list_agent_decisions / list_agent_outcomes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / event_hash / description
      Previous value: -"64-character lowercase hex event hash from log_decision / log_outcome (or from list_agent_decisions)."New value: +"64-character lowercase hex event hash from log_decision / log_outcome (or from list_agent_decisions / list_agent_outcomes)."
  2. Changed1 schema field changed
    • changedInput schema / properties / event_hash / description
      Previous value: -"64-character lowercase hex event hash from log_decision / log_outcome (or from list_my_recent_decisions)."New value: +"64-character lowercase hex event hash from log_decision / log_outcome (or from list_agent_decisions)."
  3. Changed1 schema field changed
    • changedInput schema / properties / event_hash / description
      Previous value: -"64-character hex event hash."New value: +"64-character lowercase hex event hash from log_decision / log_outcome (or from list_my_recent_decisions)."
  4. 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 read-only/idempotent safety, but the description adds context they cannot: X-API-Key requirement, org-scoped visibility, and the deliberate non-disclosure that unknown and other-org hashes both return EVENT_NOT_FOUND. It also previews the response shape and confirms no ledger mutation, which is materially beyond the annotation flags.

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 purpose, then cleanly labeled use/avoid/requirements/returns sections, so an agent can stop reading early. Slightly padded by the trailing 'Read-only; does not mutate the ledger' (already implied by readOnlyHint) and by the full response field enumeration.

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?

With no output schema, listing the returned proof fields (hash_valid, agent_chain_valid, trust_level, anchor status, chain metadata) is necessary and present. Auth requirements, org scoping, and the error case are all covered for a single-parameter read tool.

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% and the single parameter's schema description already explains the 64-char lowercase hex format and its provenance from log_decision/log_outcome or the list tools. The description restates this without adding format or validation detail, so the schema does the heavy lifting — baseline 3.

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 — 'Fetch the public proof payload for one ledger event' — plus the exact identifier format (64-char hex event_hash). It is immediately distinguishable from the sibling write and list tools it names.

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?

Provides explicit 'When to use' (after log_decision/log_outcome when you need trust labels, chain validity, anchor status, proof URL) and 'When NOT to use' (browsing many records — go to list_agent_decisions / list_agent_outcomes first, then call get_proof; not for writing). Alternatives and the ordering between them are spelled out.

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.