Skip to main content
Glama

agent_status

Check a background agent run for status, final answer, usage, and environment ID, waiting up to 55 seconds; long answers are saved to a file for retrieval.

Instructions

Check an agent run (agent_run) - returns status, final answer when done, usage and environment_id. Long answers are saved to a file. wait_seconds: max wait in this call (0-55).

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": {
      "interaction_id": "<interaction_id>"
    },
    "name": "agent_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
wait_secondsNo
interaction_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two meaningful behaviors: long answers are offloaded to a file, and the call can block for up to 55 seconds. It does not disclose the possible status values, what happens when the wait expires, or whether repeated polling is expected, which leaves gaps for an agent driving a run loop.

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?

Two compact sentences, front-loaded with purpose and return values, followed by the wait semantics. The inline enumeration of return fields is slightly list-like but every element conveys information; no filler.

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?

With no annotations and no output schema, the description must stand alone. It covers return fields, the file-offload behavior, and the wait bound, but omits how to obtain interaction_id, what status values exist, and terminal/error behavior - gaps that matter for a polling tool.

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%, so the description must compensate. It defines wait_seconds well (max wait per call, bounded 0-55), but interaction_id is completely undefined - no indication that it comes from agent_run or what format it takes.

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 uses a specific verb and resource ('Check an agent run'), names the sibling tool that produces the run (agent_run), and enumerates what is returned (status, final answer, usage, environment_id). This makes the tool distinguishable from agent_run and agent_cancel, though it never explicitly states the produce-vs-inspect relationship.

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: the wait_seconds parameter with a 0-55 cap signals a polling/blocking pattern, and the reference to 'final answer when done' implies repeated checks until completion. There is no explicit when-to-use or when-not-to-use guidance, and no mention of agent_cancel as the alternative for stopping a run.

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