Skip to main content
Glama

record_decision

Capture a decision with its rationale, evidence, rejected alternatives, and affected files or plans; link it to an earlier decision it replaces to keep the decision chain clear.

Instructions

Record a decision as ONE unit: the decision, why it was taken, the evidence behind it, which alternatives were rejected, and what it affects (files, functions, plans). Pass supersedes with the id of an earlier decision this one replaces; the chain stays on record. Returns the decision id.

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": {
      "title": "<title>",
      "agent": "<agent>"
    },
    "name": "record_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYes
titleYes
effectsNo
reasonsNo
entitiesNo
evidenceNo
supersedesNo
descriptionNo
alternatives_rejectedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • addedInput schema / properties / supersedes
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Supersedes"
      +}
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-readOnly, non-destructive, non-idempotent behavior, so the bar is lower; the description still adds real value by stating that supersession keeps the earlier decision in the chain on record and that the call returns the decision id. It does not disclose whether duplicate records are deduplicated or what identity/permission `agent` implies, but it goes meaningfully beyond the annotation block.

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 the core action and the atomic-unit framing, then the supersedes rule and the return value. Slightly list-like in the middle clause but every element maps to an actual parameter, so little is wasted.

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?

For a 9-parameter mutation tool with no output schema, the description covers the schema's purpose well and explains the return value, but leaves the required `agent` field and `entities`/`title`-vs-`description` semantics unexplained. An agent could call it, but would have to guess on several fields.

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 0%, so the description must carry the burden and it only partly does: it glosses `reasons`, `evidence`, `alternatives_rejected`, `effects`, and `supersedes` in prose. It never explains the required `agent` parameter, the distinction between `title` and `description`, or what `entities` should contain.

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?

The description gives a specific verb and resource (record a decision) and enumerates exactly what the record captures — rationale, evidence, rejected alternatives, effects — which makes it distinguishable from siblings like remember_fact or record_outcome. It stops short of explicitly naming or contrasting a sibling, so it lands at 4 rather than 5.

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?

Usage context is implied by the enumerated payload (an agent should call this when it has a decision plus rationale/evidence/alternatives), but there is no explicit when-to-use or when-not-to-use guidance relative to siblings. The only concrete guidance is conditional and parameter-level: pass `supersedes` when replacing an earlier decision.

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