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...
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.
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.
Attacks that exploit this kind of access
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.
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.
discord_edit_message is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
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.
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.
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.
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 →