Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Plan reviewed Discord role order

plan_role_order
Read-onlyIdempotent

Plan moving an exact Discord role above or below an anchor role in an allowlisted guild. Verifies bot identity, hierarchy, permissions, and holder counts before any write.

Instructions

Prepare a process-bound keyed plan to place one exact standard Discord role immediately above or below one exact anchor role in a separately allowlisted guild. Verifies pinned application and bot identity, complete guild, member, role-inventory, canonical hierarchy, MANAGE_ROLES, aggregate holder counts, managed and connector-held boundaries, affected hierarchy-sensitive permissions, and unknown future fields without writing or persistence.

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

Input Schema

NameRequiredDescriptionDefault
roleIdYes
guildIdYes
placementYes
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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, non-destructive, but the description still adds real context: it enumerates what gets verified (bot identity, canonical hierarchy, MANAGE_ROLES, holder counts, managed/connector boundaries, hierarchy-sensitive permissions, unknown future fields) and explicitly says no write or persistence occurs. It does not explain what the plan output contains or what happens if an operationKey is reused, which the annotation-covered safety profile leaves as a gap.

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?

Two sentences with the core action front-loaded, then a verification inventory. The second sentence is a long dense enumeration that is close to padding, but every item conveys a distinct verification behavior, so it earns most of its space.

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?

An output schema exists, so return values need not be described, and the description covers the verification scope and the no-write guarantee that an agent needs before invoking. It falls short on the relationship to the execute/audit siblings and on what auditReason is for, both relevant for a six-parameter, all-required tool.

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 17%, so the description must carry the load; it does clarify the roleId vs anchorRoleId distinction ('one exact standard Discord role' versus 'one exact anchor role'), the above/below placement, and the allowlisted guild scope. However auditReason is never mentioned, and the ID format/pattern constraints and operationKey one-shot semantics come from the schema, not the description, leaving a meaningful share of the six parameters unelaborated.

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?

The description states a specific verb and resource: 'Prepare a process-bound keyed plan to place one exact standard Discord role immediately above or below one exact anchor role.' The 'plan ... without writing or persistence' phrasing implicitly separates it from execute_role_order, though it never names that sibling outright, so differentiation is inferred rather than stated.

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: 'Prepare a ... plan' plus 'without writing or persistence' suggests this is the pre-execution review step that pairs with execute_role_order, and 'separately allowlisted guild' hints at a prerequisite. There is no explicit statement of when to call this versus audit_role_order or execute_role_order, and no stated failure/exclusion conditions.

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