Skip to main content
Glama

discord_create_role

Creates a new role in a Discord server with configurable name, color, permissions, hoist, and mentionable settings.

Instructions

Creates a new role in a Discord server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
colorNoHex color string (e.g. '#FF0000') or color name
hoistNoWhether the role should be displayed separately in the sidebar
reasonNo
guildIdYes
mentionableNoWhether the role can be mentioned by anyone
permissionsNoArray of permission flag names (e.g. ['SendMessages', 'ViewChannel'])

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv1.5.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It only states the action 'Creates' without revealing side effects like required permissions, whether it overwrites an existing role with the same name, or any error handling. This is minimal and insufficient for a mutation operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no redundant information. It is efficiently structured and immediately conveys the core action, achieving maximum conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of 7 parameters and no output schema, the one-line description is incomplete. It omits what the tool returns (e.g., the created role object), any permission requirements, and error scenarios. An agent would need to guess at these details, making the description insufficient for reliable invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds no parameter information beyond what the input schema provides. While 4 of 7 parameters have descriptions in the schema, the required parameters 'name' and 'guildId' are undefined, and 'reason' is also missing. The tool description does not compensate for these gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Creates'), the resource ('role'), and the scope ('in a Discord server'). It distinguishes this from sibling tools like edit_role, delete_role, and assign_role, leaving no ambiguity about its purpose.

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?

The description implies use when a new role is needed, but it does not explicitly state when to use this tool versus alternatives such as editing an existing role or assigning a role to a member. There is no mention of prerequisites or conditions for creation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/barryyip0625/mcp-discord'

If you have feedback or need assistance with the MCP directory API, please join our Discord server