Skip to main content
Glama

discord_create_forum_channel

Create a forum channel in a Discord server to organize discussions with specific topics and guidelines.

Instructions

Create a new forum channel in a guild.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
guild_idYes
nameYes
topicNoThe forum channel guidelines/topic.
category_idNoParent category ID (optional).

Implementation Reference

  • Implementation of the discord_create_forum_channel tool handler.
    case "discord_create_forum_channel": {
      const guild = await discord.guilds.fetch(validateId(args.guild_id, "guild_id"));
      const created = await guild.channels.create({
        name: args.name as string,
        type: ChannelType.GuildForum,
        topic: args.topic as string | undefined,
        parent: args.category_id as string | undefined,
      });
      return { content: [{ type: "text", text: `✅ Forum channel #${created.name} created (id: ${created.id}).` }] };
    }
  • Tool definition and input schema for discord_create_forum_channel.
    {
      name: "discord_create_forum_channel",
      description: "Create a new forum channel in a guild.",
      inputSchema: {
        type: "object",
        properties: {
          guild_id: { type: "string" },
          name: { type: "string" },
          topic: { type: "string", description: "The forum channel guidelines/topic." },
          category_id: { type: "string", description: "Parent category ID (optional)." },
        },
        required: ["guild_id", "name"],
      },
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PaSympa/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server