Skip to main content
Glama

List Runs

swarm_list_runs
Read-onlyIdempotent

Browse Runs by Task, group or status; inspect details with swarm_get_run. Listing claims no work. Queued does not mean completed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "swarm_list_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size; follow next_cursor for more.
orderNoasc or desc; retain the same order across pages.
cursorNoPrevious next_cursor; keep filters and order.
statusNoStatus filter; use values returned for this resource.
task_idNoTask ID from swarm_list_tasks.
space_idNoSpace ID from swarm_list_spaces; omit if sole.
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. Changed7 schema fields changed
    • addedInput schema / properties / automation_profile_id / description
      Added value: +"Existing automation profile; grants no extra authority."
    • changedInput schema / properties / cursor / description
      Previous value: -"Previous next_cursor; same filters and order."New value: +"Previous next_cursor; keep filters and order."
    • changedInput schema / properties / limit / description
      Previous value: -"Page size."New value: +"Page size; follow next_cursor for more."
    • changedInput schema / properties / order / description
      Previous value: -"Paging order."New value: +"asc or desc; retain the same order across pages."
    • changedInput schema / properties / space_id / description
      Previous value: -"Omit for a single approved Space."New value: +"Space ID from swarm_list_spaces; omit if sole."
    • addedInput schema / properties / status / description
      Added value: +"Status filter; use values returned for this resource."
    • changedInput schema / properties / task_id / description
      Previous value: -"ID from swarm_list_tasks or swarm_create_task."New value: +"Task ID from swarm_list_tasks."
  2. Changed6 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"Previous next_cursor; same filters and order."
    • addedInput schema / properties / limit / description
      Added value: +"Page size."
    • addedInput schema / properties / order / description
      Added value: +"Paging order."
    • changedInput schema / properties / run_group_id / description
      Previous value: -"Filter to one Run Group in a readable Space; an explicit space_id must match the Group's Space."New value: +"Run Group ID returned with a Run."
    • addedInput schema / properties / space_id / description
      Added value: +"Omit for a single approved Space."
    • addedInput schema / properties / task_id / description
      Added value: +"ID from swarm_list_tasks or swarm_create_task."
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety bar is low; the description still adds two non-obvious semantics: 'Listing claims no work' (browsing does not claim or reserve runs) and 'Queued does not mean completed' (a status caveat that prevents misreading results). It does not discuss pagination or default ordering, though the schema covers those.

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 clauses with no filler: purpose first, sibling routing second, caveats last. Every sentence carries distinct information and nothing repeats the schema or annotations.

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 and the schema documents pagination and filters, so the description does not need to explain return values. What it provides — purpose, alternative, and the 'Queued does not mean completed' caveat — is enough to call the tool correctly, though a note on default page size or the fact that all filters are optional would round it out.

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 100%, so the schema already documents all eight parameters including cursor/limit/order pagination mechanics. The description only gestures at the filter categories ('Task, group or status') without adding format or interaction rules beyond what the schema states, which is the expected baseline-3 case.

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

Purpose5/5

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

States a specific verb ('Browse') plus the resource ('Runs') and the three filter dimensions (Task, group, status), which map directly onto the schema's task_id, run_group_id and status parameters. It also explicitly routes detail lookups to swarm_get_run, so the agent can separate this list tool from the get sibling without opening a schema.

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

Usage Guidelines4/5

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

'inspect details with swarm_get_run' names the alternative and the condition that selects it, which is the main routing decision for a list/get pair. It stops short of stating when *not* to use listing (e.g. when you already have a run ID) or what the filters are mutually exclusive with, so it is clear but not exhaustive.

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.