Skip to main content
Glama

discord_delete_webhook

Delete Discord webhooks by ID to manage integrations and remove unused endpoints. This tool removes webhooks from Discord servers to maintain clean configurations.

Instructions

Delete a webhook.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
webhook_idYes

Implementation Reference

  • The handler logic for 'discord_delete_webhook' which fetches the webhook and deletes it.
    case "discord_delete_webhook": {
      const webhookId = validateId(args.webhook_id, "webhook_id");
      const webhook = await discord.fetchWebhook(webhookId);
      const webhookName = webhook.name;
      await webhook.delete();
      return { content: [{ type: "text", text: `✅ Webhook "${webhookName}" (id: ${webhookId}) deleted.` }] };
    }
  • Input schema definition for the 'discord_delete_webhook' tool.
      name: "discord_delete_webhook",
      description: "Delete a webhook.",
      inputSchema: {
        type: "object",
        properties: {
          webhook_id: { type: "string" },
        },
        required: ["webhook_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