Skip to main content
Glama

discord_get_invite

Read-only

Retrieve details for a Discord invite code, including target server, channel, and usage statistics. Works for any public invite.

Instructions

Look up details for a single invite by its code, including the target server/channel and usage stats. Works for any public invite, not just this server's. Read-only. Returns a JSON object.

Input Schema

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

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

Annotations provide readOnlyHint and openWorldHint. The description adds that it works for any public invite (beyond openWorldHint) and returns a JSON object. No contradictions; it complements annotations with scope details.

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 concise sentences: what it does, scope, and read-only nature with return type. Every sentence adds value, no redundancy.

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?

Sufficient for a simple lookup tool with no output schema. Covers purpose, scope, safety, and return type. Could improve by mentioning error handling (e.g., invalid code), but not essential.

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 coverage is 100%, but the description adds meaning by explaining the purpose of the parameter (look up details) and the output content (target server/channel, usage stats). This goes beyond the parameter's type and format.

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 tool looks up details for a single invite by its code, including target server/channel and usage stats. This specific verb-resource combination distinguishes it from sibling tools like create, delete, or 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 Guidelines4/5

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

It explicitly says 'Works for any public invite, not just this server's,' indicating broad applicability. However, it does not explicitly mention alternatives for own-server invites (e.g., list_invites), leaving some ambiguity.

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

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