Skip to main content
Glama

proof_log

Log agent events to a tamper-evident proof chain for audit and verification. Record event type, success status, and optional context to create traceable execution records.

Instructions

Log an agent event to the proof chain

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_type": "<event_type>",
      "success": "<success>"
    },
    "name": "proof_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoSearchable tags
toolNoTool name
originNoEvent origin
reasonNoWhy this action was taken
successYesDid the action succeed?
trace_idNoDistributed trace ID
namespaceNoProject namespace
event_typeYesEvent type
input_hashNoPre-computed input hash
duration_msNoExecution time in ms
output_hashNoPre-computed output hash
input_summaryNoHuman-readable input description
output_summaryNoHuman-readable output description
parent_event_idNoParent event for delegation
redaction_levelNoPrivacy level (0-3)
tool_invocation_idNoLinks started/completed pair

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and provides almost none of it: it does not say the log is append-only/immutable, whether writes are synchronous or fire-and-forget, whether a failure to log is fatal, what permissions or namespace scoping apply, or what happens on redaction. Only 'proof chain' hints at tamper-evident persistence, which is not elaborated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single eight-word sentence is maximally concise and front-loaded, but for a 16-parameter tool with a large event-type enum it is too sparse to be structured or scannable. Nothing is wasted, but nothing beyond the bare purpose is earned.

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

Completeness2/5

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

Given 16 parameters, two enums, no annotations and no output schema, the definition is materially incomplete: an agent cannot tell when to emit each event type, whether logging is required for compliance, or how the call behaves on failure. The schema documents the fields but not the calling policy.

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 every one of the 16 parameters has its own description, so the input schema does the heavy lifting. The description adds no meaning beyond it — no guidance on which optional fields matter (e.g., when tool_invocation_id pairing or parent_event_id for delegation is required).

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 ('Log') and resource ('agent event') with the destination ('proof chain'), so the agent knows this is the append/write entry point for the proof system. It does not, however, distinguish itself from the many siblings (proof_query, proof_verify, proof_audit) or clarify whether 'event' is different from a query or an anchor.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no statement of which event types callers should emit, whether agents should log every tool call or only failures, or when to prefer proof_anchor/proof_query instead. The agent must infer the entire usage policy from the sibling names and the event_type enum in the schema.

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