Skip to main content
Glama
OrygnsCode

Omnicord - Discord server management MCP for AI agents

Create role

create_role

Create Discord roles using preset permission bundles (member, moderator, admin) or custom permission lists. Administrator must be explicitly named; dry-run previews the role before creation.

Instructions

Create a role from a vetted preset (none, member, moderator, admin) and/or an explicit list of permission names. Administrator is never granted by a preset; it must be spelled out explicitly. Supports dry_run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRole name.
colorNoHex color like #00b0f4.
guildNoGuild (server) name or ID. Omit to use the default guild.
hoistNoShow members separately in the sidebar.
presetNoVetted permission bundle. Default none.
dry_runNoPreview without creating.
mentionableNo
permissionsNoExtra permission names, like manage_messages or ban_members.
Behavior4/5

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

Annotations already indicate a non-read-only, non-destructive operation. The description adds meaningful behavioral context: the admin permission is never granted via preset and must be explicitly included, and dry_run enables previewing without creation. This goes beyond the structured fields and alerts the agent to a non-obvious security nuance.

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 three short sentences, each carrying essential information: the creation mechanism, the admin exception, and dry_run support. There is no redundancy or filler, and the main purpose is front-loaded.

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 tool with 8 parameters, one required, and no output schema, the description covers the central decisions (preset vs explicit permissions) and the dry_run option. It omits return-value details and error conditions, but given strong schema descriptions and the non-destructive write nature, it is sufficiently complete for agent selection and invocation.

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

Parameters4/5

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

Schema coverage is 88%, so the baseline is 3. The description adds value by clarifying that the 'admin' preset does not automatically include the Administrator permission; it must be listed explicitly in the permissions array. This detail is not evident from the schema's preset enum or permissions description.

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 opens with a specific verb and resource ('Create a role') and details the two input mechanisms: a vetted preset or an explicit permission list. It clearly differentiates from sibling tools like list_roles, update_role, and delete_role by focusing solely on creation. The admin caveat adds precision.

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

Usage Guidelines4/5

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

Clear context is provided for when to use this tool: to create a role using presets or explicit permissions. The description notes that Administrator must be explicitly specified rather than assumed from a preset, which guides correct usage. However, it does not explicitly mention alternatives like update_role or clone_role, nor state scenarios where this tool should not be used.

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

Install Server

Other Tools

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/OrygnsCode/Omnicord'

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