Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

List Discord roles

list_roles
Read-onlyIdempotent

Retrieves a permitted Discord guild's full role inventory with normalized colors, hierarchy, permission names, unknown permission bits, and managed-role status for audits.

Instructions

List the complete Discord role inventory for one permitted guild, bounded by Discord's documented role limit and normalized with current colors, hierarchy fields, known permission names, unknown permission bits, and managed-role classification.

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

Input Schema

NameRequiredDescriptionDefault
guildIdYes

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds one genuinely behavioral fact — results are bounded by Discord's documented role limit — but the rest of the sentence enumerates returned fields, which the existing output schema already covers.

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?

One front-loaded sentence that leads with the verb and resource and then qualifies scope. It is dense but not padded, though the trailing field enumeration makes it read as a run-on and partly duplicates the output 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 single-parameter read-only list with rich annotations and an output schema, the definition is sufficient to call the tool correctly. The missing pieces — what happens for an inaccessible or invalid guild — are minor at this complexity level.

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?

Only one parameter exists with 0% schema description coverage; the schema carries the format constraint (numeric ID pattern) but no prose. The description contributes the 'permitted guild' access nuance, which hints that the guild must be reachable by the bot, but adds nothing about ID format or failure behavior.

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 ('List the complete Discord role inventory') scoped to one guild, which clearly separates it from member, ban, or channel-permission siblings. It stops short of naming any alternative tool explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no pointer to a sibling such as list_channel_permission_overwrites or list_guild_members. Only the phrase 'one permitted guild' hints at a precondition, and that precondition is never spelled out.

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