discord_get_server_stats
Retrieve a snapshot of Discord server metrics by guild ID: member and cached bot counts, channel breakdown by type, role count, boost tier and count, and creation date.
Instructions
Get a snapshot of server metrics: total members (humans vs cached bots), channel breakdown (text/voice/category), role count, boost tier and count, and creation date. Note: bots are counted from the member cache only, so botsInCache is a lower bound and humans (total minus cached bots) an upper bound. The roles count excludes @everyone. In channels, total covers every channel type plus the threads in the bot's cache, while text counts only text channels (not announcement), voice only voice channels (not stage), and categories only categories. With DISCORD_GUILD_MEMBERS=false, totalMembers is not updated after the bot connects. For the server's owner and description, use discord_get_guild_info.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"guild_id": "<guild_id>"
},
"name": "discord_get_server_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Discord server (guild) ID (snowflake). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| roles | Yes | ||
| humans | Yes | ||
| channels | Yes | ||
| createdAt | Yes | ||
| boostCount | Yes | ||
| boostLevel | Yes | ||
| botsInCache | Yes | ||
| totalMembers | Yes |