Skip to main content
Glama
discord-mcp

discord-mcp

discord_purge_messages

Bulk delete up to 100 recent messages in a Discord channel, optionally filtering by user ID to remove only messages from a specific user.

Instructions

Bulk delete multiple recent messages in a channel (up to 100), with optional user filtering.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "channel_id": "<channel_id>",
      "amount": "<amount>"
    },
    "name": "discord_purge_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesNumber of messages to delete (1-100).
user_idNoOptional user ID to only delete messages from this user.
guild_idNoOptional guild ID.
channel_idYesChannel ID or name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden, and it says nothing about irreversibility, required permissions, rate limits, or Discord's rule that pinned and older messages cannot be bulk deleted. 'Recent messages' weakly gestures at the age limit but is never explained, and there is no indication of what the call returns or how partial failures are reported.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the operation and its limit, with zero filler. It could carry one more clause of behavioral context without becoming bloated, so it is efficient but slightly over-lean for a destructive tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an irreversible bulk mutation with no annotations and no output schema, the description omits too much that an agent needs before invoking: permission requirements, the 14-day/pinned-message restrictions, and confirmation/irreversibility warnings. The parameter story is covered by the schema, but the operational safety story is not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter is already documented and the description only restates 'up to 100' and 'optional user filtering'. It adds no semantics beyond the schema, such as whether channel_id accepts a name as the schema claims or how user_id interacts with the amount cap — baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Bulk delete multiple recent messages in a channel') plus a hard scope ('up to 100') and an optional filter, which implicitly separates it from the single-message delete sibling. It stops short of naming an alternative tool, but the word 'bulk' and 'multiple' make the operation unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'bulk delete multiple' suggests this is for cleanup of several messages at once rather than a single removal. There is no explicit statement of when to prefer it over the single-message delete or search-then-delete flow, and no mention of prerequisites such as Manage Messages permission.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools