Skip to main content
Glama

List subtasks

list_subtasks
Read-onlyIdempotent

List a parent task's subtasks, one page at a time. Each has id, identifier, title, status and priority; the result adds hasMore and nextCursor. Accepts a task ID or identifier like PRO-42. Rows leave out descriptions unless response_format is detailed.

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": {
      "taskId": "<taskId>"
    },
    "name": "list_subtasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many subtasks to return in one page. 200 when omitted.
cursorNonextCursor from the previous page. Leave it out for the first page.
taskIdYesTask ID or PRO-42 identifier.
response_formatNoHow much to return. concise applies when omitted; detailed adds every field and the full text.

Output Schema

NameRequiredDescriptionDefault
totalNoNumber of subtasks. Sent only when they all fit on one page.
hasMoreNotrue when another page exists.
subtasksYesThis page of results.
nextCursorNoPass as cursor for the next page. Null or absent on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value by disclosing pagination behavior (hasMore/nextCursor) and the default omission of descriptions unless response_format is detailed. That is useful but modest beyond the annotations.

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 core action, then return fields, then input and format notes. No filler, and each sentence carries distinct information an agent needs.

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 and full schema coverage, the description needn't enumerate return fields, yet it still summarizes the row shape and pagination envelope. Pagination flow, identifier formats and the concise/detailed trade-off are all covered, leaving nothing an agent needs to call it correctly.

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 all four parameters are already documented, which sets the baseline at 3. The description reinforces that taskId accepts a PRO-42 style identifier and that detailed returns 'every field and the full text', but adds little syntax or format detail beyond the schema.

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 and resource with scope: 'List a parent task's subtasks, one page at a time.' The parent-child relationship and pagination scope are both explicit, so an agent can distinguish this from a general task listing without opening the 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?

Gives clear operational context for when to call it: one page at a time, with cursor continuation implied by 'nextCursor' and a concise-vs-detailed choice for response_format. It stops short of naming any alternative tool or stating when not to use it, so it falls below the explicit routing seen in a 5.

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.

Resources