Skip to main content
Glama

discord_update_forum_post

Modify Discord forum posts by updating titles, tags, or changing archived and locked status for thread management.

Instructions

Update a forum post's title, archived/locked status, or applied tags.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thread_idYes
titleNoNew title for the forum post.
archivedNoWhether to archive the thread.
lockedNoWhether to lock the thread.
applied_tagsNoArray of tag IDs to apply to the post.

Implementation Reference

  • The handler for "discord_update_forum_post" that edits the thread using thread.edit.
    case "discord_update_forum_post": {
      const thread = await getThreadChannel(args.thread_id as string);
      const editOptions: Record<string, unknown> = {};
      if (args.title !== undefined) editOptions.name = args.title as string;
      if (args.archived !== undefined) editOptions.archived = args.archived as boolean;
      if (args.locked !== undefined) editOptions.locked = args.locked as boolean;
      if (args.applied_tags !== undefined) editOptions.appliedTags = args.applied_tags as string[];
      await thread.edit(editOptions);
      return { content: [{ type: "text", text: `✅ Forum post "${thread.name}" updated.` }] };
    }
  • The MCP schema definition for the tool "discord_update_forum_post".
    {
      name: "discord_update_forum_post",
      description: "Update a forum post's title, archived/locked status, or applied tags.",
      inputSchema: {
        type: "object",
        properties: {
          thread_id: { type: "string" },
          title: { type: "string", description: "New title for the forum post." },
          archived: { type: "boolean", description: "Whether to archive the thread." },
          locked: { type: "boolean", description: "Whether to lock the thread." },
          applied_tags: {
            type: "array",
            items: { type: "string" },
            description: "Array of tag IDs to apply to the post.",
          },
        },
        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