Skip to main content
Glama
discord-mcp

discord-mcp

guild_modify_widget

Idempotent

Toggle a Discord guild's public widget on or off and set the invite channel it points to, recording an optional audit reason.

Instructions

Purpose: Update widget settings (toggle enabled, set invite channel).

When to use: - Toggle the public widget on/off, change which channel an embed-invite points at.

Returns: {enabled, channel_id}.

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": "guild_modify_widget"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledNo
guild_idYesGuild to modify
channel_idNo
audit_reasonNoReason recorded in audit log (X-Audit-Log-Reason header)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety and repeatability profile is covered upstream. The description adds the response shape but says nothing about partial-update semantics (whether omitted fields are left untouched), the audit_reason header behavior, or permission requirements for a mutation on a live public widget.

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?

The labeled Purpose / When to use / Returns structure is short and front-loaded, with no filler. There is mild redundancy in that the when-to-use bullet repeats the purpose clause, but it costs little.

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?

An output schema exists and the description still restates the return shape, which is harmless, and the read/mutate distinction is handled by annotations. For a mutation affecting a public-facing widget, the description should have stated what partial updates do to unset fields and what permissions or side effects apply — those gaps leave it merely adequate.

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 50%: guild_id and audit_reason are documented in the schema, while enabled and channel_id are only implicitly referenced by "toggle enabled" and "set invite channel" in the description. The description does not explain that channel_id=null clears the invite channel, which is the non-obvious semantic for that nullable parameter.

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 names a specific verb and resource ("Update widget settings") and enumerates the two mutable fields (enabled, invite channel), so the agent knows exactly what the call changes. It stops short of differentiating itself from read-side siblings like guild_get_widget_settings or guild_get_widget, which the agent must infer from names.

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?

"When to use" lists two scenarios — toggling the public widget and repointing an embed invite — which is genuine contextual framing. However, it largely restates the purpose line and gives no exclusion or alternative (e.g., read current state via guild_get_widget_settings before modifying).

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