messages_bulk_delete
Delete 2-100 Discord messages in one request to clear spam or clean up after moderation. Irreversible; requires confirmation.
Instructions
Purpose: Bulk-delete 2-100 messages from a channel in one request. DESTRUCTIVE - IRREVERSIBLE.
When to use:
Sweep spam / raid messages.
Bulk cleanup after a moderation incident.
When NOT to use:
Single message → use
messages_delete.Messages older than 14 days - Discord rejects with 400.
Example: {channel_id:"111122223333444455", message_ids:["111122223333444456","111122223333444457"], __confirm:true}
Returns: {deleted, channel_id, count}.
Security: gated by ConfirmRequired precondition. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| __confirm | No | Set true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned. | |
| channel_id | Yes | Channel containing the messages | |
| message_ids | Yes | Message IDs to delete (2-100, all must be ≤14 days old) | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||