Skip to main content
Glama

Record a Decision

record_decision

Two uses, one table of record.

(1) RELAY A VERDICT the user just gave in conversation about work waiting on them — 'approved', 'redo it with X', 'drop that one'. Pass id + decision (+ note in their words). It clears the task from the review queue. Never call this to accept your own work: you are the messenger, not the decider, and 'the user did not object' is not a decision.

(2) RECORD A DECISION WORTH REMEMBERING — 'chose Neon over Supabase', 'dropped the referral program', a lesson learned. Pass title + outcome, plus whatever MADR context you have (context, options weighed, consequences, confirmation = the condition to revisit under). Records are immutable; to change one, record a new decision with supersedesId pointing at it. Use it whenever the user makes a real choice in conversation — the reasoning otherwise dies in scrollback, and decisions are what agents read next week via get_context.

Input Schema

NameRequiredDescriptionDefault
idNoTask ID — verdict relay only
kindNo'madr' (default) for a decision; 'lesson' for a lesson learned.
noteNoWhat the user said, in their words. Required in substance for rework — the executor has to act on it.
titleNoStandalone record: the decision, named. E.g. "Postgres provider: Neon".
statusNoDefaults to 'accepted'. 'proposed' = written down before the user has committed.
taskIdNoA task this standalone decision is about, if any.
contextNoWhat was true that forced a choice.
optionsYesThe options actually weighed — not a retrofit.
outcomeNoStandalone record: the choice, stated as a sentence. Required with title.
projectNoProject name (case-insensitive) or project ID
decisionNoVerdict relay only — what the user said: 'accepted' the work stands; 'rework' send it back (say why); 'dropped' not worth doing; 'deferred' fine but not now.
confirmationNoThe condition under which to revisit this decision.
consequencesNoWhat follows from the choice, good and bad.
supersedesIdNoA prior decision this one replaces. The old record stays, marked superseded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false / destructiveHint=false, so the description does the heavy lifting and does it well: it discloses the side effect of clearing a task from the review queue, that records are immutable, and that change is expressed via supersedesId rather than edits. It stops short of stating auth/permission requirements or any failure behavior, hence not a 5.

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 'two uses, one table of record' frame, then cleanly enumerated as (1) and (2), so the agent can stop reading once it identifies the mode. Dense and mostly waste-free, though rhetorical asides like 'you are the messenger, not the decider' cost a little length for their guardrail value.

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 14-parameter mutation tool with no output schema, the description covers both modes, immutability, supersession, and the downstream consumer (get_context). The one gap is the required-field discrepancy: the schema requires only 'options', while the prose states outcome is required with title, which could cause a validation surprise.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, but the description adds real routing value the schema cannot: it maps which parameters belong to which mode (id+decision+note for verdict relay; title+outcome+MADR fields for a standalone record). One inconsistency remains — the schema marks only 'options' as required while the prose treats title+outcome as the required record pair.

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?

The description states a specific verb+resource ('record a decision') and then splits it into two explicitly named modes — relaying a user verdict on a task versus recording a standalone durable decision. It also names the reading counterpart (get_context), so an agent can distinguish it from siblings like update_task or complete_task without opening the schema.

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

Usage Guidelines5/5

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

Explicit when-to-use for both modes ('whenever the user makes a real choice in conversation'), an explicit when-not ('Never call this to accept your own work: you are the messenger, not the decider'), and a stated anti-pattern ('the user did not object is not a decision'). Alternative-driven routing to get_context is named for the read side.

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.