Skip to main content
Glama

create_role

Create a new Discord role with custom properties like color, permissions, and mention settings to manage member access and server organization.

Instructions

Create a new role on the server with custom properties

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRole name
colorNoHex color string (e.g. "#FF0000") or integer
hoistNoDisplay role separately in member list
reasonNoAudit log reason
guildIdNoDiscord server ID (defaults to DISCORD_GUILD_ID)
mentionableNoAllow anyone to mention this role
permissionsRawNoPermission bitfield string
permissionsNamesNoCSV of permission names

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. For a mutation tool it omits permission requirements (e.g. Manage Roles), the position of the newly created role in the hierarchy, and what the operation returns, adding essentially nothing beyond the schema.

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 short, front-loaded sentence with no redundant clauses. It is efficient, though its brevity reflects under-specification rather than disciplined trimming.

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?

For an 8-parameter mutation tool with no annotations and no output schema, one generic sentence is inadequate. Critical context such as required bot permissions, how permissionsRaw/permissionsNames interact, and return behavior is absent.

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 100%, so every parameter is already documented in the input schema and the baseline is 3. The phrase 'custom properties' gestures at optional fields but adds no meaning beyond what the schema provides.

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 ('Create a new role on the server'), which is clear. However, 'with custom properties' is vague filler and the description does not differentiate this from siblings like edit_role or assign_role, 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?

There is no when-to-use guidance and no mention of alternatives. An agent is left to infer that this is the creation step versus edit_role for modification, with no explicit routing or prerequisites.

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