Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Plan reviewed Discord message attachment edit

plan_message_attachment_edit
Read-onlyIdempotent

Plans an exact edit of a bot-owned Discord message’s attachments by retaining IDs, removing excluded files, adding local uploads, and optionally replacing the caption or embeds before applying.

Instructions

Review the complete desired attachment set of one exact bot-owned ordinary guild message. Retain authenticated attachment IDs, remove excluded IDs, and optionally add owned local files or replace the caption. Requires separate edit capability and exact channel scope. Reads complete own-message content transiently, proves permission before file reads, preserves pinned state and suppresses new notifications. Select presentation to preserve, replace, or clear eligible authored embeds, with separately scoped embed authority and exact inline upload bindings. Remote files remain unsupported.

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": {
      "channelId": "<channelId>",
      "messageId": "<messageId>",
      "attachments": "<attachments>",
      "operationKey": "<operationKey>"
    },
    "name": "plan_message_attachment_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentNo
channelIdYes
messageIdYes
attachmentsYes
operationKeyYesUnique one-shot operation key; keep unchanged through review and never reuse after reservation
presentationNo

Output Schema

NameRequiredDescriptionDefault
digestYes
statusYes
targetYes
channelYes
messageYes
maxBytesYes
warningsYes
createdAtYes
permissionYes
totalBytesYes
applicationYes
schemaVersionYes
writeRequiredYes
operationKeyHashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real substance beyond them: content is read transiently, permission is proven before any file read, pinned state is preserved, and new notifications are suppressed. It also discloses that embed authority is separately scoped and that inline uploads must bind to exact unused positions. It does not mention rate limits or how long a planned reservation stays valid beyond the schema's operationKey note.

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 main purpose is front-loaded and every clause carries information, but the prose is dense and jargon-heavy ('ordinary guild message', 'eligible authored embeds', 'proves permission before file reads'), forcing re-reads. Several ideas are packed into single sentences, making the structure harder to scan than a short bulleted breakdown would be.

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 six-parameter tool with nested attachment and embed unions, the description covers permissions, scope, unsupported remote files, state preservation, and notification suppression, and an output schema exists to explain return values. The main residual gap is the operationKey reservation lifecycle, which is partly covered by the schema but not reinforced in the description.

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?

With only 17% schema description coverage the description has to carry the load, and it does map most fields conceptually: retain vs. remove attachment IDs, optional owned local file additions, caption replacement via content, and preserve/replace/clear presentation with exact inline upload bindings. But operationKey is never mentioned in the description, and no parameter's format, limits (e.g. max 10 attachments, embed position enums), or interaction rules are expanded on.

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 opening sentence states a specific verb and resource: review the complete desired attachment set of one exact bot-owned ordinary guild message, then retain/remove/add attachments or replace the caption. This is clearly a planning tool that computes a desired end state rather than executing it. It stops short of naming the execution sibling (execute_message_attachment_edit), so the plan-vs-apply boundary is only implied by the verb 'Review'.

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?

Preconditions are stated: 'Requires separate edit capability and exact channel scope' and 'Remote files remain unsupported', which tell the agent when the call will fail. However, there is no explicit statement of when to choose this over execute_message_attachment_edit or plan_attachment_message, and no guidance on what to do with the result of the plan.

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