Skip to main content
Glama

discord_bulk_ban

Destructive

Ban multiple users in a single API call to mitigate raids. Preview which users would be banned using dry run, then confirm to execute.

Instructions

Ban many users in a single call, intended for raid mitigation. SAFE BY DEFAULT: dry_run is true unless explicitly set to false, so call it first to preview the exact list of user IDs that would be banned, then re-call with dry_run:false to actually ban them. Requires both the Ban Members and Manage Server permissions. Returns counts of banned vs failed users; Discord rejects the whole call with an error if no user could be banned. Use discord_ban_member for a single ban with finer control.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoOptional reason recorded in the server audit log.
dry_runNoIf true (default), only returns the user IDs that would be banned without banning anyone. Set false to actually ban.
guild_idYesDiscord server (guild) ID (snowflake).
user_idsYesArray of user IDs (snowflakes) to ban (max 200 per call — Discord API limit).
delete_message_secondsNoAlso delete each user's messages from the last N seconds (0–604800, i.e. up to 7 days). Default 0.
Behavior5/5

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

Goes beyond annotations: describes safety pattern (dry_run default), permissions needed, error behavior (whole call fails if no user banned), return data (counts), and max limits (200 users). No contradiction with annotations.

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

Conciseness5/5

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

Concise yet comprehensive: purpose first, then safety, permissions, return info, and sibling differentiation. Every sentence adds value with no redundancy.

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

Completeness5/5

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

For a 5-parameter tool with no output schema, the description covers all relevant aspects: purpose, safe usage, permissions, return values, and error scenarios, making it fully complete for agent decision-making.

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

Parameters4/5

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

Schema coverage is 100% with descriptions, and the description adds significant value for the dry_run parameter (explaining the preview pattern) and reinforces the max 200 limit for user_ids. Other parameters are adequately covered by schema; thus better than baseline 3.

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

Purpose5/5

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

The description clearly states it bans many users in a single call, intended for raid mitigation, and explicitly distinguishes itself from discord_ban_member for single bans with finer control.

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

Usage Guidelines5/5

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

Provides explicit guidance: use dry_run to preview, then re-call to actually ban; requires Ban Members and Manage Server permissions; and suggests discord_ban_member for finer control. Includes both when-to-use and when-not-to-use.

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

Install Server

Other Tools

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