Skip to main content
Glama

record_control

Destructive

Records the owner and control for a review check, replacing any earlier control and clearing its prior result so evidence reflects the current safeguard.

Instructions

Record the owner and control for a check. A new control clears its earlier result.

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>",
      "check_id": "<check_id>",
      "owner": "<owner>",
      "control": "<control>"
    },
    "name": "record_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
ownerYesThe named person responsible for this control.
controlYesThe control that prevents or catches the failure.
check_idYesA check's id, as next_question returns it.
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.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, but the description adds a genuinely useful side-effect disclosure the annotations do not convey: 'A new control clears its earlier result.' That tells the agent a re-record overwrites prior results, which is the key behavioral risk here. It does not cover permissions or failure modes, so 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.

Conciseness5/5

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

Two short sentences, zero filler, with the action stated first and the overwrite caveat second. Nothing could be removed without losing information.

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?

The tool has an output schema and fully documented parameters, so the description only needs to carry purpose and side effects, which it does. The remaining gap is the absence of any guidance on when in the review workflow this should be called versus record_decision or record_test.

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 the schema already explains each of the four parameters, including where check_id and review_id come from. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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: 'Record the owner and control for a check.' That is concrete enough to separate it from siblings like record_decision and record_test, which record different artifacts. It stops short of explicitly differentiating itself from those siblings by name or scope.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. The agent must infer from sibling names that this tool is for control ownership rather than decisions or tests, and nothing states prerequisites or ordering.

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