Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

invite_create

Creates a Discord channel invite with configurable expiry, use limits, temporary membership, and unique-link enforcement for controlled access.

Instructions

Create an invite to a channel. max_age_hours 0 = never expires (max 168), max_uses 0 = unlimited, temporary = kicked when they go offline without a role, unique = never reuse an existing one.

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": {
      "channel": "<channel>"
    },
    "name": "invite_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
guildNo
reasonNo
uniqueNo
channelYes
max_usesNo
temporaryNo
max_age_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds useful behavioral semantics (temporary invites eject users who go offline without a role; unique forbids reuse of an existing code), which goes past the annotations. It still omits permission requirements, rate limits, and what the call returns (presumably an invite code), which matters for an open-world mutation.

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?

Very compact and front-loaded: the purpose sentence leads, then parameter semantics follow in a tight clause-per-parameter structure with no filler. The telegraphic "x = y" style is dense but readable; a little more structure would help but nothing is wasted.

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 an 8-parameter mutation with 0% schema coverage and no output schema, the description leaves too much implicit: the audit reason parameter, bot/guild overrides, and the returned invite object are all unaddressed. It is adequate to understand expiry behavior but not complete enough to invoke confidently in every case.

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 0% across 8 parameters, so the description must carry the load, and it explains the non-obvious semantics of max_age_hours, max_uses, temporary and unique with concrete sentinel values (0 = never / unlimited). However, four parameters are left unexplained: reason (likely an audit-log justification), bot, guild, and even the required channel argument. Coverage of the tricky parameters is good but incomplete.

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?

"Create an invite to a channel" gives a specific verb and resource, which is unambiguous on its own. It does not distinguish itself from siblings like invite_delete or invite_info, so an agent must infer that this is the creation path rather than the inspection or revocation path.

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 never states when to use this tool versus invite_info or invite_delete, nor does it mention prerequisites such as needing channel invite permissions. Usage context is only implied by the verb "Create."

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