Skip to main content
Glama

discord_create_event_invite

Generate a shareable invite URL that links directly to a scheduled Discord event, so recipients land on the event when joining.

Instructions

Create a shareable invite URL that points to a scheduled event, so recipients land on the event when joining. Requires the Create Instant Invite permission. Returns the invite URL; Discord may reuse a similar existing invite instead of creating a new one. EXTERNAL events need channel_id; other events reject it and use their own channel. The URL is an ordinary channel invite with ?event= appended. Use discord_create_invite for a channel invite with the unique or temporary options.

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>",
      "event_id": "<event_id>"
    },
    "name": "discord_create_event_invite"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_ageNoInvite lifetime in seconds, 0–604800 (7 days); 0 means it never expires. Default 86400 (24h).
event_idYesID (snowflake) of the scheduled event to link the invite to.
guild_idYesDiscord server (guild) ID (snowflake).
max_usesNoMaximum number of uses, 0–100; 0 means unlimited. Default 0.
channel_idNoChannel (snowflake) the invite points to. Required for EXTERNAL events, which have no channel of their own. Omit it for VOICE and STAGE_INSTANCE events: they always use their own channel, and passing one fails.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.0
    • changedInput schema / properties / channel_id / description
      Previous value: -"Channel (snowflake) the invite points to. Defaults to the event's own channel; REQUIRED for EXTERNAL events, which have none."New value: +"Channel (snowflake) the invite points to. Required for EXTERNAL events, which have no channel of their own. Omit it for VOICE and STAGE_INSTANCE events: they always use their own channel, and passing one fails."
  2. Changed1 schema field changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed14 schema fields changedv2.0.0
    • changedInput schema / properties / channel_id / description
      Previous value: -"Channel (snowflake) the invite points to. Defaults to the server's first text channel if omitted."New value: +"Channel (snowflake) the invite points to. Defaults to the event's own channel; REQUIRED for EXTERNAL events, which have none."
    • addedInput schema / properties / channel_id / pattern
      Added value: +"^\\d{17,20}$"
    • addedInput schema / properties / event_id / pattern
      Added value: +"^\\d{17,20}$"
    • addedInput schema / properties / guild_id / pattern
      Added value: +"^\\d{17,20}$"
    • addedInput schema / properties / max_age / default
      Added value: +86400
    • changedInput schema / properties / max_age / description
      Previous value: -"Invite lifetime in seconds; 0 means it never expires. Default 86400 (24h)."New value: +"Invite lifetime in seconds, 0–604800 (7 days); 0 means it never expires. Default 86400 (24h)."
    • addedInput schema / properties / max_age / maximum
      Added value: +604800
    • addedInput schema / properties / max_age / minimum
      Added value: +0
    • changedInput schema / properties / max_age / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / max_uses / default
      Added value: +0
    • changedInput schema / properties / max_uses / description
      Previous value: -"Maximum number of uses; 0 means unlimited. Default 0."New value: +"Maximum number of uses, 0–100; 0 means unlimited. Default 0."
    • addedInput schema / properties / max_uses / maximum
      Added value: +100
    • addedInput schema / properties / max_uses / minimum
      Added value: +0
    • changedInput schema / properties / max_uses / type
      Previous value: -"number"New value: +"integer"
  4. Changed5 schema fields changedv1.6.0
    • changedInput schema / properties / channel_id / description
      Previous value: -"Channel for the invite. Uses the first text channel if omitted."New value: +"Channel (snowflake) the invite points to. Defaults to the server's first text channel if omitted."
    • addedInput schema / properties / event_id / description
      Added value: +"ID (snowflake) of the scheduled event to link the invite to."
    • addedInput schema / properties / guild_id / description
      Added value: +"Discord server (guild) ID (snowflake)."
    • changedInput schema / properties / max_age / description
      Previous value: -"Invite duration in seconds (0 = never). Default 86400."New value: +"Invite lifetime in seconds; 0 means it never expires. Default 86400 (24h)."
    • changedInput schema / properties / max_uses / description
      Previous value: -"Max uses (0 = unlimited). Default 0."New value: +"Maximum number of uses; 0 means unlimited. Default 0."
  5. Addedv1.5.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations it discloses the required Create Instant Invite permission, the returned value (invite URL), and the important caveat that Discord may reuse a similar existing invite rather than create one — behavior the idempotentHint=false flag alone cannot convey. It also explains the URL's internal form (?event=<event ID> appended), giving the agent a way to verify the result.

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?

It is front-loaded with purpose and permission, then conditions, then the sibling routing — a sensible order with no filler sentences. The only minor waste is restating the channel_id EXTERNAL rule already given verbatim in the schema.

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?

With no output schema, the description carries the return-value burden itself and does so (invite URL plus reuse caveat), while also covering auth needs and the event-type branching that governs channel_id. Nothing an agent needs to call this correctly is missing.

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 the schema already documents all five parameters, including channel_id's EXTERNAL/omit rules that the description restates. The description adds no new meaning for max_age or max_uses, so it does not exceed the baseline that full schema coverage establishes.

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?

The opening sentence gives a specific verb and resource ("Create a shareable invite URL that points to a scheduled event") plus the effect for recipients, and it explicitly contrasts with discord_create_invite. An agent can distinguish this from the generic invite tool without opening either schema.

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

Usage Guidelines5/5

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

It states when to use this tool versus discord_create_invite (unique/temporary channel-invite options) and gives a precise when-not rule for channel_id: required for EXTERNAL events, rejected for VOICE/STAGE_INSTANCE. It also surfaces the prerequisite permission, so selection failures are diagnosable up front.

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