Skip to main content
Glama

capability_record_outcome

Record capability invocation outcomes to let future routing rank options by observed success and human-edit cost.

Instructions

Record the outcome of a capability invocation so future routing can rank by empirical success and human-edit cost.

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": {
      "id": "<id>"
    },
    "name": "capability_record_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
taskNo
notesNo
reworkNo
successNo
duration_msNo
human_edit_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it omits the essentials for a write tool: whether repeated records are idempotent or appended, whether they overwrite prior data, what happens with an unknown id, and whether routing effects are immediate. It only describes the intended downstream effect, not the mechanics.

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?

A single well-formed sentence with the action front-loaded and the payoff stated after; there is no padding. It is efficiently written, though the space saved could have been spent on the missing parameter and behavior details.

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 7-parameter mutation tool with no annotations, no output schema, and zero parameter documentation, one sentence is far too thin. An agent cannot know what to put in most fields or what recording actually does to stored routing data.

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?

There are 7 parameters with 0% schema description coverage, so the description must compensate — but it only gestures at 'success' and 'human-edit cost'. The meaning and units of id, task, notes, rework, and duration_ms are left entirely undocumented in both places.

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 states a specific verb and resource — 'Record the outcome of a capability invocation' — and explains the downstream purpose (empirical routing ranks). It is clearly distinguishable from siblings like capability_record_gap or capability_probe_record, though it never explicitly contrasts with them.

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?

Usage is only implied: an agent can infer this is called after a capability_invoke, but the text never says when to call it, when not to, or how it relates to capability_probe_record or capability_record_gap. The 'so future routing can rank' clause motivates but does not route.

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