Skip to main content
Glama

run_status

Read-onlyIdempotent

Polls a run for new events or state changes, waiting up to a set number of seconds. Use it to track subagent progress and check whether a run has advanced.

Instructions

Poll a run. Waits up to wait_s for new events or a state change.

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": {
      "run_id": "<run_id>"
    },
    "name": "run_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes
wait_sNo
after_eventNo

Output Schema

NameRequiredDescriptionDefault
stateYes
eventsNo
reasonNo
run_idYes
elapsed_sNo
after_eventNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add traits beyond that. It does disclose the significant non-obvious behavior: the call blocks for up to wait_s awaiting new events or a state change. It does not say what is returned when the wait times out or when nothing changes, which would have completed the picture.

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?

Two short sentences with no filler; the core action is front-loaded and the blocking behavior follows immediately.

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

Completeness3/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. Still, for a polling tool the description omits the after_event cursor and timeout/no-change semantics, which are the details an agent needs to poll correctly rather than redundantly.

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 coverage is 0%, so the description must carry parameter meaning. It gives real semantics for wait_s (the maximum blocking duration) and run_id is self-evident from its name, but after_event — the cursor that most affects repeated polling — is never mentioned, leaving one of three params fully undocumented.

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?

States a specific verb and resource ("Poll a run") and adds the long-poll framing ("waits up to wait_s for new events or a state change"). It is clear what the tool does, though it never contrasts itself with run_result or runs_list, so sibling differentiation is left to inference.

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 implied rather than stated: the polling/waiting language suggests this is for waiting on in-flight progress rather than retrieving a finished result. There is no explicit when-to-use, when-not-to-use, or named alternative among run_result, runs_list, or run_status's other siblings.

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