Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Plan exact Discord member moderation

plan_member_moderation
Read-onlyIdempotent

Prepare a verified one-shot plan for a Discord kick, ban, timeout, timeout removal, or unban without writing changes, so moderators can review permissions, state, and safety evidence first.

Instructions

Prepare a process-bound keyed plan for one exact Discord kick, ban, timeout, timeout removal, or unban. Timeout requires exactly one of durationMinutes, durationSeconds or fixed absolute timeoutUntil. Duration expiry is dispatch-relative; an absolute deadline is preserved losslessly and refused if expired, with provider precision and transit behavior unverified. Verifies pinned application and bot identities, protected-user policy, current member or ban state, complete permission and hierarchy evidence, a fresh-readback boundary, and a one-shot operation key without writing.

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": {
      "action": "<action>",
      "auditReason": "<auditReason>",
      "guildId": "<guildId>",
      "operationKey": "<operationKey>",
      "userId": "<userId>"
    },
    "name": "plan_member_moderation"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
userIdYes
guildIdYes
auditReasonYes
operationKeyYesUnique one-shot operation key; keep unchanged through review and never reuse after reservation
timeoutUntilNoFixed absolute timeout deadline, mutually exclusive with durationMinutes and durationSeconds; no rounding or dispatch rebasing
durationMinutesNo
durationSecondsNoExplicit timeout duration in seconds, mutually exclusive with durationMinutes and timeoutUntil; expiry is calculated at final dispatch
deleteMessageSecondsNo

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A3.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint, destructiveHint=false) by naming the checks performed: pinned application and bot identities, protected-user policy, member/ban state, permission and hierarchy evidence, a fresh-readback boundary, and a one-shot operation key. It also discloses real limitations ('provider precision and transit behavior unverified', absolute deadlines 'refused if expired'), which is exactly the honesty an agent needs before acting on a plan.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and free of filler, but the prose is dense and jargon-heavy ('process-bound keyed plan', 'fresh-readback boundary', 'preserved losslessly'), making it harder to parse than necessary. The verification checklist is packed into one long clause where a short enumeration would read better.

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 complex pre-flight planning tool with an output schema to explain results, the description covers the essential contract: no writes, what is verified, timeout input rules, and one-shot key semantics. What is missing is failure behavior and the handoff to the execute sibling.

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?

With schema coverage at 33%, the description must carry weight; it does clarify timeout input rules ('exactly one of durationMinutes, durationSeconds or fixed absolute timeoutUntil') and the dispatch-relative vs absolute deadline distinction. It adds nothing about auditReason, deleteMessageSeconds, guildId, userId, or the operationKey lifecycle, leaving nearly half the parameters dependent on raw schema.

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?

States a specific verb and resource: 'Prepare a process-bound keyed plan' for 'one exact Discord kick, ban, timeout, timeout removal, or unban', enumerating the exact action set from the enum. The 'without writing' clause separates it from the execute_* siblings, though it never names execute_member_moderation as the follow-up step.

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?

Usage is implied rather than stated: the plan/execute split with 'without writing' suggests this is the review step preceding a write. It never says when to skip planning or which sibling actually performs the action, so an agent must infer the workflow from the name prefix.

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