Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Execute reviewed Discord widget-settings change

execute_guild_widget_settings_change
DestructiveIdempotent

Replaces a Discord guild's authenticated widget settings after a fresh matching plan and signed approval, adding a public-exposure policy gate for enabling or non-null channel selection.

Instructions

Replace one guild's complete authenticated Discord widget settings only after a fresh matching plan and signed interactive approval. Enabling the widget or selecting a different non-null channel additionally requires a separate public-exposure policy gate. A real change reserves the one-shot operation key, records pending content-free evidence, sends one non-retried complete PATCH, validates its authoritative response, and performs a fresh full authenticated readback without calling anonymous widget endpoints. Valid divergence is reported as drift; ambiguous dispatch or evidence permanently blocks later same-guild writes in this process.

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": {
      "auditReason": "<auditReason>",
      "channelId": "<channelId>",
      "enabled": "<enabled>",
      "guildId": "<guildId>",
      "operationKey": "<operationKey>"
    },
    "name": "execute_guild_widget_settings_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYesComplete desired authenticated widget enabled state
guildIdYesExact widget-settings change guild ID
channelIdYesExact public widget channel ID, or null to clear the configured channel
planDigestNo
auditReasonYes
operationKeyYesUnique one-shot operation key; keep unchanged through review and never reuse after reservation

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructive=true, idempotent=true and openWorld=true, yet the description adds substantial context: operation-key reservation, content-free pending evidence, a single non-retried PATCH, response validation, authenticated readback, and permanent blocking of later same-guild writes after ambiguous dispatch. That last blocking behavior could be read as tension with idempotentHint=true, but it describes a safety lockout rather than a repeated-effect, so it is not a true contradiction. The one gap is that the exact failure/return signals are left to the output schema.

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?

Content is front-loaded: the primary action and its gates come first, followed by execution semantics and failure behavior. It is a dense single paragraph with heavy jargon ('content-free evidence', 'authoritative response'), but nearly every clause carries a distinct operational fact rather than repetition.

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 destructive, gated mutation with an output schema available, the description covers safety preconditions, execution ordering, evidence, and failure modes thoroughly. What remains thin is how the agent obtains a valid planDigest and how freshness/matching is verified, which the agent must infer from the sibling plan tool.

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%, with descriptions already present for enabled, guildId, channelId and operationKey. The description adds meaning only for operationKey (one-shot, reserved on a real change) and implicitly for planDigest via 'fresh matching plan', while auditReason and the digest format are left entirely to the schema. This is roughly baseline for moderate coverage.

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 opens with a specific verb and resource ('Replace one guild's complete authenticated Discord widget settings') and scopes it as a full-replacement operation, which cleanly separates it from the sibling plan_guild_widget_settings_change and get_guild_widget_settings readers. An agent can identify the operation 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 states clear preconditions: a fresh matching plan, signed interactive approval, and an extra public-exposure policy gate when enabling the widget or switching to a different non-null channel. It does not literally name the plan tool as a prerequisite, so the agent must infer the pairing from the phrase 'fresh matching plan', but the when-to-use context is otherwise 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