Skip to main content
Glama

discord_get_role_members

Read-only

Retrieve a list of members holding a specific role in a Discord server, with support for up to 20,000 members and a truncated flag for large servers.

Instructions

List members who currently hold a specific role, scanning up to 20,000 members. Returns { members: [...], truncated } — check truncated on very large servers. Read-only. Use discord_list_roles to discover role IDs first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
role_idYesID (snowflake) of the role to list holders of.
guild_idYesDiscord server (guild) ID (snowflake).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
membersYes
truncatedYes
Behavior5/5

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

The description adds value beyond annotations by disclosing the limit of 20,000 members scanned, the need to check the `truncated` flag on large servers, and that it is read-only. The return format is also described, providing full behavioral context.

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 extremely concise: two sentences that cover purpose, constraints, return format, and prerequisite. No wasted words.

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

Completeness5/5

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

Given the tool's simplicity (2 params, no enums, output schema declared), the description is complete. It explains output structure, scanning limit, and interdependency with another tool, leaving no gaps.

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 coverage is 100% with good descriptions for both parameters. The tool description does not add extra syntax or usage details beyond the schema, meeting the baseline expectation.

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 action (list members) and resource (holders of a specific role), and includes a specific scope (up to 20,000 members). This distinguishes it from sibling tools like discord_list_members and discord_search_members.

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?

The description provides a clear prerequisite (use discord_list_roles to discover role IDs first). While it doesn't explicitly state when not to use this tool, the purpose is well-defined and distinct among siblings, so usage context is clear.

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

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