Skip to main content
Glama
discord-mcp

discord-mcp

commands_get_guild

Read-onlyIdempotent

Fetch details for a Discord guild-scoped command by application, guild, and command ID, returning name, description, type, and a fenced untrusted text copy.

Instructions

Purpose: Fetch one guild-scoped command by id.

Returns: {id, name, description, type, application_id, guild_id, untrusted_text}. name and description remain raw; untrusted_text provides a separately fenced copy.

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": {
      "application_id": "<application_id>",
      "guild_id": "<guild_id>",
      "command_id": "<command_id>"
    },
    "name": "commands_get_guild"
  }
}

Input Schema

NameRequiredDescriptionDefault
guild_idYesGuild scope
command_idYesCommand ID (snowflake)
application_idYesBot/app application ID

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds value beyond that by disclosing that `name`/`description` are returned raw and that `untrusted_text` is a separately fenced copy — meaningful prompt-injection context for an agent consuming external content.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, labeled sentences that front-load purpose then return shape, with no filler. The 'Purpose:'/'Returns:' prefixes are slightly mechanical but aid scanning rather than wasting space.

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

Completeness4/5

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

A simple three-parameter read tool with a full schema, rich annotations, and an output schema; the description covers purpose plus the one non-obvious behavioral caveat (raw vs fenced text). Little needed beyond what is present, though an explicit pointer to sibling alternatives would close the last gap.

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 patterns and descriptions for all three identifiers, so the baseline is 3. The description only says lookup is 'by id' and adds no extra meaning about the application_id/guild_id pairing or ID format.

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?

States a specific verb and resource ('Fetch one guild-scoped command by id') with the scope qualifier 'guild-scoped' that separates it from the global-command siblings. An agent can distinguish this from a list or global variant without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: look up a single command by id within a guild. There is no explicit when-to-use/when-not statement and no named alternative (e.g. commands_list_guild for enumeration), so selection still requires inference from sibling names.

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