Skip to main content
Glama
discord-mcp

discord-mcp

guild_change_restore

Idempotent

Restore selected supported inverses from an existing-guild change plan after review, enabling targeted rollback of specific operations instead of the entire guild.

Instructions

Purpose: Restore selected supported inverses from an existing-guild change plan after a separate review. This is selective restoration, not whole-guild rollback.**

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>",
      "expected_bot_id": "<expected_bot_id>",
      "plan_ref": "<plan_ref>",
      "approval_id": "<approval_id>",
      "operation_indexes": "<operation_indexes>"
    },
    "name": "guild_change_restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
guild_idYesDiscord guild (server) ID
plan_refYes
__confirmNoAuthorize the exact payload supplied in this call after reviewing its summary.
approval_idYes
__confirm_idNoOne-time approval ID returned by the preceding preview; expires shortly.
__confirm_hashNoSHA-256 payload_hash returned by the preceding preview.
expected_bot_idYesDiscord user ID
operation_indexesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.31.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is covered structurally. The description adds genuinely useful scope information beyond that: only 'supported' inverses can be restored, and the operation is selective. It omits, however, the preview/confirm approval choreography that the schema's approval fields clearly require, so an agent still does not learn the gating behavior from the description.

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

Conciseness3/5

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

The definition is short and front-loads purpose before the disambiguation, which is the right ordering. But it carries visible markup residue, a leading 'Purpose:' label and a stray trailing '**', which signals an unfinished string and weakens confidence in the payload the agent is reading.

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

Completeness2/5

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

This is a mutating tool with 8 parameters, 5 of them required, including a confirm_id/confirm_hash/approval_id triple that implies a two-step preview-then-confirm protocol. The description says nothing about that protocol, about what happens to operations not covered by supported inverses, or about partial-failure behavior. An output schema exists so return values need not be explained, but the invocation protocol gap is significant for a state-changing tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 63%, leaving plan_ref, approval_id and operation_indexes undocumented in both the schema and the description. The description contributes no parameter-level meaning at all: it never explains that operation_indexes selects which plan entries to invert, nor what plan_ref refers to. 'Selective restoration' gestures at the indexing concept but does not explain it.

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 (restore) and a specific resource scope (selected supported inverses from an existing-guild change plan), and explicitly negates the broader interpretation with 'not whole-guild rollback'. That negation is what lets an agent distinguish this from a full rollback sibling. It stops short of naming guild_change_apply or guild_change_plan, so the routing signal is behavioral rather than name-based.

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?

'After a separate review' does imply a precondition and a workflow position (review first, then restore), and the emphasis on 'selective restoration' tells the agent this is not the catch-all undo. However, no alternative tool is named and no explicit when-not guidance is given, such as when to use guild_change_apply or a full rollback path instead.

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