Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Edit exact Discord webhook message

edit_webhook_message
DestructiveIdempotent

Replace the plain-text content of a specific Discord Incoming webhook message by ID, using a one-shot operation key with allowlisted notifications and readback verification.

Instructions

Replace the complete plain-text content of one exact message authored by one privately managed Discord Incoming webhook. Enforces exact allowlisted user notifications, empty role and everyone mention parsing, suppressed embeds, per-channel anti-spam limits, a durable one-shot operation key, one non-retried mutation, and exact response plus readback verification. The credential and execution URL never enter MCP data or durable records; message content is not persisted.

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": {
      "content": "<content>",
      "operationKey": "<operationKey>",
      "webhookId": "<webhookId>",
      "messageId": "<messageId>"
    },
    "name": "edit_webhook_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes
messageIdYesExact webhook-authored message ID
webhookIdYesExact privately managed Incoming webhook ID
operationKeyYesUnique one-shot operation key; keep unchanged through review and never reuse after reservation
notifyUserIdsNo

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations by disclosing mention-parsing behavior (empty role/everyone), suppressed embeds, per-channel anti-spam limits, a single non-retried mutation, a durable one-shot operation key, and response plus readback verification. It also adds credential-handling context — the execution URL and credential never enter MCP data and content is not persisted — which an agent cannot get from readOnlyHint/destructiveHint/openWorldHint/idempotentHint alone. Nothing here contradicts the annotations; the one-shot key is consistent with idempotentHint=true.

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 purpose is front-loaded in the first clause and every subsequent clause carries a distinct behavioral guarantee rather than filler. It is a dense run-on sentence, though, and the comma-separated guarantee list would read faster as shorter sentences.

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?

With annotations, an output schema, and a readback-verification guarantee spelled out, an agent has enough to call this destructive mutation safely. The remaining gap is routing guidance against the many sibling edit/plan tools, which the description never addresses.

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 60%, so some compensation is needed, and the description supplies it for the non-obvious parameters: notifyUserIds is framed as 'exact allowlisted user notifications' and operationKey as a durable one-shot token that must not change through review or be reused. It says nothing about the content field's plain-text restriction beyond 'plain-text', and does not mention the 10-item notifyUserIds cap, leaving those to the schema.

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?

States a specific verb (Replace), a specific field (complete plain-text content), and narrows to exactly one message authored by exactly one privately managed Incoming webhook. That scoping cleanly separates it from edit_own_message and from the thread/attachment edit siblings.

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?

Usage is only implied by the description of what the operation does; there is no explicit statement of when to pick this over edit_own_message or the plan_/execute_ attachment-edit pair, nor any prerequisite or exclusion. An agent can infer it handles webhook-authored messages rather than user-authored ones, but it must do the inference itself.

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