Skip to main content
Glama

create_thread

Create a task thread in a channel to dispatch work, attach task details, and optionally supersede a prior round so its dependents and open pull requests transfer to the new thread.

Instructions

Create a thread in a channel. Requires workspace:write and access to the channel, the same rule as POST /channels/{cid}/threads. title, description (what the task asks for) and parent_thread_id are optional. A spawn the budget refuses is refused here too. With supersedes, the named thread (an open or in-review thread you may close: its producer, its claim holder, or a maintainer, with thread:transition) is closed as superseded by the new one in the same transaction, as close_abandoned_thread with duplicate_of would close it: its dependents move to the new thread and the open pull requests the change flow opened for it are handed to it, not withdrawn, and it does not hold its ticket against the new thread. Use it for a follow-up round of a task. Any refusal creates nothing.

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": "create_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
priorityNodispatch priority, stored with the thread; higher is claimed first (default 0)
footprintNothe task's claim footprint, stored with the thread so the claim queue never sees it without one (the shape set_thread_footprint takes, without thread_id)
attributesNothe task's attributes, stored with the thread (the shape set_thread_attributes takes, without thread_id)
channel_idYes
supersedesNoa thread this one replaces, such as the previous round of the same task; it is closed as superseded by the new thread, which takes its dependents and its open pull requests
descriptionNoWhat the task asks for, in the creator's words. The task's sheet shows it, and advice on the hand-off is read against it.
parent_thread_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations it discloses atomicity ('in the same transaction', 'Any refusal creates nothing'), the budget-refusal behavior, the extra thread:transition authorization for superseding, and exactly what happens to dependents and open pull requests. The one gap is that closing another thread as superseded sits oddly next to destructiveHint=false, though the side effect is fully disclosed rather than hidden.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and precondition are front-loaded, but the supersedes sentence is a single dense run-on packing authorization, transactionality, dependents, pull requests and ticket behavior. Almost every clause is informative, yet splitting it would greatly improve scanability.

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?

For an 8-parameter mutation with nested objects and no output schema, the description covers the material risks: authorization, budget refusal, atomicity, and the cascading effects of supersedes. It says nothing about what is returned (e.g. the new thread id), which is the main remaining gap.

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?

At 63% schema coverage the description still adds real meaning: it flags title, description and parent_thread_id as optional, glosses description as 'what the task asks for', and expands supersedes well beyond its schema text with permissions, transaction semantics, and the dependents/PR hand-off. priority, footprint and attributes are left entirely to the schema.

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 opening sentence states a specific verb and resource ('Create a thread in a channel') and the closing sentence narrows the intent ('Use it for a follow-up round of a task'). It does not explicitly contrast against sibling creators like create_channel or create_delegation_grant, but the thread-scoped purpose is unambiguous.

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?

It names the prerequisite (workspace:write plus channel access) and gives a positive use case ('a follow-up round of a task') with the supersedes path spelled out in detail. It stops short of stating when not to use it or naming an alternative creator tool for the non-follow-up case.

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