Skip to main content
Glama

get_bot_invite_link

Read-only

Build the Discord invite/authorize link for one of your custom bots. Use when the user asks 'how do I invite the bot', 'where's my invite link', or after add_bot to get them set up on a server.

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": {
      "bot": "<bot>"
    },
    "name": "get_bot_invite_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
botYesBot name or id (see list_bots)
guild_idNoDiscord server (guild) ID to pre-select in the invite flow

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

readOnlyHint=true already signals a safe read with no side effects, so the description doesn't need to re-establish safety. It adds the useful detail that this produces an 'invite/authorize' link rather than performing the invite, but leaves the return shape (raw URL, permissions scope, expiry) unstated.

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?

Two sentences, zero filler, and the core purpose is front-loaded ahead of the usage triggers. Every clause carries information an agent can act on.

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 two-parameter, read-only link generator with full schema coverage and no output schema, the definition covers purpose, triggers, and sequencing adequately. The only real gap is what the returned link looks like and whether it is a plain URL versus a launchable flow.

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%, so both parameters are already documented, including the guild_id pre-selection behavior. The description adds only that the bot must be 'one of your custom bots,' which is marginal meaning 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?

The description names a specific verb+resource pair ('Build the Discord invite/authorize link') scoped to 'one of your custom bots.' That is enough for an agent to distinguish it from get_bot, list_bots, or add_bot without opening the schema.

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 enumerates concrete user intents ('how do I invite the bot', 'where's my invite link') and a sequencing rule ('after add_bot to get them set up on a server'), which is strong when-to-use guidance. It stops short of stating when not to use this tool or naming a true alternative, so it does not reach 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.