Skip to main content
Glama

discord_bulk_ban

Destructive

Ban many users in a single call for raid mitigation. Dry run previews resolved user IDs before actual ban. Requires Ban Members permission.

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 resolved user IDs, then re-call with dry_run:false to actually ban them. Requires the Ban Members permission. Returns counts of banned vs failed users. Use discord_ban_member for a single ban with finer control.

Input Schema

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

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

Annotations already mark destructiveHint: true and readOnlyHint: false. The description adds valuable behavioral details: dry_run default ensures safety, requires specific permission, and returns counts of banned vs failed users.

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?

Description is brief and front-loaded with purpose. Each sentence serves a distinct purpose: stating mission, safety workflow, permission requirement, return info, and sibling distinction.

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

Completeness4/5

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

Covers key aspects: safety workflow, permission, return value (counts). Missing details about edge cases like already-banned users or nonexistent IDs, but overall sufficient for most use cases.

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 coverage is 100%, so baseline is 3. The description explains the dry_run parameter's default and purpose, which adds context but does not significantly deepen semantic understanding of other parameters.

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 the tool's purpose: 'Ban many users in a single call, intended for raid mitigation.' It directly distinguishes from the sibling discord_ban_member by specifying it is for a single ban 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: dry_run safety workflow (call first to preview, then re-call with dry_run:false), required permission ('Requires the Ban Members permission'), and differentiation from the single-ban alternative.

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