Skip to main content
Glama
discord-mcp

discord-mcp

commands_get_global

Read-onlyIdempotent

Fetch a single global Discord application command by its ID and application ID. Returns raw name, description, type, and a separately fenced copy of untrusted text.

Instructions

Purpose: Fetch one global application command by id.

Returns: {id, name, description, type, application_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>",
      "command_id": "<command_id>"
    },
    "name": "commands_get_global"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuinely non-obvious behavior: the exact returned field set and the fact that name/description stay raw while untrusted_text is a separately fenced copy, which matters for prompt-injection handling. It stops short of noting error cases when the id is unknown.

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?

Two short labeled sentences (Purpose / Returns), purpose front-loaded, zero filler. Every clause conveys information an agent can use.

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?

With a full input schema, an output schema and complete annotations, the description supplies what is missing at the level of intent and trust boundary on returned text. Only permission/auth and not-found behavior are absent, which are minor for a read tool.

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 coverage is 100%, with both command_id and application_id documented including snowflake patterns, so the schema carries the load. The description adds no parameter-level meaning beyond restating that lookup is by id.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Fetch one global application command by id" gives a specific verb (fetch), resource (global application command) and retrieval key (id). The word "global" implicitly separates it from the guild-scoped siblings, though it never names an alternative explicitly.

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 only implied: you need an id and you want a single command, as opposed to commands_list_global for enumeration. There is no explicit when-to-use, no exclusion for guild commands, and no mention of prerequisites such as the bot token required by the openWorldHint annotation.

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