Skip to main content
Glama

Read Tasks

swarm_read_tasks
Read-onlyIdempotent

List planning Tasks in a Space or read details using task_id. Saving a Task does not start a Run. Use list first when the ID is unknown.

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_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewYesSelect one operation. details: requires task_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.
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.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered. The description adds one genuine behavioral fact beyond that — that saving a Task does not start a Run — but says nothing about result volume, paging behavior, or access scoping, which are the remaining unknowns for a read tool.

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?

Three short sentences with the dual-mode purpose front-loaded and the usage hint last; nothing is padded or repeated. The middle sentence about saving not starting a Run is slightly tangential for a pure read tool, but it is deliberately placed and brief.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, a fully described six-parameter input schema, and rich read-only annotations, the description only needs to cover purpose and mode selection — both of which it does. Nothing an agent needs in order to invoke this correctly is missing.

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 every parameter (view, limit, order, cursor, task_id, space_id) is already documented, and the enum description itself spells out which fields apply to which view. The description's only added signal is the hint to list first when task_id is unknown, which is marginal beyond the schema. Baseline 3 is appropriate.

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 opens with a specific verb and resource ("List planning Tasks in a Space") and immediately distinguishes its two modes: listing versus detail retrieval by task_id. An agent can tell which operation it needs without opening the schema. It stops short of differentiating itself from the similarly named swarm_list_tasks sibling, which leaves a small ambiguity.

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?

It gives an explicit sequencing rule — "Use list first when the ID is unknown" — which is exactly the conditional an agent needs to pick between the details and list views. There are no when-not-to-use exclusions or comparisons to related read tools, so it is clear context rather than full routing guidance.

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.