Skip to main content
Glama

list_blocked_threads

Read-onlyIdempotent

Lists explicitly blocked threads in a channel, newest first, with reason, who set the block, timestamp, and note so you can review why work is blocked.

Instructions

List the threads in one channel that carry an explicit block, newest first, each as thread_id, reason (dag, gate, human, child, quota or unclaimable), set_by, set_at and an optional note. These are blocks placed with set_thread_block. Stalls that only get_queue_depth counts, such as an unfinished dependency, a pending approval gate or a footprint conflict, do not appear here. For threads parked from dispatch use list_unclaimable. 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": {
      "channel_id": "<channel_id>"
    },
    "name": "list_blocked_threads"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idYesUUID of the channel whose explicitly blocked threads to list. The caller must be able to read the channel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • addedInput schema / properties / channel_id / description
      Added value: +"UUID of the channel whose explicitly blocked threads to list. The caller must be able to read the channel."
  2. First observedv479.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent and closed-world behavior, yet the description still adds real context: the enumerated reason taxonomy, the provenance tool, the sort order, and the required 'workspace:read' permission. It does not discuss pagination or result size, which is the only notable omission for a list operation.

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?

Four tight sentences with no filler; scope and ordering are front-loaded, exclusions and the sibling alternative follow, and the permission requirement closes it. Every clause carries decision-relevant information.

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 no output schema, the description takes on the burden of describing return values and does so by listing every field, including the reason enum and optional note. It also covers authorization and exclusion semantics, leaving nothing an agent needs in order 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 coverage is 100% and the single channel_id parameter is fully documented with format and read-permission constraints. The description adds little beyond reinforcing 'one channel' and the workspace:read requirement, so the baseline 3 is appropriate.

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?

The description opens with a specific verb and resource ('List the threads in one channel that carry an explicit block') plus ordering ('newest first') and the exact return shape. It distinguishes itself from list_unclaimable (parked threads) and get_queue_depth (stalls without explicit blocks), so an agent can route correctly without opening another schema.

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

Usage Guidelines5/5

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

It states both what qualifies (blocks placed with set_thread_block) and what does not (unfinished dependencies, pending approval gates, footprint conflicts), and names the alternative tool for parked threads. The when-not guidance is unusually explicit.

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