Skip to main content
Glama

discord_get_guild_info

Read-only

Retrieve a Discord server's name, description, member/channel/role counts, boost tier, owner ID, and creation date by guild ID.

Instructions

Get details about one server: name, description, member/channel/role counts, boost tier, owner, and creation date. The owner field is a user ID. roleCount includes the @everyone role. channelCount also counts the threads in the bot's cache. With DISCORD_GUILD_MEMBERS=false, memberCount is not updated after the bot connects. Use discord_get_server_stats for a finer breakdown (humans vs bots, channel types).

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_guild_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
guild_idYesDiscord server (guild) ID (snowflake).

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
ownerYes
createdAtYes
roleCountYes
boostCountYes
boostLevelYes
descriptionYes
memberCountYes
channelCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.2.1
    • removedOutput schema / properties / boostCount / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / boostCount / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed2 schema fields changedv2.0.0
    • addedInput schema / properties / guild_id / pattern
      Added value: +"^\\d{17,20}$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "boostCount": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "boostLevel": {
      +      "type": "number"
      +    },
      +    "channelCount": {
      +      "type": "number"
      +    },
      +    "createdAt": {
      +      "type": "string"
      +    },
      +    "description": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "memberCount": {
      +      "type": "number"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "owner": {
      +      "type": "string"
      +    },
      +    "roleCount": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "name",
      +    "description",
      +    "memberCount",
      +    "channelCount",
      +    "roleCount",
      +    "boostLevel",
      +    "boostCount",
      +    "createdAt",
      +    "owner"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changedv1.6.0
    • addedInput schema / properties / guild_id / description
      Added value: +"Discord server (guild) ID (snowflake)."
  5. Addedv1.5.0
  6. Removedv1.0.0
  7. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses real data-semantics quirks an agent would otherwise get wrong: owner is a user ID, roleCount includes @everyone, channelCount includes cached threads, and memberCount goes stale when DISCORD_GUILD_MEMBERS=false. These are precisely the non-obvious behaviors annotations cannot convey.

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?

Purpose is front-loaded in the first sentence, and each subsequent clause covers a distinct caveat or a sibling routing hint with no filler. Despite being information-dense, no sentence is redundant.

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?

An output schema exists, so return shape needs no prose explanation, and the description instead spends its budget on field semantics and configuration-dependent staleness. For a one-parameter read tool with annotations, nothing an agent needs to call and interpret it is missing.

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 description coverage is 100% with a single guild_id parameter already documented as a snowflake with a regex pattern, so the baseline is 3. The description adds no further parameter-level meaning, which is acceptable given the schema does the work.

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 opens with a specific verb and resource ('Get details about one server') and enumerates the exact fields returned: name, description, member/channel/role counts, boost tier, owner, creation date. It also explicitly contrasts itself with the sibling discord_get_server_stats, so an agent can choose between them without inspecting schemas.

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?

It routes the agent to discord_get_server_stats when a finer breakdown (humans vs bots, channel types) is needed, which is concrete alternative guidance. It does not state explicit when-not-to-use conditions or prerequisites, but the routing signal is clear and actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools