Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

invite_delete

Destructive

Revokes a Discord invite by code, optionally recording a reason, to immediately disable that invite link and control server access.

Instructions

Revoke an invite.

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": {
      "code": "<code>"
    },
    "name": "invite_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
codeYes
reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is covered. The description adds nothing beyond that: it does not say what happens to an already-used invite, whether the code becomes permanently invalid, what permissions are needed, or what is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence is front-loaded and free of waste, but its brevity comes at the cost of under-specification rather than efficiency. There is no structural room given to parameters or behavior.

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

Completeness2/5

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

For a three-parameter destructive mutation with no output schema and no annotation-independent detail, the description is far too thin. An agent could not learn from it which parameters matter or what a successful revocation implies.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters (code, bot, reason), and the description mentions none of them. The critical 'code' parameter is required, yet the description never indicates that the invite is identified by its code, nor what 'bot' or 'reason' mean.

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 ('Revoke an invite'), which is unambiguous about the operation being performed. It does not differentiate from siblings such as invite_create or invite_info, though the verb itself makes the distinction fairly evident.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description contains no when-to-use or when-not-to-use guidance, no prerequisites, and no reference to alternatives. The agent must infer entirely from the tool name that this is for invalidating existing invite codes rather than managing members or channels.

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