discord_edit_message

Webhookで送信したメッセージを編集します。 content、embedsのいずれか最低1つが必要です。 環境変数DISCORD_WEBHOOK_URLに設定されたWebhookを使用します。 ⚠️ レート制限: 30リクエスト/分/チャンネル Args: - message_id (string, required): 編集するメッセージID - content (string, optional): 新しいメッセージ内容(1-2000文字) - embeds (array, optional): 新しいEmbedの配列(最大10個、合計6000文字以内) - allowed_me...

Server Discord Webhook MCP kongyo2/discord-mcp
Category Write
Risk class Medium
Parameters 00 required

What discord_edit_message does on Discord Webhook MCP

AI agents use discord_edit_message to create or update resources in Discord Webhook MCP — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Discord Webhook MCP environment.

Why discord_edit_message needs a policy

This tool modifies existing data (Discord messages) reversibly. It does not delete data (which would be Destructive), nor does it execute arbitrary code or perform financial operations. The modification is reversible via subsequent edits. Severity is medium because while message edits could be misused to alter communication history, the action is limited to messages sent by the webhook and is not irreversible.

From the tool's definition Tool description states it 'edits' messages (discord_edit_message) sent via webhook. The function modifies existing Discord messages by updating content and/or embeds, which is a reversible data modification operation.

Questions about discord_edit_message

What does the discord_edit_message tool do? +

Webhookで送信したメッセージを編集します。 content、embedsのいずれか最低1つが必要です。 環境変数DISCORD_WEBHOOK_URLに設定されたWebhookを使用します。 ⚠️ レート制限: 30リクエスト/分/チャンネル Args: - message_id (string, required): 編集するメッセージID - content (string, optional): 新しいメッセージ内容(1-2000文字) - embeds (array, optional): 新しいEmbedの配列(最大10個、合計6000文字以内) - allowed_mentions (object, optional): 許可されたメンション設定 Returns: {. It is categorised as a Write tool in the Discord Webhook MCP MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on discord_edit_message? +

Register the Discord Webhook MCP server in PolicyLayer and add a rule for discord_edit_message: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Discord Webhook MCP. Nothing to install.

What risk level is discord_edit_message? +

discord_edit_message is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit discord_edit_message? +

Yes. Add a rate_limit block to the discord_edit_message rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block discord_edit_message completely? +

Set action: deny in the PolicyLayer policy for discord_edit_message. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides discord_edit_message? +

discord_edit_message is provided by the Discord Webhook MCP server (kongyo2/discord-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.