Skip to main content
Glama

mcp-discord

by hanweg

add_role

Assign a specific Discord role to a user within a server by providing server, user, and role IDs for streamlined role management.

Instructions

Add a role to a user

Input Schema

NameRequiredDescriptionDefault
role_idYesRole ID to add
server_idYesDiscord server ID
user_idYesUser to add role to

Input Schema (JSON Schema)

{ "properties": { "role_id": { "description": "Role ID to add", "type": "string" }, "server_id": { "description": "Discord server ID", "type": "string" }, "user_id": { "description": "User to add role to", "type": "string" } }, "required": [ "server_id", "user_id", "role_id" ], "type": "object" }

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

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