Skip to main content
Glama

AI Source of Truth Evidence Rooms

Prove one log event

get_event_proof
Read-only

An RFC 6962 inclusion proof for one access-log event against the log's Merkle root. Scope: cases:read. REST twin: GET /api/cases/:id/log/:seq/proof. Errors: unauthorized, insufficient_scope, not_found, forbidden, consent_required.

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": {
      "case_id": "<case_id>",
      "seq": "<seq>"
    },
    "name": "get_event_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
seqYes
case_idYesThe case id (cas_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description's job is additive — and it delivers: required scope 'cases:read', a concrete REST twin endpoint, and a full error taxonomy (unauthorized, insufficient_scope, not_found, forbidden, consent_required) that flags consent gating a caller would not otherwise anticipate. It stops short of describing the proof payload or what not_found refers to (case vs. sequence).

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?

Three dense, front-loaded sentences: what it is, what it requires, where it maps in REST, and what can go wrong. No filler, and the most important fact (RFC 6962 inclusion proof) leads.

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?

For a two-parameter read-only tool with no output schema, the definition covers purpose, scope, endpoint equivalence, and error surface. The notable gap is return-value shape — the structure of an RFC 6962 proof, or whether it includes the audit path and root — which an agent cannot infer without an output schema.

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 50%: case_id is documented inline, while seq is only an integer with minimum 0. The description partially compensates by anchoring seq to the REST path ':seq' as the event's position in the access log, but it never states the numbering basis or whether seq must already exist. Baseline 3 is appropriate at this coverage level.

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 resource and result: an RFC 6962 inclusion proof for one access-log event against the log's Merkle root, plus the exact event addressed via the REST twin path (:id/:seq). This clearly separates it from the sibling get_log, which presumably returns the log itself rather than a cryptographic proof for a single entry.

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 scope ('cases:read') and the REST twin establish the context and prerequisites, and the error list hints at failure modes, but there is no explicit statement of when to choose this over get_log or how to use the resulting proof (e.g., verification against a published root). Usage is implied rather than directed.

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