Skip to main content
Glama
discord-mcp

discord-mcp

interactions_edit_original_response

Idempotent

Edit an original Discord interaction response to complete deferred replies or update message content, embeds, components, and attachments after acknowledgement.

Instructions

Purpose: Edit the original interaction response (e.g. fill in a deferred reply).

Auth: token-secured (NO bot token).

Body mirrors a webhook execute body: content, embeds, components, attachments, allowed_mentions, payload_json, flags, poll. null clears.

Returns: {message_id, channel_id} after the edit.

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": {
      "application_id": "<application_id>",
      "interaction_token": "<interaction_token>"
    },
    "name": "interactions_edit_original_response"
  }
}

Input Schema

NameRequiredDescriptionDefault
pollNo
flagsNoMessage flags bitfield. V2 layout = 1<<15 = 32768.
embedsNo
contentNo
componentsNo
attachmentsNo
payload_jsonNo
application_idYesBot/app application ID
allowed_mentionsNo
interaction_tokenYesScoped interaction credential, reusable for follow-ups for up to 15 minutes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.9/5.0
Behavior4/5

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

Adds real value beyond annotations: discloses that auth is token-secured with NO bot token, that `null` clears fields, and what is returned. Annotations already cover the safety profile (readOnly=false, destructive=false, idempotent=true), and the description's auth and null-clearing notes are genuinely additive.

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?

Front-loads purpose, then auth, then body, then return value in labeled chunks. Compact with no filler; the only slight redundancy is describing the return value when an output schema exists.

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

Completeness5/5

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

For a 10-param mutation tool with nested free-form objects, the definition covers the essentials an agent needs: auth model, body shape, null-clearing semantics, and timing constraints (interaction_token reusable for 15 minutes) via the schema. Output schema already documents returns, so no gap remains.

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?

With only 30% schema coverage across 10 params, the description compensates by naming the body fields (content, embeds, components, attachments, allowed_mentions, payload_json, flags, poll) and explaining the semantic rule that `null` clears. The 'mirrors webhook execute body' framing helps agents reuse known structure, though per-field format details remain absent.

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?

States a specific verb and resource ('Edit the original interaction response') and clarifies scope against the followup siblings with 'original'. The parenthetical example anchors intent, though it never names a sibling to differentiate from explicitly.

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?

The 'e.g. fill in a deferred reply' example implies the main use case, but there is no explicit when-to-use/when-not guidance and no routing to interactions_edit_followup or interactions_delete_original_response. Usage is inferable rather than stated.

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