Skip to main content
Glama
Oratorian

Discord MCP Server

by Oratorian

Create Invite

discord_create_invite

Generates a Discord channel invite link with customizable expiration, max uses, and temporary membership settings.

Instructions

Create an invite link for a channel.

Args:

  • channel_id (string): Discord channel ID

  • max_age (number): Duration in seconds (0 = never expires, max 604800 = 7 days)

  • max_uses (number): Max uses (0 = unlimited)

  • temporary (boolean): Kick members when they disconnect if not assigned a role

  • unique (boolean): Create new unique invite vs reuse existing

Returns: Created invite URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uniqueNoWhether to create a unique invite
max_ageNoInvite expiration in seconds (0 = never, max 604800 = 7 days)
max_usesNoMax uses (0 = unlimited)
temporaryNoWhether membership is temporary
channel_idYesDiscord channel ID (snowflake)
Behavior4/5

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

Description explains all parameters and return value, including behavior of temporary and unique. Annotations indicate no destructive or idempotent effects, which matches. Could mention rate limits or permission checks, but current detail is good.

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?

Concise and well-structured: one-line summary, then Args list, then Returns. No fluff, every sentence adds information.

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

Completeness4/5

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

Covers all parameters and return value. Lacks error cases, rate limits, or permission requirements. Given no output schema, the return description is adequate. Slightly above average completeness.

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

Parameters4/5

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

Schema has 100% description coverage, so baseline is 3. Description adds value by clarifying parameter behavior (e.g., 'Kick members when they disconnect' for temporary, 'reuse existing' for unique). Marginally above baseline.

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 clearly states the action 'Create' and the resource 'invite link for a channel'. It is specific and distinguishes this tool from siblings like discord_delete_invite and discord_list_invites.

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?

No guidance on when to use this tool vs alternatives. Does not indicate prerequisites like permissions or when not to use it. Missing explicit when-to-use/not-use or sibling differentiation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Oratorian/discord-node-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server