Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Execute reviewed Discord member role change

execute_member_role_change
DestructiveIdempotent

Add or remove one exact Discord member role after reviewed approval, using a one-shot operation key and audit records.

Instructions

Execute one reviewed exact Discord member-role add or remove after a fresh matching complete-evidence plan, signed interactive approval, a unique one-shot operation-key reservation, pending content-free audit records, one non-retried PUT or DELETE, and exact member readback. Never replaces the complete role array, retries, or rolls back.

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": "execute_member_role_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
roleIdYes
userIdYes
guildIdYes
planDigestNo
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

A4.1/5.0
Behavior4/5

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

Annotations already declare destructive, non-read-only, open-world, idempotent, but the description adds substantial detail beyond them: a single non-retried PUT or DELETE, exact member readback afterward, content-free audit records, and no rollback on failure. It does not cover permission requirements or what happens when a plan turns stale at execution time, which keeps it off a 5.

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?

It is a single front-loaded sentence with no filler, and the leading verb plus resource appear first. The middle clause chain ('signed interactive approval, a unique one-shot operation-key reservation, pending content-free audit records, one non-retried PUT or DELETE') is dense enough to be hard to parse on one read.

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 destructive, single-attempt write with an output schema, the description covers the safety envelope: plan match, approval, key reservation, no retry, no rollback, and readback verification. Missing pieces are the authorization model and error behavior for a mismatched or expired plan digest.

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 only 14 percent, so the description has to carry most parameter meaning; it does tie 'fresh matching complete-evidence plan' to planDigest and 'one-shot operation-key reservation' to operationKey. However, action's add/remove semantics, guildId, userId, roleId, and auditReason are left entirely to their patterns and names.

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?

The description names a specific verb and resource ('Execute one reviewed exact Discord member-role add or remove') and scopes it to a single member-role pair, which distinguishes it from bulk and planning siblings without needing their names. The word 'exact' plus 'never replaces the complete role array' also separates it from any array-replacement role tool.

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

Usage Guidelines4/5

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

Preconditions are spelled out concretely: a fresh matching complete-evidence plan, signed interactive approval, a one-shot operation-key reservation, and pending audit records must all exist first. Exclusions are stated ('never replaces the complete role array, retries, or rolls back'), though alternative tools such as the planner or the bulk executor are only implied rather than named.

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