Skip to main content
Glama

record_decision

Record an execution decision into the tamper-evident cryptographic audit ledger.

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": {
      "action": "<action>",
      "decision": "<decision>"
    },
    "name": "record_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAction name.
paramsNoParameters supplied.
reasonNoJustification for the decision.
decisionYesAction decision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does add real behavioral information by characterizing the ledger as 'tamper-evident' and 'cryptographic', implying append-only durability, but it never states that entries are irreversible, whether the call is idempotent, what authorization is required, or what happens if the ledger is unavailable.

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?

A single front-loaded sentence with no filler; the destination and its tamper-evident nature are stated immediately. Nothing in it is redundant.

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?

This is a mutation tool writing permanently to an audit ledger, with no annotations and no output schema, and four parameters including a nested object. For that complexity the description is too thin: it says nothing about return values (a hash or record id would be expected), retry/idempotency behavior, or its relationship to check_action_safety.

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%, so the four parameters are already documented at baseline. The description adds no meaning beyond the schema — notably it does not explain that 'params' should mirror the parameters submitted to the safety check, nor how 'reason' relates to the 'decision' enum.

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 ('Record') plus resource ('execution decision') and destination ('tamper-evident cryptographic audit ledger'), so the agent knows this is a write-to-audit-log operation. It does not explicitly distinguish itself from the sibling 'verify_audit_trail', which is the nearest confusable tool.

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 statement of when to record a decision versus when to just call 'check_action_safety', nor whether this should be called before or after enforcement, nor when to use 'verify_audit_trail' instead. The agent must infer all routing from the verb alone.

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.