Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Execute reviewed Discord role configuration

execute_role_configuration
DestructiveIdempotent

Applies one reviewed partial Discord role update after verifying a fresh keyed plan and signed approval, then performs a single PATCH and validates exact readback.

Instructions

Apply one exact reviewed partial Discord role update only after a fresh matching keyed plan and signed interactive approval. Reserves a one-shot key, records pending content-free evidence, performs one non-retried PATCH, validates its complete response, and checks an exact role readback, complete role inventory, and complete role-member counts. Local images bind exact owned reviewed bytes before the write and bind Discord's response-assigned image hash for exact readback. Never targets @everyone or managed roles and never deletes, reorders, assigns, creates, 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": {
      "auditReason": "<auditReason>",
      "guildId": "<guildId>",
      "operationKey": "<operationKey>",
      "roleId": "<roleId>"
    },
    "name": "execute_role_configuration"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
hoistNo
roleIdYes
guildIdYes
roleIconNo
planDigestNo
auditReasonYes
mentionableNo
permissionsNoExact desired set of known permission names; unknown Discord bits are preserved
operationKeyYesUnique one-shot operation key; keep unchanged through review and never reuse after reservation
primaryColorNo
tertiaryColorNo
secondaryColorNo
grantPermissionsNo
revokePermissionsNo

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare destructive/write/open-world/idempotent flags; the description adds the mechanics that matter: one-shot key reservation, content-free pending evidence, a single non-retried PATCH, full response validation, role readback plus inventory and member-count checks, and no rollback. It also discloses the image-binding behavior (local reviewed bytes in, Discord-assigned hash for readback), which is invisible from annotations.

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?

It is front-loaded with the key precondition, which is good, but it compresses a dozen distinct behaviors into long multi-clause sentences that are hard to scan. Splitting the preconditions from the post-write verification steps would cost nothing and improve parsing.

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, 15-parameter, gated execution tool, the description covers preconditions, side effects, verification, and prohibited targets, and an output schema exists so return values need not be explained. What is missing is failure semantics — what happens when the plan digest does not match or readback fails — which an agent would want before invoking a non-retried write.

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 description coverage is only 13% across 15 parameters, so the description must carry the load. It does explain the critical ones implicitly — operationKey ('one-shot key', never reuse after reservation), planDigest ('matching keyed plan'), and roleIcon (exact owned reviewed bytes) — but it says nothing about permissions vs grantPermissions/revokePermissions, colors, hoist, mentionable, or auditReason, leaving a substantial semantic gap.

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 opens with a precise verb+resource+scope: 'Apply one exact reviewed partial Discord role update.' It distinguishes this from the planning sibling by requiring 'a fresh matching keyed plan and signed interactive approval' before the write, so an agent knows this is the execution step, not the planning step.

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 stated explicitly (fresh matching keyed plan, signed interactive approval) and hard exclusions are listed ('Never targets @everyone or managed roles'). It does not name the sibling planner directly, so the routing to plan_role_configuration is implied by 'reviewed plan' rather than stated.

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