Skip to main content
Glama

discord_create_event_invite

Create a shareable invite URL that links directly to a scheduled Discord event, so invitees land on the event when joining. Requires Create Instant Invite permission.

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.

Input Schema

TableJSON 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. Defaults to the event's own channel; REQUIRED for EXTERNAL events, which have none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. 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"
  3. 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."
  4. Addedv1.5.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already indicate this is a non-read-only, non-destructive, non-idempotent action. The description adds useful context beyond that by disclosing the permission requirement ('Requires the Create Instant Invite permission') and stating the output ('Returns the invite URL'). It does not cover failure or rate-limit behaviors, but the added auth prerequisite is valuable.

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?

The description is two sentences with no filler. The primary action and outcome are front-loaded, and the permission requirement and return value are stated without redundancy.

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 tool with well-documented parameters and no output schema, the description covers the key missing pieces: the permission needed, the invite's purpose, and the return value. The agent has enough to select and invoke this tool correctly without additional context from sibling descriptions.

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 fully documents all five parameters, including defaults, ranges, and special cases such as channel_id being required for external events. The description adds no additional parameter-level detail, which matches the baseline expectation of 3 for high schema coverage.

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 description states a specific verb ('Create'), a specific resource ('shareable invite URL'), and a distinct target ('points to a scheduled event'). This clearly separates it from the sibling discord_create_invite, whose scope is a regular channel invite. The phrase 'so recipients land on the event when joining' further sharpens the purpose.

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 implies the use case by explaining that the invite points to a scheduled event and mentions the required 'Create Instant Invite' permission. However, it does not explicitly contrast this with discord_create_invite or state when a regular invite should be used instead, so usage guidance is inferred rather than explicit.

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