Skip to main content
Glama

discord_create_thread

Create a public or private Discord thread from an existing message or directly in a text or announcement channel, returning the new thread ID for follow-up actions.

Instructions

Create a thread, either branching from an existing message (pass message_id) or as a standalone thread in a text or announcement channel (omit message_id). Standalone creation fails if channel_id is a thread, a voice channel or a stage channel. Requires the Create Public Threads permission (or Create Private Threads for a private thread). Branching from a message requires the Read Message History permission. Returns the new thread's ID. Set private for a standalone thread in a text channel that only its members and moderators see. Adding people with member_ids requires the Send Messages in Threads permission; discord_add_thread_member adds them later. In a forum channel, use discord_create_forum_post instead.

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": "<name>"
    },
    "name": "discord_create_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the thread to create (max 100 characters).
privateNoOptional. True creates a standalone private thread, visible only to its members and to moderators; the bot joins it as its creator. Not available in an announcement channel, whose threads are public. Default false (public).
invitableNoOptional, private threads only. Whether members without Manage Threads can add other people to the thread. Discord's default is true.
channel_idYesID (snowflake) of the parent text or announcement channel. For a message-based thread, the channel containing message_id.
member_idsNoOptional. Up to 50 Discord user IDs (snowflakes) to add to the new thread; duplicates are added once. Needs Send Messages in Threads. A refused add, or one the call had no time left for, is reported in the result and leaves the thread in place.
message_idNoOptional. Message to branch the thread from. If omitted, a standalone thread is created in the channel.
auto_archive_durationNoMinutes of inactivity before auto-archiving: 60, 1440, 4320, or 10080. Default 1440 (24h).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.5.0
    • changedInput schema / properties / channel_id / description
      Previous value: -"ID (snowflake) of the parent text channel. For a message-based thread, the channel containing message_id."New value: +"ID (snowflake) of the parent text or announcement channel. For a message-based thread, the channel containing message_id."
    • addedInput schema / properties / invitable
      Added value: +{
      +  "description": "Optional, private threads only. Whether members without Manage Threads can add other people to the thread. Discord's default is true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / member_ids
      Added value: +{
      +  "description": "Optional. Up to 50 Discord user IDs (snowflakes) to add to the new thread; duplicates are added once. Needs Send Messages in Threads. A refused add, or one the call had no time left for, is reported in the result and leaves the thread in place.",
      +  "items": {
      +    "pattern": "^\\d{17,20}$",
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
    • addedInput schema / properties / name / maxLength
      Added value: +100
    • addedInput schema / properties / private
      Added value: +{
      +  "default": false,
      +  "description": "Optional. True creates a standalone private thread, visible only to its members and to moderators; the bot joins it as its creator. Not available in an announcement channel, whose threads are public. Default false (public).",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed4 schema fields changedv2.0.0
    • addedInput schema / properties / auto_archive_duration / default
      Added value: +1440
    • addedInput schema / properties / auto_archive_duration / enum
      Added value: +[
      +  60,
      +  1440,
      +  4320,
      +  10080
      +]
    • addedInput schema / properties / channel_id / pattern
      Added value: +"^\\d{17,20}$"
    • addedInput schema / properties / message_id / pattern
      Added value: +"^\\d{17,20}$"
  4. Changed4 schema fields changedv1.6.0
    • changedInput schema / properties / auto_archive_duration / description
      Previous value: -"Auto-archive after N minutes of inactivity (60, 1440, 4320, 10080). Default 1440 (24h)."New value: +"Minutes of inactivity before auto-archiving: 60, 1440, 4320, or 10080. Default 1440 (24h)."
    • addedInput schema / properties / channel_id / description
      Added value: +"ID (snowflake) of the parent text channel. For a message-based thread, the channel containing message_id."
    • changedInput schema / properties / message_id / description
      Previous value: -"Optional: message to start the thread from. If omitted, creates a standalone thread."New value: +"Optional. Message to branch the thread from. If omitted, a standalone thread is created in the channel."
    • changedInput schema / properties / name / description
      Previous value: -"Thread name."New value: +"Name of the thread to create (max 100 characters)."
  5. Addedv1.5.0
  6. Removedv1.0.0
  7. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description goes beyond that with concrete permission requirements (Create Public/Private Threads, Read Message History, Send Messages in Threads), the standalone-channel failure modes, and the return value (the new thread's ID). It does not discuss rate limits or partial-failure semantics beyond the schema's note.

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?

The two creation modes are front-loaded in the first sentence, followed by constraints, permissions, and the sibling alternative. It is dense and information-rich with little waste, though it runs long enough that a reader must track several permission clauses in one paragraph.

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?

For a 7-parameter mutation tool with no output schema, the description covers creation modes, permission prerequisites, failure conditions, privacy behavior, and the return value. An agent has everything needed to call it correctly or to redirect to the right sibling.

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 description coverage is 100%, so the baseline is 3. The description still adds value by framing message_id as the switch between branching and standalone creation and by tying private to standalone text-channel threads, clarifying cross-parameter interaction rather than restating field docs.

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?

Opens with a specific verb and resource ('Create a thread') and immediately splits the two creation modes by parameter (message_id present vs omitted). It also names the sibling to use instead for forum channels, so an agent can distinguish it from discord_create_forum_post without opening a 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 when-to-use branches (branch from message vs standalone in text/announcement channel), explicit failure conditions (standalone fails on thread, voice, or stage channels), and explicit routing away to discord_create_forum_post. It also points to discord_add_thread_member as the later alternative for adding members.

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