Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

members_prune

Destructive

Kick inactive Discord members with no roles after a set 1–30 day absence, or count them first with a dry run. Also prune members holding only specified roles.

Instructions

Kick members with no roles who have not been seen for days (1-30). dry_run=True only counts them. include_roles also prunes members holding only those roles.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "members_prune"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
daysNo
guildNo
reasonNo
dry_runNo
include_rolesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds real substance: exactly which members are targeted, that dry_run is a counting-only mode, and that include_roles widens the target set to members holding only those roles. It stops short of stating irreversibility or permission requirements.

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 short sentences, each adding a distinct fact, with the core targeting rule front-loaded and the two modifiers following. Nothing is redundant.

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

Completeness3/5

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

For a destructive, six-parameter operation with no output schema, the description covers the main selection logic and the dry-run safeguard well. Gaps remain around what `bot` and `guild` control, what `reason` is surfaced as, and what the tool returns when dry_run is false.

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 0%, so the description must carry the load. It does well for three of six parameters — `days` with a 1-30 bound, `dry_run` as count-only, and `include_roles` with a non-obvious semantic (prunes members holding only those roles). `bot`, `guild`, and `reason` receive no explanation at all.

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 states a specific verb and resource ('Kick members') and qualifies it precisely with two selection criteria (no roles, unseen for `days`). It is clearly distinct from listing/searching siblings like members_list, though it never names an alternative.

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

Usage Guidelines3/5

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

It implies a safe workflow by explaining that dry_run=True only counts, which is genuine usage guidance. However, it gives no explicit when-not guidance, no mention of prerequisites such as kick permissions, and no pointer to members_list/members_search for inspection before pruning.

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