Skip to main content
Glama

haldir_get_inclusion_proof

Fetch an RFC 6962 inclusion proof for an audit entry to get the audit path, root hash, and signed tree head for offline verification without server trust.

Instructions

Get an RFC 6962 inclusion proof for a specific audit entry. Returns audit_path + root_hash + STH that an auditor can verify offline — no trust in the server needed.

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": {
      "entry_id": "<entry_id>"
    },
    "name": "haldir_get_inclusion_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
entry_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real value by naming the return components (audit_path, root_hash, STH) and the trust property (verifiable offline, no server trust), but it omits auth requirements, error behavior for unknown entry_id, and whether the returned STH is current or historical.

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?

Two sentences, zero filler, front-loaded with the operation and followed by the return contract. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description is right to sketch the return payload, but it stops short of format/shape details for audit_path, root_hash, and STH, and says nothing about failure modes. Adequate to attempt a call, not enough to handle the result confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

One parameter with 0% schema description coverage, so the description must compensate. It only says 'a specific audit entry', leaving the identifier's form (log index, leaf hash, internal ID) ambiguous; the agent cannot tell what string to supply without trial and error.

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?

Names a specific verb and resource: get an RFC 6962 inclusion proof for a specific audit entry. The 'inclusion proof' framing implicitly distinguishes it from haldir_get_consistency_proof, but the description never names or contrasts that sibling, so the agent must know Merkle terminology to be sure.

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 offline-auditor framing implies the use case (proving one entry is committed in the tree) but there is no explicit when-to-use vs. alternatives, no stated prerequisite that entry_id must already be logged, and no guidance on what to do if the entry is absent.

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