Skip to main content
Glama

Get invites report

get_invites_report
Read-onlyIdempotent

Use this when you need the invite tracking: key numbers, ranking, invites set aside by the checks and settings; or, with a member, who invited them, their real, pending, left and set-aside invites, rank and descendants. Do not use for joins and leaves in general; use get_server_stats.

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": {
      "guild_id": "<guild_id>"
    },
    "name": "get_invites_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoPeriod of the numbers: 7, 30 (default), 90, or 0 for all time (90 and 0 need a VIP or Premium account).
memberNoDisplay name, username or mention; leave empty for the whole server.
guild_idYesDiscord server ID, as returned by list_my_servers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered; the description adds the substantive behavior, namely that the report has two different shapes depending on whether a member is supplied and what each mode returns. It does not discuss output shape or the account-tier gating in prose (that lives in the schema), which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with 'Use this when' and the exclusion guidance last, with no filler sentences. The single long sentence packing both report modes is dense and slightly awkward to parse, but every clause carries information.

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 three-parameter read-only report with no output schema, the description covers what the tool returns in both modes, when to choose it, and the sibling to avoid; the remaining details (VIP gating for 90/0 days, identifier formats) are already in the schema. Complete enough to call correctly, though it leaves return shape to inference.

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%, so the baseline is 3, but the description goes beyond it by explaining the functional consequence of the 'member' parameter: supplying one switches the report to that person's inviter, invite breakdown, rank and descendants, while omitting it yields the server aggregate. That meaning is not present in the schema text.

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 report and enumerates its two modes: server-wide invite tracking (key numbers, ranking, invites set aside by checks and settings) versus member-specific detail (who invited them, real/pending/left/set-aside invites, rank and descendants). It also explicitly distinguishes itself from get_server_stats, so an agent can route correctly without opening a schema.

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?

Both sides of the routing decision are stated: use this for invite tracking, and 'Do not use for joins and leaves in general; use get_server_stats.' The excluded case and its named alternative are explicit rather than implied.

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.

Resources