Skip to main content
Glama
discord-mcp

discord-mcp

discord_create_role

Creates a new Discord server role with a custom name, color, hoist setting, mentionability, and permission flags.

Instructions

Create a new server role with custom name, color, hoist, and permissions.

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": {
      "name": "<name>"
    },
    "name": "discord_create_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRole name.
colorNoHex color string (e.g. "#FF5733" or "BLUE").
hoistNoDisplay separately in sidebar (hoist).
guild_idNoOptional guild ID.
mentionableNoAllow anyone to mention this role.
permissionsNoArray of permission flags (e.g. ["ViewChannel", "SendMessages", "ManageMessages"]).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it discloses almost nothing: it does not say the caller needs Manage Roles permission, whether the role is created at the bottom of the hierarchy, what happens on duplicate names, or whether the operation is reversible. For a mutation with zero annotation coverage this is a real 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?

One compact sentence with the verb and configurable fields front-loaded and no filler. It is well sized for the amount of information it actually conveys.

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?

Adequate on purpose and fields, but as a permission-sensitive mutation with no annotations and no output schema, an agent still lacks permission requirements, failure modes, and what the response contains. The scope and field list are covered; the operational context is not.

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 100%, so every parameter including guild_id and mentionable is already documented in the schema. The description names four of the six fields but adds no semantics beyond the schema, so the baseline 3 applies.

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?

A specific verb and resource ("Create a new server role") plus the configurable fields. The verb distinguishes it from discord_edit_role and discord_delete_role by name alone, but the description never states that differentiation 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?

No when-to-use guidance, no prerequisites, and no reference to alternatives such as discord_edit_role for modifying an existing role or discord_assign_role for granting one. The agent must infer the workflow from tool names.

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