Skip to main content
Glama

run_step

Set a short, human-readable label for the current part of your run so observers can follow progress; update it at each distinct stage and end_run clears it.

Instructions

Say which part of the job your run is on, in a few words a person can follow ("Reviewing PR #139: running web tests"): set it as you start each distinct part (a new issue, PR or email, or the next stage of one), not for every call. One line, at most 60 characters. Shown while your run goes on; end_run clears it.

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": {
      "goal_id": "<goal_id>",
      "run_id": "<run_id>",
      "text": "<text>"
    },
    "name": "run_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe part of the job you are starting, in a few words a person can follow, e.g. "Reviewing PR #139: running web tests" (one line, at most 60 characters)
run_idYesYour run (the one in your run request)
goal_idYesID of the goal
run_scopeNoA goal run passes its run id here; anyone else leaves it out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.32.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does well: it reveals the visibility model ('shown while your run goes on'), the lifecycle ('end_run clears it'), and a hard format constraint (one line, ≤60 chars). It does not say whether repeated calls overwrite the previous text or whether the text is user-visible only during execution, so a small behavioral gap remains.

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?

The usage rule is front-loaded and the lifecycle note is packed efficiently into the final clause. The parenthetical example and the restated 60-character limit duplicate the schema text slightly, costing a little tightness, but nothing is padded.

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?

This is a small, single-purpose write with no output schema, and the description covers purpose, format constraints, and lifecycle end-to-end. Only the overwrite semantics and the goal_id/run_scope interplay are left unstated, which is minor at this complexity level.

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 coverage is 100%, so all four parameters, including run_scope's 'goal run passes its run id here' rule, are already documented in the schema. The description reinforces the audience and format of 'text' (a person should be able to follow it) but adds no semantics about run_id, goal_id, or run_scope beyond structured fields. Baseline 3 applies.

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 concrete verb and resource: publish a short human-readable status line ('which part of the job your run is on') for the current run, capped at one line / 60 characters. It is distinguishable from lifecycle siblings because it names 'end_run' as the thing that clears the text. It stops just short of a crisp one-sentence definition of the operation, since 'set it' never says explicitly that this creates or overwrites the visible status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit trigger ('as you start each distinct part: a new issue, PR or email, or the next stage of one') and an explicit anti-pattern ('not for every call'), and it names the sibling that undoes it ('end_run clears it'). An agent knows both when to call it and when to skip it.

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