Skip to main content
Glama
discord-mcp

discord-mcp

commands_list_global

Read-onlyIdempotent

List globally registered application commands to audit slash commands before bulk-overwriting the global registry.

Instructions

Purpose: List globally-registered application commands.

When to use: audit global slash commands; before bulk-overwriting global registry.

Returns: {commands:[{id, name, description, type}], count, untrusted_text}. Names and descriptions remain raw app-author data; 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>"
    },
    "name": "commands_list_global"
  }
}

Input Schema

NameRequiredDescriptionDefault
application_idYesBot/app application ID
with_localizationsNoInclude name_localizations / description_localizations objects in the response

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent/non-destructive profile, so the bar is lower. The description still adds real value beyond them: it discloses the exact return envelope and, notably, that names/descriptions are raw app-author data with a separately fenced `untrusted_text` copy — a prompt-injection safety signal the schema and annotations do not convey.

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?

Three short labeled blocks, front-loaded with purpose before usage and returns. The inline field list in Returns is compact and useful; the 'Purpose:/When to use:/Returns:' labels add slight overhead but aid scanning.

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?

An output schema exists, so the description needn't detail return values, and annotations plus full schema coverage handle safety and parameters. Combined with the untrusted_text fencing note, an agent has what it needs; only the explicit sibling routing 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%, so `application_id` and `with_localizations` are already documented. The description adds no parameter-level meaning (e.g. format of application_id or when to set with_localizations), so the baseline 3 applies.

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 with explicit scope: 'List globally-registered application commands.' The 'global' qualifier distinguishes it from commands_list_guild without needing the sibling schema opened.

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?

Gives two concrete use cases ('audit global slash commands', 'before bulk-overwriting global registry'), the second of which clearly implies the sibling commands_bulk_overwrite_global. It does not explicitly name that alternative or state when-not-to-use, so it falls short of a 5.

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