Skip to main content
Glama
discord-mcp

discord-mcp

members_kick

DestructiveIdempotent

Remove a member from a Discord guild without banning them. Use it to force-disconnect a user while allowing them to rejoin later.

Instructions

Purpose: Kick (remove) a member from a guild. DESTRUCTIVE - they lose roles and must rejoin.

When to use: - Force-disconnect a member without banning them.

When NOT to use: - Permanent ban → use members_ban.

Returns: {kicked, user_id, guild_id}.

Security: gated by ConfirmRequired. Pass __confirm:true AND set MCP_DRY_RUN=false to actually kick.

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": {
      "guild_id": "<guild_id>",
      "user_id": "<user_id>"
    },
    "name": "members_kick"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYesMember to kick
guild_idYesGuild to kick from
__confirmNoSet true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned.
audit_reasonNoReason recorded in audit log (X-Audit-Log-Reason header)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description goes further by naming the concrete consequence ("they lose roles and must rejoin") and disclosing the ConfirmRequired gate plus the MCP_DRY_RUN=false prerequisite for an actual kick. This is behavior an agent cannot derive from the annotation flags alone.

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?

Front-loads the purpose and the destructive warning, then sections when-to-use, when-not-to-use, returns, and security. The Returns line is mildly redundant given an output schema exists, but every other sentence carries distinct information.

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 destructive mutation tool with four parameters, the definition covers consequences, the alternative tool, the confirmation requirement, and the dry-run environment prerequisite. With an output schema present, no additional return-value explanation is required.

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%, and each parameter already carries a description, so the baseline is 3. The description restates the __confirm/MCP_DRY_RUN gating that the schema already documents and never mentions audit_reason, so it adds little parameter meaning beyond the structured fields.

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 and resource ("Kick (remove) a member from a guild") and immediately marks the destructive consequence, which distinguishes it from the sibling members_ban named later. An agent can identify the operation without opening the schema.

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?

Explicitly gives a when-to-use case (force-disconnect without banning) and an explicit when-NOT-to-use case routing to members_ban for permanent bans. Both the positive and negative conditions are stated, leaving nothing to inference.

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