Skip to main content
Glama

record_decision

Store a named reviewer's decision to freeze a Preflight Review, requiring all checks to pass for approval and supporting conditional approval or hold when checks remain open.

Instructions

Store a named reviewer's decision and freeze the review. A plain approve needs every check passed; with checks open, use 'approve with conditions' or 'hold'.

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

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy. For 'approve with conditions', name the conditions.
decisionYes
reviewerYesThe human reviewer who states the decision.
review_idYesThe review's id, from start_review or list_reviews.

Output Schema

NameRequiredDescriptionDefault
reviewYes
open_findingsYesChecks that have not passed yet.
recommendationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the mutation and non-idempotency profiles are already structured data. The description adds meaningful context beyond that by disclosing that recording freezes the review, but it is silent on what freezing forecloses: whether a frozen review can be reopened or amended, and what a repeat call does given idempotentHint=false.

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?

Two sentences, both load-bearing: the first states the action and its effect, the second states the decision rule. Purpose is front-loaded and there is no filler.

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?

An output schema exists, so return values need not be explained, and the description covers the action, its lock effect, and the decision rule. For a non-idempotent write with four required parameters, the only real gap is what happens on repeat calls or against an already-frozen review.

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 75%, so the schema already documents reviewer, reason and review_id, including the note to name conditions for 'approve with conditions'. The description adds the precondition that gates the plain 'approve' value, which is genuine meaning beyond the enum, but it says nothing about the remaining parameters.

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 names a specific verb and resource ('Store a named reviewer's decision') and adds the side effect ('freeze the review'), which is more than a restatement of the name. It does not explicitly distinguish itself from sibling record_* tools (record_control, record_test), but the resource and effect are specific enough to select it unambiguously.

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

Usage Guidelines4/5

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

It gives an explicit decision rule: a plain approve requires every check passed, otherwise use 'approve with conditions' or 'hold'. That is real conditional guidance for the highest-risk choice in the call. It stops short of stating prerequisites such as who may record a decision or what review state is required, and it names no alternative tool for those cases.

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