Skip to main content
Glama

Record Output

record_output

Records a headline quantitative result with key, value, units, and optional uncertainty so agents can store and track structured research outputs.

Instructions

Record a headline quantitative result.

key format: 'category.target' (e.g., 'verdict.main', 'fit.slope', 'count.galaxies'). Exactly one of value_num or value_str must be set.

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": {
      "domain_key": "<domain_key>",
      "result_name": "<result_name>",
      "key": "<key>"
    },
    "name": "record_output"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
unitsNodimensionless
unc_hiNo
unc_loNo
value_numNo
value_strNo
domain_keyYes
result_nameYes
source_fileNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 burden. It discloses one genuinely non-obvious rule (exactly one of value_num or value_str must be set), but says nothing about whether re-recording the same key overwrites, errors, or creates a duplicate, nor about side effects on the domain or linked results.

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?

Three short sentences, front-loaded with the purpose, then key format, then the validity constraint; the examples earn their space by anchoring an otherwise abstract format. Minor redundancy between 'headline quantitative result' and the value_num/value_str sentence is negligible.

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?

An output schema exists, so return values need no explanation, but this is an unannotated write tool with nine parameters, almost none documented. Key gaps remain: the meaning of domain_key/result_name, the units/uncertainty fields, and the collision behavior with record_result, which the near-identical sibling name makes costly.

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 0% across nine parameters, so the description must compensate. It does explain the key's 'category.target' convention with three examples and clarifies the value_num/value_str relationship, but leaves units, unc_lo, unc_hi, source_file, domain_key, and result_name entirely undefined in both schema and description.

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?

"Record a headline quantitative result" gives a specific verb and resource, and the key examples ('verdict.main', 'fit.slope') make the shape of a recorded output concrete. It stops short of distinguishing this tool from the closely named siblings record_result and query_outputs, so an agent must guess which recording tool applies.

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 statement of when to use this versus record_result, record_assumption, or update_result_status, nor any prerequisite such as whether the referenced domain must already exist. The only conditional given is the value_num/value_str exclusivity, which is a validity rule rather than usage guidance.

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