Skip to main content
Glama

discord_invite

Read-only

Looks up a Discord invite code or link and returns the public server details: name, description, icon and banner links, features, verification and NSFW level, boost tier, vanity code, approximate member and online counts, target channel and expiry. Use it when you have a discord.gg invite.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "discord_invite"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesInvite code or URL, e.g. python, discord.gg/python or https://discord.com/invite/python

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that counts are 'approximate' (an important caveat for a live-count read) but does not address the notable idempotentHint=false declaration or whether expired/invalid codes error out versus returning partial data.

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?

Purpose and input condition are front-loaded in the opening clause, then a compact field list follows. The return-field enumeration is longer than strictly necessary given an output schema exists, but it is dense and waste-free rather than padded.

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?

For a single-parameter, read-only lookup with full schema coverage and an output schema, the definition covers purpose, input condition, and return scope adequately. The only omission worth noting is failure behavior for invalid or expired invites.

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 'code' parameter already documents accepted forms (bare code, discord.gg path, full invite URL). The description's 'invite code or link' merely restates that, adding no format or normalization detail 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?

States a specific verb ('looks up') and resource ('Discord invite code or link') and enumerates exactly what the caller gets back (server name, verification/NSFW level, boost tier, approximate member counts, expiry). This is clearly a code-resolution lookup, distinguishable from guild-ID-based siblings like discord_server or discord_template.

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?

'Use it when you have a discord.gg invite' gives a clear triggering condition tied to the input type the agent possesses. It stops short of naming alternatives or stating when not to use it (e.g., when you only have a server ID), so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.