Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Audit Discord role order

audit_role_order
Read-onlyIdempotent

Inspect an allowlisted Discord guild's canonical role hierarchy to review role ranks, holder counts, permission boundaries, and MANAGE_ROLES authority without writing or persisting data.

Instructions

Audit the complete canonical Discord role hierarchy for one exact separately allowlisted guild. Returns stable low-to-high ranks, raw positions, aggregate holder counts without member identities, managed and connector-held boundaries, known and unknown permissions, hierarchy-sensitive permissions, and complete connector MANAGE_ROLES authority evidence 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": {
      "guildId": "<guildId>"
    },
    "name": "audit_role_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
guildIdYes

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 readOnly, idempotent, non-destructive and open-world, so the bar is lower. The description still adds substantive context beyond them: results exclude member identities (aggregate holder counts only), cover managed/connector-held boundaries, and explicitly state nothing is written or persisted.

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 a single front-loaded sentence, which is good, but it then becomes a long enumeration of returned fields that largely duplicates what the output schema already declares. The list of return facets could be trimmed or compressed without loss.

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 one-parameter read-only tool with an output schema and full annotations, the definition covers scope, privacy handling, and non-persistence well. Remaining gaps are minor: no mention of rate limits, failure modes, or behavior when the guild allowlist check fails.

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 0%, so the description must carry the load, and it partially does by indicating guildId must identify 'one exact separately allowlisted guild' — a meaningful constraint beyond the numeric pattern. It adds nothing about the ID format, sourcing, or failure when the guild is not allowlisted.

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?

States a specific verb and resource ('Audit the complete canonical Discord role hierarchy') plus a scope constraint ('one exact separately allowlisted guild'), which is far more precise than the bare name. It does not name a sibling to distinguish itself from, though 'without writing or persistence' implicitly separates it from execute_role_order and plan_role_order.

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 'audit' verb and the read-only, non-persistent framing suggest inspection rather than planning/execution, but no sentence says when to choose this over plan_role_order or execute_role_order. The guild-allowlist precondition is stated, which is real guidance, but there are no exclusions or alternative 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