Skip to main content

Get Discord Server Information

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READdiscord.get_server_info
  • Contract tier: agent_ready
  • Risk: read
  • Catalog version: discord-2026.07.12.3
  • Descriptor hash: f804bf6289f57629c6aad3576abe58db29e5d9e0d798b6ab1a4e87db0774ecc0

Use this when you need identity and high-level statistics for the configured server. This reads guild metadata without changing state through Discord's API and returns guild identity, owner, creation date, channel/member counts, and boost status. It requires a configured Discord bot and guild with the relevant permissions.

Request Body

{
"jsonrpc": "2.0",
"id": "discord-get-server-info-example",
"method": "tools/call",
"params": {
"name": "discord.get_server_info",
"arguments": {
"guild_id": "guild_id_123"
}
}
}

Arguments Schema

{
"type": "object",
"title": "get_server_info input",
"properties": {
"guild_id": {
"type": "string",
"title": "Guild Id",
"default": "",
"description": "Optional Discord guild snowflake override; otherwise uses request-scoped configuration."
}
},
"description": "Validated input for the Discord MCP get_server_info tool."
}

Output Schema

{
"oneOf": [
{
"type": "object",
"required": [
"ok",
"data",
"meta"
],
"properties": {
"ok": {
"const": true
},
"data": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"description": "Provider data field id returned by get_server_info."
},
"name": {
"type": [
"string",
"null"
],
"description": "Provider data field name returned by get_server_info."
},
"owner": {
"type": [
"string",
"null"
],
"description": "Provider data field owner returned by get_server_info."
},
"boosts": {
"type": [
"object",
"null"
],
"description": "Provider data field boosts returned by get_server_info.",
"additionalProperties": true
},
"channels": {
"type": "array",
"items": {},
"description": "Provider data field channels returned by get_server_info."
},
"created_on": {
"type": [
"string",
"null"
],
"description": "Provider data field created_on returned by get_server_info."
},
"member_count": {
"type": [
"integer",
"null"
],
"description": "Provider data field member_count returned by get_server_info."
}
},
"description": "guild identity, owner, creation date, channel/member counts, and boost status",
"additionalProperties": true
},
"meta": {
"type": "object",
"required": [
"duration_ms",
"rate_limit",
"warnings"
],
"properties": {
"guild_id": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"thread_id": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"rate_limit": {
"type": "object",
"additionalProperties": true
},
"request_id": {
"type": "string"
},
"duration_ms": {
"type": "integer",
"minimum": 0
}
},
"description": "Safe execution metadata containing no credentials or raw headers.",
"additionalProperties": true
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"error",
"meta"
],
"properties": {
"ok": {
"const": false
},
"meta": {
"type": "object",
"required": [
"duration_ms",
"rate_limit",
"warnings"
],
"properties": {
"guild_id": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"thread_id": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"rate_limit": {
"type": "object",
"additionalProperties": true
},
"request_id": {
"type": "string"
},
"duration_ms": {
"type": "integer",
"minimum": 0
}
},
"description": "Safe execution metadata containing no credentials or raw headers.",
"additionalProperties": true
},
"error": {
"type": "object",
"required": [
"type",
"message"
],
"properties": {
"type": {
"type": "string"
},
"message": {
"type": "string"
},
"diagnostics": {
"type": "object",
"additionalProperties": true
},
"required_perms": {
"type": "array",
"items": {
"type": "string"
}
},
"discord_error_code": {
"type": "integer"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
],
"title": "Discord MCP provider result",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Normalized success or semantic-error response; ok=false is a failed call."
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "discord-get-server-info-example",
"method": "tools/call",
"params": {
"name": "discord.get_server_info",
"arguments": {
"guild_id": "guild_id_123"
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool discord.get_server_info executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}