Skip to main content
Glama

list_threads

Read-onlyIdempotent

Lists a channel's live threads with keyset pagination and filters for order, status, result kind, and creation time, enabling paging through relevant conversations.

Instructions

List a channel's live threads, oldest first by default or newest first with order=newest, keyset-paginated. Default 100 (max 500); pass cursor= for the next page. since (RFC 3339), result_kind and status filter in the query, before the limit.

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": {
      "channel_id": "<channel_id>"
    },
    "name": "list_threads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax threads to return (clamped 1..=500).
orderNoDirection of the keyset walk (default oldest).
sinceNoOnly threads created at or after this RFC 3339 instant.
cursorNoExclusive keyset cursor: the prior page's last thread id.
statusNoOnly threads whose declared status is this one (working, needs_input, needs_review, blocked, done).
channel_idYes
result_kindNoOnly threads whose stored result carries this result_kind.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the bar is lower; the description still adds real operational context: default page size 100, max 500 clamping, keyset walk direction, and that filters are applied in the query before the limit is taken.

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 tight sentences, front-loaded with scope and ordering default, with zero filler. The final sentence listing since/result_kind/status filters is terser and slightly awkward to parse but still compact.

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

Completeness3/5

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

For a paginated filtered list with 7 parameters and no output schema, the description covers invocation fully (filters, order, cursor, limit). It does not describe what a returned thread object contains or what the cursor/page metadata looks like, leaving return-shape assumptions to the caller.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 86%, so the baseline is 3, but the description adds meaning beyond it — clarifying that cursor is the prior page's last thread id, that order controls the keyset walk direction, and that since/result_kind/status are query-level filters applied before the limit.

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 states a specific verb and resource with scope: "List a channel's live threads." The channel-scoped, live-only framing implicitly separates it from siblings like list_assigned_threads or list_blocked_threads, though it never names an alternative directly.

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?

It gives strong invocation guidance (default oldest-first, order=newest, cursor-based paging, filter-before-limit ordering) but no selection guidance — nothing says when to choose this over find_threads or list_recently_active_threads.

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