Skip to main content
Glama

Record a stated decision

record_decision
Destructive

Record the investor's completed decision: proceeded, abandoned or deferred, with optional note and broker reference. One record per check. Does not place or change orders.

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": {
      "check_id": "<check_id>",
      "outcome": "<outcome>"
    },
    "name": "record_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional. The investor's own remark on the decision.
outcomeYesWhat the investor did: proceeded (carried it out), abandoned (dropped it) or deferred (put it off). Tell the investor in those words, not the code. Final once saved, so confirm it with them first.
check_idYesThe check_id check_action returned for this change.
broker_referenceNoOptional. The investor's own order reference. Never used to reach a broker.

Output Schema

NameRequiredDescriptionDefault
check_idYes
recordedYes
decided_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / check_id / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedOutput schema / properties / check_id / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. Changed4 schema fields changed
    • addedInput schema / properties / broker_reference / description
      Added value: +"Optional. The investor's own order reference. Never used to reach a broker."
    • addedInput schema / properties / check_id / description
      Added value: +"The check_id check_action returned for this change."
    • addedInput schema / properties / note / description
      Added value: +"Optional. The investor's own remark on the decision."
    • addedInput schema / properties / outcome / description
      Added value: +"What the investor did: proceeded (carried it out), abandoned (dropped it) or deferred (put it off). Tell the investor in those words, not the code. Final once saved, so confirm it with them first."
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=false, so the write/side-effect profile is known. The description adds the meaningful context that this captures a stated decision rather than executing anything, but it omits the trait an agent most needs — that the write is final and cannot be revised — which appears only in the parameter schema text.

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?

Three short sentences, front-loaded with what is recorded, followed by the cardinality constraint and the scope exclusion. No filler or repetition of the title.

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 and annotations cover safety and idempotency, so the description need not explain return values. It is nearly complete for a four-parameter write tool, with the only shortfall being that the irreversible/final nature of the record is not surfaced in the description itself.

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 every parameter is documented there, including the enum meanings, the provenance of check_id and the non-broker nature of broker_reference. The description restates the outcome values and the optional note/broker reference without adding format, validation or edge-case meaning, so the baseline of 3 applies.

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?

Names a specific verb (record) and resource (the investor's completed decision) and enumerates the three accepted outcomes, so the agent knows exactly what effect to expect. The closing clause 'Does not place or change orders' separates it from any trading/order-placement capability in the sibling set.

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?

'One record per check' gives an important cardinality rule, and 'does not place or change orders' is a useful negative boundary. However, it never states the trigger condition or prerequisite explicitly (that a check_action result must exist first) nor what to do if a decision record already exists — that guidance is only implied downstream in the schema.

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.