Home / Servers / Discord API / guild_role_member_counts
GET /guilds/{guild_id}/roles/member-counts
An MCP tool from the Discord API server, hosted on mcp.hjlabs.in.
GET /guilds/{guild_id}/roles/member-counts [GET /guilds/{guild_id}/roles/member-counts]
Name on the gateway: discord_api__guild_role_member_counts · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
guild_id required | string | guild_id parameter |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "discord_api__guild_role_member_counts",
"arguments": {
"guild_id": "…"
}
}Or connect the Discord API server directly, which lists 250 tools including this one:
claude mcp add --transport http hj-discord-api https://mcp.hjlabs.in/mcp/discord-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get /guilds/{guild_id}/roles/member-counts tool with guild_id set to ….
More from Discord API
- GET /applications/@me
- PATCH /applications/@me
- GET /applications/{application_id}
- PATCH /applications/{application_id}
- GET /applications/{application_id}/activity-instances/{instance_id}
- POST /applications/{application_id}/attachment
- GET /applications/{application_id}/commands
- PUT /applications/{application_id}/commands
- All 250