Skip to main content
Glama

discord_delete_forum_post

Delete a Discord forum post by providing its thread ID. This tool removes forum threads from Discord servers to manage discussions.

Instructions

Delete (close) a forum post/thread.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thread_idYes

Implementation Reference

  • The handler for 'discord_delete_forum_post' which retrieves the thread channel and deletes it.
    case "discord_delete_forum_post": {
      const thread = await getThreadChannel(args.thread_id as string);
      const threadName = thread.name;
      await thread.delete();
      return { content: [{ type: "text", text: `✅ Forum post "${threadName}" deleted.` }] };
    }
  • Input schema definition for the 'discord_delete_forum_post' tool.
    {
      name: "discord_delete_forum_post",
      description: "Delete (close) a forum post/thread.",
      inputSchema: {
        type: "object",
        properties: {
          thread_id: { type: "string" },
        },
        required: ["thread_id"],
      },
    },

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