Skip to main content
Glama

Read Runs

swarm_read_runs
Read-onlyIdempotent

List Runs in a Space, read status and results with run_id, or read its currently authorized context. Context is a current read, not proof of an execution-time snapshot. Creates no execution.

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": {
      "view": "<view>"
    },
    "name": "swarm_read_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewYesSelect one operation. context: requires run_id; details: requires run_id; list: no required fields. Supply only fields applicable to that operation.
limitNoPage size; follow next_cursor for more.
orderNoasc or desc; retain the same order across pages.
cursorNoPrevious next_cursor; keep filters and order.
run_idNoRun ID from swarm_read_runs (view=list).
statusNoStatus filter; use values returned for this resource.
task_idNoTask ID from swarm_read_tasks (view=list).
space_idNoSpace for Space-scoped views; omit if sole. ID-only views resolve access from the resource ID, not this convenience field.
run_group_idNoRun Group ID returned with a Run.
automation_profile_idNoExisting automation profile; grants no extra authority.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already assert readOnly/idempotent/non-destructive, but the description adds real behavioral context beyond them: 'Creates no execution' and the caveat that context is a current read rather than an execution-time snapshot. That caveat is exactly the kind of staleness warning an agent cannot get from structured fields.

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?

Three short sentences, front-loaded with the operations and the strongest caveat placed immediately after. No filler, no restatement of the title.

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?

An output schema exists so return values need not be described, and the description covers modes plus the read-only/no-execution guarantee. The remaining gap is routing versus sibling read/get tools, which is the one thing an agent still has to guess.

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% with per-parameter descriptions, so baseline is 3. The description adds only light framing (run_id used for status/results, Space scoping for listing) and does not clarify the interplay of status, task_id, run_group_id or paging fields beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names the resource (Runs) and three operations (list, details by run_id, authorized context) so the shape is clear. However, it never differentiates itself from similarly named siblings such as swarm_list_runs, swarm_get_run and swarm_get_run_context, leaving the agent unsure which of the near-duplicate tools to call for the same view.

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?

The three-mode sentence implies when each mode applies (run_id for details/context, none for list), and the schema reinforces the view requirements. There is no explicit when-not guidance and no named alternative when a sibling would be preferable, so the agent must infer routing.

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.