Skip to main content
Glama

record_outcome

Attach a later result or outcome to an existing decision by supplying the decision ID, outcome, and agent.

Instructions

Attach a later outcome/result to an existing decision.

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": {
      "decision_id": "<decision_id>",
      "outcome": "<outcome>",
      "agent": "<agent>"
    },
    "name": "record_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYes
outcomeYes
decision_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already disclose that this is a non-read-only, non-idempotent, non-destructive, closed-world mutation. The description adds useful context that the outcome is attached later and must target an existing decision, but it does not explain duplicate-outcome behavior or what happens when the decision does not exist, both important for a non-idempotent mutation.

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?

The description is a single front-loaded sentence with no filler. Every word contributes to stating the action and its temporal relationship to an existing decision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with three fully required parameters, 0% schema description coverage, and no output schema, one sentence is insufficient. It omits the required agent parameter, return behavior, and error or duplicate-handling context that an agent would need to invoke it reliably.

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

Parameters2/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 parameter meaning. It implies decision_id via "existing decision" and outcome via "outcome/result," but it never mentions the required "agent" parameter or clarifies value formats or constraints for any of the three 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 uses a specific verb, "Attach," and a clear resource, "a later outcome/result to an existing decision." It conveys the temporal relationship to a prior decision, though it does not explicitly differentiate itself from the sibling record_decision.

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?

"Later outcome/result" and "existing decision" imply when the tool applies: after a decision has already been recorded. However, it gives no explicit when-not guidance or named alternative, such as using record_decision instead when creating the initial decision.

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