Skip to main content
Glama
discord-mcp

discord-mcp

channels_forum_create_thread

Creates a forum or media thread with an initial message in a single request, enabling programmatic onboarding posts and Q&A thread creation in Discord forum channels.

Instructions

Purpose: Create a new forum (or media) thread with an initial message in one request.

When to use: - Forum-channel onboarding flows; programmatic question/answer post creation.

When NOT to use: - Anchored thread on an existing message → use messages_create_thread. - Plain text channels - Discord rejects.

Body shape: requires nested message (the initial post). At least one of message.content, message.embeds, or message.components must be present.

Returns: {thread_id, parent_id, message_id, applied_tags?}. Post tag IDs are preserved when returned by Discord.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThread (post) name (1-100 chars)
messageYesInitial forum post body. At least one of content/embeds/components required.
channel_idYesParent forum/media channel
applied_tagsNoForum tag IDs to apply to the thread
audit_reasonNoReason recorded in audit log (X-Audit-Log-Reason header)
rate_limit_per_userNo
auto_archive_durationNoAuto-archive after N minutes (60, 1440, 4320, or 10080)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.28.0
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": {},
      -    "properties": {
      -      "message_id": {
      -        "anyOf": [
      -          {
      -            "description": "Discord message ID",
      -            "pattern": "^\\d{17,20}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "parent_id": {
      -        "anyOf": [
      -          {
      -            "description": "Discord channel ID (snowflake)",
      -            "pattern": "^\\d{17,20}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "thread_id": {
      -        "description": "Discord channel ID (snowflake)",
      -        "pattern": "^\\d{17,20}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "thread_id",
      -      "parent_id",
      -      "message_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "category": {
      -        "enum": [
      -          "client",
      -          "server"
      -        ],
      -        "type": "string"
      -      },
      -      "code": {
      -        "type": "string"
      -      },
      -      "recovery_hint": {
      -        "type": "string"
      -      },
      -      "retriable": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "retriable",
      -      "category",
      -      "recovery_hint"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": {},
      +    "properties": {
      +      "applied_tags": {
      +        "description": "Tag IDs applied to a forum/media post, when returned by Discord",
      +        "items": {
      +          "pattern": "^\\d{17,20}$",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "message_id": {
      +        "anyOf": [
      +          {
      +            "description": "Discord message ID",
      +            "pattern": "^\\d{17,20}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "parent_id": {
      +        "anyOf": [
      +          {
      +            "description": "Discord channel ID (snowflake)",
      +            "pattern": "^\\d{17,20}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "thread_id": {
      +        "description": "Discord channel ID (snowflake)",
      +        "pattern": "^\\d{17,20}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "thread_id",
      +      "parent_id",
      +      "message_id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "category": {
      +        "enum": [
      +          "client",
      +          "server"
      +        ],
      +        "type": "string"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "recovery_hint": {
      +        "type": "string"
      +      },
      +      "retriable": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "retriable",
      +      "category",
      +      "recovery_hint"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observedv0.22.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the mutation/safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false), so the bar is lower. The description adds real value beyond that: the nested `message` requirement, the at-least-one-of content/embeds/components constraint, and the channel-type rejection rule. It does not mention audit-log behavior or rate-limit effects, which are the remaining gaps.

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?

Labeled sections (Purpose / When to use / When NOT to use / Body shape / Returns) front-load the decision-relevant content and are easy to scan. Slightly verbose with the returns line duplicating the output schema, but no sentence is filler.

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 a 7-parameter nested-object mutation with an output schema present, the description covers purpose, routing, the nested body constraint, and a return summary. The returns line is redundant given the output schema, and audit_reason/rate_limit_per_user effects go unexplained, but nothing needed to call it correctly is missing.

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 description coverage is 86%, so the schema already documents channel_id, name, applied_tags, audit_reason, and auto_archive_duration, and the baseline of 3 applies. The description restates the nested message body rule, which is largely duplicated in the schema, and only adds marginal meaning with 'Post tag IDs are preserved when returned' for applied_tags.

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 ('Create a new forum (or media) thread with an initial message') plus the key behavioral fact that the initial post is bundled into the same request. That scope detail distinguishes it cleanly from messages_create_thread, which creates a thread anchored on an existing message.

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?

Explicit when-to-use (forum onboarding, programmatic Q&A posts) and when-NOT-to-use, including the named alternative `messages_create_thread` for anchored threads and a hard exclusion for plain text channels that Discord rejects. All routing decisions are stated rather than inferred.

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