Skip to main content
Glama
discord-mcp

discord-mcp

commands_delete_guild

DestructiveIdempotent

Permanently deletes a guild-scoped Discord command. Requires explicit confirmation and MCP_DRY_RUN=false to authorize the irreversible action.

Instructions

Purpose: Delete a guild-scoped command. DESTRUCTIVE - IRREVERSIBLE.

Returns: {deleted, command_id, guild_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>",
      "guild_id": "<guild_id>",
      "command_id": "<command_id>"
    },
    "name": "commands_delete_guild"
  }
}

Input Schema

NameRequiredDescriptionDefault
guild_idYesGuild scope
__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 flag destructiveHint=true and readOnlyHint=false, but the description adds information not carried by annotations: the effect is irreversible, deletion is gated behind a confirmation flag plus a server-level dry-run switch, and a DRY_RUN_PREVIEW is returned otherwise. That gating behavior is genuinely useful and goes beyond the structured hints.

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 with the destructive warning, then returns, then the confirmation mechanics — a sensible order with almost no filler. The explicit "Returns" sentence is mildly redundant given a declared output schema, which keeps this short of a 5.

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 destructive mutation tool the definition covers what is destroyed, that it cannot be undone, and the exact authorization path needed to execute. Remaining gaps (required bot permissions, whether audit-log or cache side effects occur) are secondary, and return values are covered by the output schema.

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 all four parameters are already documented, including `__confirm` and its dry-run interaction. The description restates the confirmation requirement but adds no format, constraint, or edge-case meaning beyond what the schema provides; 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 ("Delete a guild-scoped command") and the scope qualifier "guild-scoped" immediately distinguishes it from the global-command sibling. An agent can classify the operation 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?

The description gives the invocation precondition (`__confirm:true` plus `MCP_DRY_RUN=false`) but never says when to prefer this over `commands_delete_global` or what to do instead if the command is global. Usage is implied by the scope wording rather than stated as explicit routing guidance.

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