Skip to main content
Glama

get_thread_block

Read-onlyIdempotent

Reads the explicit dispatch block on a thread, returning its reason, setter, timestamp, and note, or null if not blocked. Use it to check whether claim_next_thread will skip that thread.

Instructions

Read the explicit dispatch block on one thread: an object with thread_id, reason, set_by, set_at and an optional note, or null when the thread is not blocked. While a block exists, claim_next_thread skips the thread and an explicit claim is refused. To see every blocked thread in a channel use list_blocked_threads; to place or lift a block use set_thread_block or clear_thread_block. 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": "get_thread_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
thread_idYesUUID of the thread whose block to read. 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
    • addedInput schema / properties / thread_id / description
      Added value: +"UUID of the thread whose block to read. The caller must be able to read the thread's channel."
  2. First observedv479.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely new behavior: returns null when unblocked, the effect of a block on claiming, and the 'requires workspace:read' auth requirement. It stops short of error cases (e.g., nonexistent thread or permission denial), which keeps it off a 5.

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 sentences with the return contract front-loaded, then the behavioral consequence, then the sibling routing and auth note. No filler, no restatement of the title, and each clause carries distinct information.

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

Completeness4/5

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

No output schema exists, but the description compensates by describing the returned object's shape and the null case in prose, so an agent knows what it will get. Combined with the auth requirement and sibling routing, it is nearly complete; only failure modes are unaddressed.

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?

Only one parameter and schema description coverage is 100% – the schema already explains the UUID format and the channel-read requirement. The description adds no additional parameter meaning beyond what the schema provides, 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 ('Read the explicit dispatch block on one thread') and immediately enumerates the returned fields (thread_id, reason, set_by, set_at, optional note) plus the null case. It also contrasts itself with the sibling tools that list, set, or clear blocks, so an agent can distinguish it 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 Guidelines5/5

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

Gives explicit routing: list_blocked_threads to enumerate every blocked thread in a channel, set_thread_block/clear_thread_block to mutate. It also states the operational consequence of a block (claim_next_thread skips it, explicit claim is refused), which tells the caller why to check this before claiming.

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