Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Execute reviewed Discord role order

execute_role_order
DestructiveIdempotent

Applies one exact reviewed relative Discord role-order change after a fresh keyed plan and signed approval, then validates the complete hierarchy and holder counts without retry or rollback.

Instructions

Apply one exact reviewed relative Discord role-order change only after a fresh matching keyed plan and signed interactive approval. Durably coordinates the complete guild role collection plus target and anchor roles, reserves a one-shot key, records pending content-free evidence, performs one non-retried target-position PATCH, validates its complete response, and verifies the complete hierarchy plus aggregate holder counts. Never targets @everyone, managed roles, or connector-held roles and never changes metadata, permissions, membership, 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": {
      "anchorRoleId": "<anchorRoleId>",
      "auditReason": "<auditReason>",
      "guildId": "<guildId>",
      "operationKey": "<operationKey>",
      "placement": "<placement>",
      "roleId": "<roleId>"
    },
    "name": "execute_role_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleIdYes
guildIdYes
placementYes
planDigestNo
auditReasonYes
anchorRoleIdYes
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.3/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint, idempotentHint, openWorldHint), it discloses a great deal: full-collection coordination, one-shot key reservation, pending content-free evidence, exactly one non-retried PATCH, response validation, and post-change hierarchy plus holder-count verification. It also explicitly disclaims side effects (no metadata, permission, membership changes, no retries, no rollback). Only the failure/error surface is left implicit.

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?

The core action and its gating condition are front-loaded in the first sentence, and the second sentence enumerates guarantees and exclusions. It is dense and runs long in places, but nearly every clause carries distinct information rather than restating the title or schema.

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, gated mutation with seven parameters and an output schema, the description covers preconditions, excluded targets, the single-attempt execution model, and verification. Return values need not be described since an output schema exists; only explicit routing to the prerequisite plan tool is missing.

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?

Schema description coverage is only 14%, so the description must carry meaning, and it does: planDigest is framed as a 'fresh matching keyed plan' requirement, operationKey is framed as reserved and never reused, and placement is framed as a relative above/below change against anchorRoleId. It does not explain auditReason's role or the id format expectations beyond the schema patterns.

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 specific verb and resource: 'Apply one exact reviewed relative Discord role-order change.' It scopes the operation (relative placement of a target role against an anchor role) and names the precondition that separates it from plan/audit siblings, so an agent can tell which tool performs the mutation versus which ones plan or audit it.

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?

Usage context is clear and gated: only after 'a fresh matching keyed plan and signed interactive approval,' with a one-shot operation key. Exclusions are explicit ('Never targets @everyone, managed roles, or connector-held roles'). It stops short of naming the sibling plan tool it depends on, leaving the agent to infer that plan_role_order precedes it.

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