Skip to main content
Glama
discord-mcp

discord-mcp

commands_delete_global

DestructiveIdempotent

Deletes a global Discord application command from all guilds after propagation, requiring explicit confirmation and dry-run disabled to perform the irreversible action.

Instructions

Purpose: Delete a global application command. DESTRUCTIVE - IRREVERSIBLE.

Effect: removes the command from every guild within ~1 hour of propagation.

Returns: {deleted, command_id}. Pass __confirm:true AND MCP_DRY_RUN=false to actually delete.

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

Input Schema

NameRequiredDescriptionDefault
__confirmNoSet true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned.
command_idYesCommand ID to delete
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 destructiveHint=true and openWorldHint=true, so the safety profile is known; the description still adds real value by disclosing propagation timing ('~1 hour') and the dual gate that produces a DRY_RUN_PREVIEW instead of a deletion. That is beyond what the annotations 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?

Front-loaded destructive warning followed by effect and return, in four terse labeled lines. The 'Returns' line is slightly redundant given an output schema exists but costs little.

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?

For a three-parameter, destructive, open-world mutation, the definition covers the risk, the propagation delay, and the authorization gate. Return shape is also given (though the output schema already carries it), leaving no material 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% and the __confirm parameter's schema text already explains the MCP_DRY_RUN=false requirement, so the description largely restates it. No added meaning is given for command_id or application_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?

States a specific verb and resource ('Delete a global application command') and the scope is unambiguous. It distinguishes itself from the guild-scoped sibling only implicitly through the word 'global'; no sibling is named outright.

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?

Clear context for invoking it: the agent learns it is destructive and irreversible, and learns the two preconditions (__confirm:true plus MCP_DRY_RUN=false). It does not name an alternative such as the guild-scoped delete for narrower audiences, so exclusions are absent.

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