Skip to main content
Glama
cappyeo

discord-mcp

invites_get

Read-onlyIdempotent

Resolve any Discord invite code to its target guild and channel. Inspect invite details before sharing or deleting, with optional member counts and expiration.

Instructions

Purpose: Look up a Discord invite by its code (or full URL after stripping the prefix).

When to use:

  • Inspect an invite before deleting or sharing.

  • Resolve which guild/channel an invite points at.

When NOT to use:

  • Listing all invites for a channel → use invites_list_channel.

Example: {code:"abc123def", with_counts:true}

Returns: Projected invite shape with optional counts. Guild and channel names remain raw Discord data; untrusted_names provides a separately fenced copy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesInvite code (the bit after https://discord.gg/)
with_countsNoInclude approximate member/presence counts
with_expirationNoInclude expires_at field
guild_scheduled_event_idNoSurface a specific scheduled event tied to the invite

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds context by explaining the input accepts a full URL with prefix stripping, and that return values include raw guild/channel names with a separately fenced `untrusted_names` copy. This is useful added insight beyond the annotation safety profile.

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?

Well-organized with bold headers, bullet points, and a compact example. Every sentence earns its place—no redundancy or fluff—and the most important information (purpose) appears first.

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?

Given the tool's moderate complexity, complete schema coverage, output schema, and strong annotations, the description covers purpose, usage scenarios, exclusions, an example, and return behavior. Nothing essential is missing; the output schema handles the rest.

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?

Input schema covers 100% of parameters, so the baseline is 3. The description adds meaningful extra semantic detail for `code` (accepts full URL, strips prefix) and provides a usage example, enriching the parameter understanding beyond the schema.

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?

Description uses a specific verb ('look up') and resource ('Discord invite') with a clear method ('by its code or full URL'). It distinguishes from sibling tools such as invites_list_channel (listing invites) and invites_delete (deleting), making its purpose unambiguous.

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?

Explicit 'When to use' and 'When NOT to use' sections provide concrete scenarios (inspect an invite before deleting, resolve target guild/channel) and name an alternative tool (`invites_list_channel`) for listing invites. This is clear, direct guidance with exclusions.

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/cappyeo/discord-mcp'

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