Skip to main content
Glama
ferelking242

Discord MCP Ultimate

discord_get_invite

Read-only

Retrieve a Discord invite by code to see its target server and channel, inviter, and expiry. Read-only lookup; use invite list tools for usage counters.

Instructions

Look up a single invite by its code: target server and channel, inviter, and expiry. Works for any public invite, but this endpoint never returns usage counters (uses/max_uses/max_age read 0); use discord_list_invites or discord_list_channel_invites for real counters. Read-only. Returns a JSON object.

Input Schema

NameRequiredDescriptionDefault
invite_codeYesThe invite code, e.g. 'abc123'. A full discord.gg/abc123 URL is also accepted and stripped.

Output Schema

NameRequiredDescriptionDefault
urlYes
codeYes
usesYes
inviterYes
max_ageYes
guild_idYes
max_usesYes
temporaryYes
channel_idYes
created_atYes
expires_atYes
guild_nameYes
channel_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description still adds real value by disclosing the counters quirk (uses/max_uses/max_age always 0) and the 'any public invite' scope, which an agent could not infer from structured fields.

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?

Three sentences, no filler: what it returns first, the limitation plus the alternative second, then a short type/safety line. Front-loaded and every sentence earns its place.

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?

With an output schema present, return values need no explanation, and annotations cover read-only/open-world. The description supplies the counter caveat and scope. Minor gap: no statement on what happens for invalid or expired codes.

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% and the single parameter already documents the code format and the full discord.gg URL stripping. The description only restates 'by its code', adding nothing beyond the schema, so the baseline 3 applies.

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?

Specific verb ('look up') plus resource ('a single invite by its code') and a preview of what the response contains (target server/channel, inviter, expiry). This clearly distinguishes it from discord_list_invites, discord_create_invite and discord_delete_invite among the large sibling set.

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

Usage Guidelines4/5

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

Explicitly states the boundary: use discord_list_invites or discord_list_channel_invites when real usage counters are needed, because this endpoint returns zeros. That is a genuine routing rule. It does not cover private/expired-code behavior, so it falls just short of a full when/when-not statement.

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