Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Plan existing invite recipient change

plan_invite_target_change
Read-onlyIdempotent

Plan and review exact add, remove, or replace changes to target users on an existing Discord invite, with bounded IDs, policy checks, and audit-safe operation keys.

Instructions

Review exact single/bulk additions, removals or nonempty complete recipient replacement on one authenticated existing invite with finite policy or acknowledged reusable policy. Separate guild/channel/changed-user write scopes do not enable invite creation. Plans bind complete bounded recipient sets, preserved native metadata, fresh pinned identity and authority, non-processing job observations, actual differences, one-shot key and digest. Authenticated role grants retain separate role scope, MANAGE_ROLES, complete Gateway/hierarchy/subset/impact and persistent-grant review; unsupported topology is explicit partial coverage. No code, URL, raw CSV, file or caller role payload.

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": {
      "guildId": "<guildId>",
      "channelId": "<channelId>",
      "inviteRef": "<inviteRef>",
      "action": "<action>",
      "userIds": "<userIds>",
      "auditReason": "<auditReason>",
      "operationKey": "<operationKey>"
    },
    "name": "plan_invite_target_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
guildIdYesExact separately configured invite acceptance-audience guild
userIdsYes
channelIdYesExact invite channel inside ordinary read scope
inviteRefYesOpaque process-local invite reference returned by list_guild_invites
auditReasonYesLocal transient review reason, never sent as an undocumented audit header
operationKeyYesUnique one-shot operation key; keep unchanged through review and never reuse after reservation
acknowledgeReusableInviteNoAcknowledge recipient changes under the invite's reported never-expiring or unlimited-use policy
acknowledgePersistentGrantsNo

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered; the description adds real substance beyond that: what the plan binds (complete bounded recipient sets, preserved native metadata, fresh pinned identity and authority), that differences are computed, that an operation key and digest are one-shot, and that unsupported topology yields explicit partial coverage. Some phrases ('non-processing job observations') are opaque, which keeps it from a 5, but this is meaningful behavioral disclosure a plan-then-execute tool needs.

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

Conciseness2/5

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

The substance is front-loaded into one very long first sentence followed by another clause-heavy sentence; there is little structural separation between purpose, preconditions, plan contents, and exclusions. Terms such as 'fresh pinned identity and authority' and 'non-processing job observations' cost the reader without resolving into concrete behavior, so density here works against comprehension rather than saving space.

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

Completeness3/5

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

Return values need not be explained because an output schema exists, and the description does supply plan semantics, preconditions, and a partial-coverage caveat. What is missing for a 9-parameter plan/execute pair is the lifecycle linkage to execute_invite_target_change and to get_invite_target_users_job_status, plus the meaning of acknowledgePersistentGrants, which the role-grant sentence gestures at but does not tie back to the parameter.

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 coverage is 67%, so the schema already documents most parameters; the description adds meaning for a few of them, notably the one-shot operation key/digest and the acknowledgement of a reusable invite policy, plus the implicit constraint that userIds are IDs and not 'code, URL, raw CSV, file or caller role payload.' It does not address acknowledgePersistentGrants, auditReason, or inviteRef beyond the scenario framing, so compensation for the remaining coverage gap is partial.

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

Purpose3/5

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

The description identifies the resource (recipient changes on one authenticated existing invite) and enumerates the action shapes (single/bulk additions, removals, nonempty complete replacement), which maps cleanly onto the action enum. However the opening is a single dense clause burying the verb, and it never contrasts itself with execute_invite_target_change or plan_invite_creation by name, so an agent must infer that this tool only produces a plan rather than applying it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It implies the precondition context (finite policy, or reusable policy explicitly acknowledged) and an exclusion: 'Separate guild/channel/changed-user write scopes do not enable invite creation.' That is a when-not hint, but it is phrased about invite creation rather than routing the agent to plan_invite_creation, and there is no statement that the resulting plan is consumed by execute_invite_target_change. Usage is therefore implied rather than made explicit.

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

Deploy Server

Other Tools