Skip to main content
Glama

list_child_threads

Read-onlyIdempotent

Fetch a parent thread’s child threads, oldest first, with live message counts—not their messages—so you can choose which child to open via list_messages.

Instructions

List a parent thread's child threads, oldest first, each as a thread object plus message_count, the number of its live messages. This gives a threaded view of N replies per child without loading any child's messages; tombstoned children are excluded. To read the messages inside a child, call list_messages with the child's id. Requires workspace:read.

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": {
      "thread_id": "<thread_id>"
    },
    "name": "list_child_threads"
  }
}

Input Schema

NameRequiredDescriptionDefault
thread_idYesUUID of the parent thread whose children to list. The caller must be able to read the thread's channel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • changedInput schema / properties / thread_id / description
      Previous value: -"The parent thread id."New value: +"UUID of the parent thread whose children to list. The caller must be able to read the thread's channel."
  2. First observedv479.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered; the description adds real context on top: exclusion of tombstoned children, the meaning of message_count as live messages, ordering guarantees, and the workspace:read permission requirement. This is exactly the kind of behavior beyond annotations that helps an agent trust the result set.

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 front-loaded sentences that each carry substantive information: what is returned, why it is cheap, and where to go next. The threaded-view clause is mildly redundant with the first sentence but still earns its place by explaining the N-replies-per-child projection.

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?

No output schema exists, so the description must carry the return shape, and it does: a thread object plus message_count with live-only semantics, ordered oldest first, tombstoned entries excluded. Permission prerequisites and the follow-up tool are both named, leaving nothing an agent needs to call this 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 coverage is 100%, so the single thread_id parameter is already fully documented, including the caller's channel-read requirement. The description reinforces that it is the parent thread whose children are listed but adds no new syntax or format detail, so the baseline 3 applies.

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 ('List a parent thread's child threads'), plus the ordering ('oldest first') and the per-item shape ('thread object plus message_count'). It also separates itself from list_messages by describing what it deliberately does not do (load child messages), so an agent can distinguish the two without opening schemas.

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 a clear when-to-use and an explicit hand-off: 'To read the messages inside a child, call list_messages with the child's id.' It also implies when-not (don't reach for it as a message reader). It does not distinguish this from the broader list_threads/find_threads siblings, which is the remaining gap.

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

Deploy Server

Other Tools