Skip to main content
Glama

discord_reply_message

Posts a threaded reply to a specific Discord message by attaching a reply reference, returning the new reply ID; use it for direct responses instead of standalone messages.

Instructions

Reply to a specific message, attaching a reply reference so clients show it as a threaded reply. Use discord_send_message for a standalone message with no reference. Requires the Read Message History and Send Messages permissions (or Send Messages in Threads for a thread). Discord refuses some system messages as reply targets. Returns the new reply's message ID. In a DM, use discord_reply_dm; discord_reply_to_forum posts in a thread without a reply reference.

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": {
      "channel_id": "<channel_id>",
      "message_id": "<message_id>"
    },
    "name": "discord_reply_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentNoPlain-text body of the reply (max 2000 characters). Optional with attachments.
channel_idYesID (snowflake) of the channel or thread containing the message.
message_idYesID of the message to reply to.
attachmentsNoFiles to attach, up to 10, each as base64 data and a file name. All files together: at most 1398100 base64 characters, just under 1 MiB. Needs the Attach Files permission, except through a webhook.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.7.0
    • addedInput schema / properties / attachments
      Added value: +{
      +  "description": "Files to attach, up to 10, each as base64 data and a file name. All files together: at most 1398100 base64 characters, just under 1 MiB. Needs the Attach Files permission, except through a webhook.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "description": "File content, base64-encoded (max 1398100 characters, just under 1 MiB).",
      +        "maxLength": 1398100,
      +        "minLength": 1,
      +        "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$",
      +        "type": "string"
      +      },
      +      "description": {
      +        "description": "Alt text (max 1024 characters).",
      +        "maxLength": 1024,
      +        "type": "string"
      +      },
      +      "filename": {
      +        "description": "File name with its extension, such as report.pdf (max 255 characters).",
      +        "maxLength": 255,
      +        "minLength": 1,
      +        "pattern": "^[^\\\\/]+$",
      +        "type": "string"
      +      },
      +      "spoiler": {
      +        "description": "true adds the SPOILER_ name prefix that hides the file, false removes it.",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "data",
      +      "filename"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / content / description
      Previous value: -"Plain-text body of the reply (max 2000 characters)."New value: +"Plain-text body of the reply (max 2000 characters). Optional with attachments."
    • changedInput schema / required
      Previous value: -[
      -  "channel_id",
      -  "message_id",
      -  "content"
      -]New value: +[
      +  "channel_id",
      +  "message_id"
      +]
  2. Changed1 schema field changedv2.5.0
    • addedInput schema / properties / content / maxLength
      Added value: +2000
  3. Changed1 schema field changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
  4. Changed2 schema fields changedv2.0.0
    • addedInput schema / properties / channel_id / pattern
      Added value: +"^\\d{17,20}$"
    • addedInput schema / properties / message_id / pattern
      Added value: +"^\\d{17,20}$"
  5. Changed3 schema fields changedv1.6.0
    • addedInput schema / properties / channel_id / description
      Added value: +"ID (snowflake) of the channel or thread containing the message."
    • addedInput schema / properties / content / description
      Added value: +"Plain-text body of the reply (max 2000 characters)."
    • changedInput schema / properties / message_id / description
      Previous value: -"The message ID to reply to."New value: +"ID of the message to reply to."
  6. Addedv1.5.0
  7. Removedv1.0.0
  8. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true, idempotentHint=false and destructiveHint=false, but the description adds substantial non-annotated context: the required permissions (Read Message History, Send Messages, or Send Messages in Threads for threads) and the failure mode that Discord rejects some system messages as reply targets. It also states the return value (new reply's message ID). Only minor gaps remain, such as no note on rate limits or whether attachments count toward permission checks beyond the schema's existing note.

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

Conciseness5/5

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

Four tight sentences, front-loaded with what the tool does and immediately followed by the alternative-selection rules, then permissions, then edge cases. No filler or restatement of the title.

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 4-parameter mutation tool with a fully documented schema and no output schema, the definition covers purpose, alternatives, permissions, known failure modes, and the return value. An agent has everything needed to select and call it correctly.

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 description coverage is 100%, so all four parameters (content, channel_id, message_id, attachments) are already documented in the schema, making 3 the baseline. The description adds no syntax or constraint detail beyond that and mentions neither the content-optional-with-attachments rule nor attachment limits, which live only in 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 concrete verb and resource (reply to a message) plus the defining mechanism ('attaching a reply reference so clients show it as a threaded reply'), which separates it cleanly from discord_send_message and the plain-edit/pin siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing rules: use discord_send_message for a standalone message, discord_reply_dm in a DM, and discord_reply_to_forum for a forum thread without a reply reference. That is when-to-use, when-not-to-use, and named alternatives in two sentences.

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