Skip to main content
Glama

Set invite counting

set_invite_counting
Idempotent

Use this when the user wants a member's arrival counted for their inviter although the invite checks set it aside, or not counted, or left to the rules. Do not use for invite reward settings; use configure_system. Adds the change to the pending card for this server; nothing changes on Discord until apply_card.

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>",
      "member": "<member>",
      "count": "<count>"
    },
    "name": "set_invite_counting"
  }
}

Input Schema

NameRequiredDescriptionDefault
countYestrue: count, false: do not count, null: follow the rules.
memberYesThe member who joined: display name, username, mention or ID.
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
Behavior5/5

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

Annotations only declare readOnlyHint=false, idempotentHint=true and destructiveHint=false; the description adds the crucial staged-write behavior — the change goes to the pending card for this server and nothing changes on Discord until apply_card. That is behavior an agent cannot get from the structured fields and directly affects how it should sequence calls.

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?

Three short sentences, front-loaded with the usage trigger, then the exclusion, then the side effect — a sensible order. The middle clause about invite checks is slightly convoluted but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-required-parameter mutation with no output schema, the description covers the trigger, the alternative, the tri-state intent and the staging/apply requirement. An agent has everything needed to call it and to know a follow-up apply_card is required.

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 adds real meaning by explaining the context of the override (options the invite checks set aside) alongside the 'left to the rules' option, which clarifies why an agent would pick the null tri-state over true/false.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says specifically that it sets whether a member's arrival is counted for their inviter, and enumerates the three states (counted despite checks, not counted, left to the rules), which maps directly onto the tri-state 'count' parameter. It is precise about the resource but the phrasing 'although the invite checks set it aside' makes the reader work a little to confirm the intent.

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?

It opens with an explicit when-to-use condition and then names an exclusion plus the alternative: 'Do not use for invite reward settings; use configure_system.' That covers when, when-not, and the sibling to route to.

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