Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Plan Discord member role change

plan_member_role_change
Read-onlyIdempotent

Prepares a one-shot, keyed plan to add or remove a single Discord member role, validating permissions, hierarchy, allowlists, and impact before any write.

Instructions

Prepare a process-bound keyed plan for one exact Discord member-role add or remove. Verifies pinned application and bot identity, separate exact guild and role allowlists, protected and special-member boundaries, complete roles, continuity-stable complete direct-channel metadata, MANAGE_ROLES, strict bot and target hierarchy, add-time permission escalation constraints, unknown-bit evidence, and bounded before-and-after guild and channel impact without writing or persisting names, permissions, or audit reasons. Any obfuscated channel blocks both actions.

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>",
      "roleId": "<roleId>",
      "userId": "<userId>"
    },
    "name": "plan_member_role_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
roleIdYes
userIdYes
guildIdYes
auditReasonYes
operationKeyYesUnique one-shot operation key; keep unchanged through review and never reuse after reservation

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description corroborates this by stating nothing is written and names, permissions, and audit reasons are not persisted, which is useful reinforcement rather than contradiction. It also discloses the substantive verification surface (MANAGE_ROLES, hierarchy, escalation constraints, allowlists, obfuscated-channel blocking) that annotations cannot express, though it says nothing about the openWorldHint=true external-call behavior.

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?

Purpose is front-loaded and nothing is filler, but the second half collapses roughly a dozen verification clauses into one comma-and-'and'-chained sentence, making it harder to parse than it needs to be. A short bulleted or separated enumeration of the verified boundaries would preserve the content with better structure.

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?

An output schema exists, so return-value explanation is not required, and the verification checklist is thorough for a mutation-adjacent planning tool. What is missing is lifecycle context: that this produces a plan to be consumed by an execute tool, and that a blocking verification failure yields no plan at all — an agent could be unsure what to do next after calling it.

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?

With only 17% schema description coverage, the description carries most of the load and does so meaningfully: it clarifies that guildId and roleId are separate exact allowlists, that userId is subject to protected-member and hierarchy boundaries, that auditReason is never persisted, and that operationKey makes the plan 'process-bound' and keyed. It stops short of explaining the add/remove enum difference or id format expectations, but it adds real domain semantics beyond the 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?

Opens with a specific verb and resource: 'Prepare a process-bound keyed plan for one exact Discord member-role add or remove.' The phrase 'one exact' implicitly separates it from plan_bulk_member_role_change, and 'plan' separates it from execute_member_role_change, though neither sibling is named.

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 only implied: the agent must infer that this is the pre-flight step before execute_member_role_change and that single-target use belongs here while bulk belongs elsewhere. There is no explicit when-to-use, when-not-to-use, or named alternative, so an agent unfamiliar with the plan/execute split gets no direct routing.

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