Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Get exact Discord role

get_role
Read-onlyIdempotent

Fetch a specific Discord role by guild and role ID to validate and normalize its colors, hierarchy, permissions, and managed-role status for audits.

Instructions

Fetch one exact Discord role by guild and role snowflake through Discord's exact role endpoint, then validate and normalize its colors, hierarchy fields, permissions, 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>",
      "roleId": "<roleId>"
    },
    "name": "get_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleIdYes
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 readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description does add genuine behavior beyond that: the result is validated and normalized for colors, hierarchy fields, permissions and managed-role classification, warning the agent that returned values may not be raw API payloads. It omits failure behavior when a role or guild is unknown or inaccessible, which matters for an open-world remote call.

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?

A single front-loaded sentence that leads with the action and resource before listing the normalization behaviors. 'Through Discord's exact role endpoint' is somewhat redundant with 'exact Discord role' but does convey passthrough semantics, so the cost is small.

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 spelled out, and annotations cover the safety profile. The description supplies the remaining useful context (post-fetch validation and normalization) for a simple two-parameter read. Only error/not-found handling is left unstated, a minor gap for this complexity.

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 carries the burden, and it does partially compensate by naming guildId as a guild snowflake and roleId as a role snowflake. It adds no further semantics such as cross-guild constraints or whether the guild must match the role's home guild, leaving format details to the schema pattern.

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 ('Fetch one exact Discord role') plus the two identifiers that select it (guild and role snowflake), which is enough to separate it from the plan_/execute_/audit_ role siblings. It does not explicitly name any sibling or contrast itself with the audit_role_* family, so it stops short of a 5.

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?

The description contains no when-to-use guidance, no prerequisites (e.g. bot must be in the guild), and no exclusions relative to the many role-related siblings. The read-only nature implies a lookup role, but that must be inferred rather than read.

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