Skip to main content
Glama
Discord MCP - Discord server management MCP for AI agents

Discord MCP - Discord server management MCP for AI agents

Bulk ban

bulk_ban
Destructive

Bans up to 200 users by ID for raid cleanup, with a preview-and-confirm step: the first call returns a token, and repeating with the token performs the bans and reports results.

Instructions

Ban up to 200 users at once by ID, for raid cleanup. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token performs the bans. Reports which bans succeeded and which failed.

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": {
      "user_ids": "<user_ids>"
    },
    "name": "bulk_ban"
  }
}

Input Schema

NameRequiredDescriptionDefault
guildNoGuild (server) name or ID. Omit to use the default guild.
reasonNoThe reason recorded in the server's audit log.
dry_runNoIf true, nothing is changed: the result shows what this call would do.
user_idsYesUser IDs to ban.
confirm_tokenNoThe token from this exact action's preview. Where the app can show a confirmation dialog, calling with it asks the user there, and it happens only if they agree.
delete_message_secondsNoAlso delete each banned user's messages from this many seconds back, up to 604800 (7 days). Default 0, nothing deleted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.2
    • addedInput schema / properties / delete_message_seconds / description
      Added value: +"Also delete each banned user's messages from this many seconds back, up to 604800 (7 days). Default 0, nothing deleted."
    • addedInput schema / properties / dry_run / description
      Added value: +"If true, nothing is changed: the result shows what this call would do."
    • addedInput schema / properties / reason / description
      Added value: +"The reason recorded in the server's audit log."
  2. Changed2 schema fields changedv1.4.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / confirm_token / description
      Added value: +"The token from this exact action's preview. Where the app can show a confirmation dialog, calling with it asks the user there, and it happens only if they agree."
  3. Changed1 schema field changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observedv1.0.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag a destructive mutation, and the description adds substantial non-obvious behavior: the first call is non-mutating and returns a preview plus confirm_token, replaying with the token performs the bans, and results distinguish successes from failures. 'Safe to call directly' is reconciled by the preview step rather than contradicting the destructive annotation.

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?

Three compact sentences front-load the scope and use case, then explain the safety flow. There is no filler, and the preview/confirm mechanism is easy to follow.

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?

For a destructive bulk mutation without an output schema, it covers the confirmation protocol and result reporting adequately. Permission requirements and partial-failure edge cases are not detailed, but annotations and schema cover much of the remaining burden.

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 description coverage is 100%, so field-level meaning is already documented. The description adds cross-parameter semantics for confirm_token and clarifies the 200-ID bulk scope, giving useful meaning beyond the schema.

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?

States a specific verb ('Ban'), resource ('users'), and scope ('up to 200 ... by ID'), plus the intended use case ('raid cleanup'). This distinguishes it clearly from the singular ban_member sibling.

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

Usage Guidelines4/5

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

Identifies raid cleanup as the scenario and explains the preview/confirm sequence needed for safe invocation. It does not explicitly name the single-user alternative or state when not to use the bulk form, but the context is clear.

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