Skip to main content
Glama
discord-mcp

discord-mcp

discord_ban_member

Ban a user from a Discord server, optionally purging recent message history by specifying seconds and adding a ban reason.

Instructions

Ban a member or user from the server with optional message deletion history.

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_id": "<user_id>"
    },
    "name": "discord_ban_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoBan reason.
user_idYesUser ID or mention.
guild_idNoOptional guild ID.
delete_message_secondsNoSeconds of message history to purge (0-604800, e.g. 86400 for 1 day).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and largely fails it: it never states that a ban is destructive and persistent, that it works on users who are not currently members (given the 'user' wording), what permissions are needed, or how the purge of message history interacts with the ban. The word 'optional' only hints at configurability, not at the irreversible consequences of the purge.

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?

A single front-loaded sentence that states the primary action first and the optional side effect second, with no filler. It could carry one more clarifying clause about irreversibility without becoming bloated.

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 a destructive moderation mutation with zero annotations and no output schema, the description should disclose irreversibility, permission requirements, and whether the ban applies to non-members. It omits all of these, leaving the agent to guess at the consequences of calling it, even though the input schema itself is fully described.

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 all four parameters (user_id, reason, guild_id, delete_message_seconds) are already documented in the schema, including the 0-604800 range example. The description's phrase 'optional message deletion history' loosely maps to delete_message_seconds but adds no syntax, defaults, or constraints beyond the schema, so the baseline of 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 names a specific verb and resource ('Ban a member or user from the server') plus a secondary capability ('optional message deletion history'), so the action is unambiguous. It does not, however, distinguish itself from adjacent moderation siblings such as discord_kick_member, discord_timeout_member, or discord_quarantine_member, which an agent may confuse it with.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to ban versus kick, timeout, or quarantine, and no statement of prerequisites such as required permissions or whether the target must currently be in the guild. The agent must infer the selection criteria entirely from sibling names.

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