Skip to main content
Glama
discord-mcp

discord-mcp

guild_delete_integration

DestructiveIdempotent

Remove a stale or compromised third-party integration from a Discord guild, disconnecting its associated webhooks. Requires explicit confirmation and a non-dry-run server to execute the irreversible deletion.

Instructions

Purpose: Delete an integration from a guild. DESTRUCTIVE - also disconnects associated webhooks.

When to use: - Remove a stale or compromised third-party integration.

Returns: {deleted, integration_id, guild_id}.

Security: gated by ConfirmRequired. Pass __confirm:true AND set 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": {
      "guild_id": "<guild_id>",
      "integration_id": "<integration_id>"
    },
    "name": "guild_delete_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
guild_idYesGuild containing the integration
__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.
audit_reasonNoReason recorded in audit log (X-Audit-Log-Reason header)
integration_idYesIntegration to delete (IRREVERSIBLE)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses a cascade the agent cannot otherwise know: deleting also disconnects associated webhooks. It also documents the ConfirmRequired security gate and the dual condition (__confirm plus MCP_DRY_RUN=false), which is exactly the operational context a mutation tool needs.

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?

Four short labeled sections (Purpose, When to use, Returns, Security) with the destructive warning front-loaded. Every sentence carries actionable information and there is no filler.

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

Completeness5/5

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

For a destructive, gated mutation, the definition covers purpose, precondition, confirmation requirements, and cascade effects. An output schema exists, so the brief Returns line is sufficient without full return-value documentation.

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 schema already explains guild_id, integration_id, __confirm, and audit_reason in detail. The description's security line repeats the __confirm / MCP_DRY_RUN mechanics rather than adding new meaning, 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?

Description opens with a specific verb and resource ("Delete an integration from a guild") and immediately flags the destructive scope. It is unambiguous against sibling delete tools, which target different resources such as webhooks, roles, or channels.

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?

A dedicated "When to use" line names the condition (stale or compromised third-party integration), giving clear context for invocation. It does not offer alternatives or when-not-to-use guidance, but no sibling shares this resource, so the omission is minor rather than misleading.

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