Skip to main content
Glama

Record run step

record_run_step
Destructive

Record the current result of an agent-driven workflow run, in score order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
run_idYes
step_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
runNo
countNo
stepsNo
creditsNo
fan_outsNo
recoveryNo
checkpointNo
storyboardNo
conditionalNo
generationsNo
review_hashNo
unit_creditsNo
analysis_creditsNo
checkpoint_errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the agent knows it is a mutating, non-idempotent, destructive call. The description adds nothing beyond this - it does not say what is overwritten, that repeat calls may duplicate state, or what permissions are required. 'Record' also undersells the destructive nature flagged by annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

It is a single front-loaded sentence with no padding, which is efficient. But it is too sparse for a tool whose result payload has seven distinct schemas, and the unexplained 'in score order' clause consumes space without adding meaning.

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 not be described. Yet for a destructive, non-idempotent, multi-variant write tool, the description omits the result variants, the ordering semantics it mentions, and any behavioral caveats, leaving the definition incomplete for correct invocation.

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 compensate, but it does not. The 'result' parameter is a seven-variant anyOf (text, items, records, generation_ids, transcription_id, approved, generation_id) and none of these shapes, nor the run_id/step_id semantics or the 'score order' phrasing, are clarified.

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 (Record) and resource (the current result of an agent-driven workflow run), which is clearly a write operation distinct from read siblings like get_workflow_run or list_workflow_runs. However, the trailing phrase 'in score order' is cryptic and unexplained, and no sibling is named for differentiation.

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 guidance on when to call this tool versus alternatives such as decide_workflow_items, complete_upload, or the other workflow-run mutators. No prerequisites, sequencing, or exclusions are stated.

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.

Resources