Skip to main content
Glama
discord-mcp

discord-mcp

channels_create_guild_channel

Create a new Discord guild channel—text, voice, category, announcement, forum, or media—with type, parent category, and permissions for programmatic server setup.

Instructions

Purpose: Create a new channel in a guild (text, voice, category, announcement, forum, etc.).

When to use: - Programmatic guild bootstrap; tier-based channel provisioning.

When NOT to use: - Threads - use messages_create_thread, channels_forum_create_thread, or thread-specific tools.

Type values (from Discord API): 0 GUILD_TEXT, 2 GUILD_VOICE, 4 GUILD_CATEGORY, 5 GUILD_ANNOUNCEMENT, 13 GUILD_STAGE_VOICE, 14 GUILD_DIRECTORY, 15 GUILD_FORUM, 16 GUILD_MEDIA. Pick fields that match the type - extra fields are ignored by Discord.

Example: {guild_id:"…", name:"announcements", type:5, parent_id:"…"}

Returns: {id, name, type, parent_id, available_tags?, applied_tags?}. Forum/media tags include their Discord-assigned IDs, names, moderation and emoji fields.

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": {
      "guild_id": "<guild_id>",
      "name": "<name>"
    },
    "name": "channels_create_guild_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesChannel name (1-100 chars)
nsfwNoMark as NSFW
typeNoDiscord channel type (omit for default GUILD_TEXT=0)
topicNoChannel topic (text/forum/announcement only)
bitrateNoVoice bitrate in bps (voice/stage)
guild_idYesTarget guild
positionNoSort position
parent_idNoCategory to nest under
rtc_regionNoVoice region override (voice/stage)
user_limitNoVoice user cap (0 = no limit)
audit_reasonNoReason recorded in audit log (X-Audit-Log-Reason header)
available_tagsNoForum tag set
default_sort_orderNoForum sort order (0 LATEST_ACTIVITY, 1 CREATION_DATE)
video_quality_modeNo1 AUTO, 2 FULL (voice/stage)
rate_limit_per_userNoSlowmode in seconds (0-21600)
default_forum_layoutNoForum layout (0 NOT_SET, 1 LIST_VIEW, 2 GALLERY_VIEW)
permission_overwritesNoPermission overwrites to seed at creation
default_reaction_emojiNoForum default reaction (emoji_id OR emoji_name)
default_auto_archive_durationNoDefault thread auto-archive (60/1440/4320/10080 minutes)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.28.0
    • removedInput schema / properties / available_tags / items / properties / emoji_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / available_tags / items / properties / emoji_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / available_tags / items / properties / emoji_name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / available_tags / items / properties / emoji_name / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / default_reaction_emoji / properties / emoji_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / default_reaction_emoji / properties / emoji_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / default_reaction_emoji / properties / emoji_name / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / default_reaction_emoji / properties / emoji_name / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": {},
      -    "properties": {
      -      "id": {
      -        "description": "Discord channel ID (snowflake)",
      -        "pattern": "^\\d{17,20}$",
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "parent_id": {
      -        "anyOf": [
      -          {
      -            "description": "Discord channel ID (snowflake)",
      -            "pattern": "^\\d{17,20}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "type": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "type",
      -      "parent_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"
      +      },
      +      "available_tags": {
      +        "description": "Complete forum/media tags, including IDs, names, moderation and emoji fields, when returned by Discord",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "emoji_id": {
      +              "anyOf": [
      +                {
      +                  "pattern": "^\\d{17,20}$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "emoji_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "id": {
      +              "pattern": "^\\d{17,20}$",
      +              "type": "string"
      +            },
      +            "moderated": {
      +              "type": "boolean"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name",
      +            "moderated",
      +            "emoji_id",
      +            "emoji_name"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "id": {
      +        "description": "Discord channel ID (snowflake)",
      +        "pattern": "^\\d{17,20}$",
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "parent_id": {
      +        "anyOf": [
      +          {
      +            "description": "Discord channel ID (snowflake)",
      +            "pattern": "^\\d{17,20}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "type": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "type",
      +      "parent_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.5/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), and the description adds real context on top: the Discord type enumeration, the rule that extra fields are silently ignored per type, and that forum/media tags receive Discord-assigned IDs. It stops short of mentioning required permissions (e.g. Manage Channels) or rate-limit behavior, which would matter for a creation call.

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?

Front-loaded with purpose and routing before details, using labeled sections and a compact example, so the agent can stop reading early and still act correctly. The "Returns" sentence is partly redundant since an output schema is supplied, and it is the one paragraph that does not fully earn its space.

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 19-parameter creation tool with nested objects, the definition covers the discriminating detail agents most often get wrong (type selection and field-to-type compatibility) and defers return shape to the output schema. The notable omission is authorization requirements and failure modes for a write operation against an external service (openWorldHint=true).

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 coverage is 100%, so the baseline is 3; the description earns an extra point by enumerating the concrete type integer values (0/2/4/5/13/14/15/16) and mapping which fields apply to which type, which the schema only partially conveys. The worked example with guild_id, name, type:5, parent_id further clarifies how to combine type-specific fields.

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 new channel in a guild") and immediately enumerates the channel flavors covered (text, voice, category, announcement, forum). The explicit delimiter against thread creation makes it easy to separate from sibling tools such as channels_forum_create_thread and messages_create_thread.

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?

Provides an explicit "When to use" section (programmatic guild bootstrap, tier-based provisioning) and a "When NOT to use" section that names the exact alternative tools for threads. This is the strongest form of routing guidance: positive context plus named substitutes.

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