Skip to main content
Glama
CommanderBiz

discord-admin-mcp

by CommanderBiz

assign_role

Assign a specified role to a Discord member using user and role IDs. Requires Manage Roles permission and a bot role positioned above the target role.

Instructions

Assign a role to a server member. Requires Manage Roles permission and bot role higher than target role.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNo
role_idYes
user_idYes
guild_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must carry the burden of explaining side effects and failure modes. It only mentions permission requirements but does not disclose potential errors (e.g., role not found, user not in server), whether the operation is idempotent, or any audit logging. This is minimal transparency for a mutating action.

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 one concise sentence, with no redundant words or filler. It efficiently conveys the core action and a key prerequisite, maintaining excellent brevity.

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

Completeness3/5

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

Given the tool's simplicity, the description covers the primary purpose and a critical precondition (permissions), but it omits details about parameters, return behavior, and error handling. It is adequate for a basic understanding but leaves gaps that a user might need to infer.

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 does not explain any of the parameters explicitly. While user_id and role_id are inferable from the verb 'assign role', the optional guild_id and reason are not clarified. The description adds little to the bare schema, leaving parameter meaning largely unspecified.

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 tool's purpose: assigning a role to a server member. It uses the specific verb 'assign' and specifies the resource (role) and target (server member), making the intent unambiguous. It also mentions required permissions, which further clarifies the action's scope.

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 provides basic context about when to use the tool (assigning roles) but does not explicitly contrast with sibling tools like remove_role or indicate scenarios where this tool should not be used. The permission requirement gives some guidance, but it lacks clear alternative or exclusion criteria.

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/CommanderBiz/discord-admin-mcp'

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