Skip to main content
Glama
Discord MCP - Discord server management MCP for AI agents

Discord MCP - Discord server management MCP for AI agents

Send webhook message

send_webhook_message

Post messages to Discord through a webhook, with optional display name, avatar override, embeds, and up to 10 public URL files; mentions are suppressed.

Instructions

Post through a webhook with an optional display name and avatar override, and up to 10 files fetched from public URLs. Mentions are suppressed.

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": {
      "webhook": "<webhook>"
    },
    "name": "send_webhook_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoUp to 10 files to attach, each fetched from a public URL (20 MiB each). Needs the Attach Files permission.
guildNoGuild (server) name or ID. Omit to use the default guild.
embedsNoUp to 10 embeds. Each needs a title, a description, an author, fields, a footer, or a picture. Discord allows 6,000 characters of text across all of one message's embeds.
contentNoThe message text.
webhookYesWebhook name or ID.
username_overrideNoDisplay name for this message only, instead of the webhook's own.
avatar_url_overrideNoPublic link to an avatar image for this message only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.2
    • addedInput schema / properties / avatar_url_override / description
      Added value: +"Public link to an avatar image for this message only."
    • addedInput schema / properties / content / description
      Added value: +"The message text."
    • addedInput schema / properties / username_override / description
      Added value: +"Display name for this message only, instead of the webhook's own."
  2. Changed13 schema fields changedv1.4.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / embeds / description
      Previous value: -"Up to 10 embeds."New value: +"Up to 10 embeds. Each needs a title, a description, an author, fields, a footer, or a picture. Discord allows 6,000 characters of text across all of one message's embeds."
    • addedInput schema / properties / embeds / items / additionalProperties
      Added value: +false
    • addedInput schema / properties / embeds / items / properties / author
      Added value: +{
      +  "description": "Small line above the title, such as who it is from.",
      +  "maxLength": 256,
      +  "type": "string"
      +}
    • addedInput schema / properties / embeds / items / properties / fields
      Added value: +{
      +  "description": "Up to 25 name and value pairs under the description.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "inline": {
      +        "description": "Sits beside its neighbours instead of on a row of its own.",
      +        "type": "boolean"
      +      },
      +      "name": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "value": {
      +        "maxLength": 1024,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 25,
      +  "type": "array"
      +}
    • addedInput schema / properties / embeds / items / properties / footer
      Added value: +{
      +  "description": "Small line at the bottom.",
      +  "maxLength": 2048,
      +  "type": "string"
      +}
    • addedInput schema / properties / embeds / items / properties / image_url
      Added value: +{
      +  "description": "Large picture under the text: an http or https link, or attachment://<filename> for a file that comes with the message.",
      +  "maxLength": 2048,
      +  "pattern": "^(https?|attachment):\\/\\/\\S+$",
      +  "type": "string"
      +}
    • addedInput schema / properties / embeds / items / properties / thumbnail_url
      Added value: +{
      +  "description": "Small picture in the top corner, given the same way.",
      +  "maxLength": 2048,
      +  "pattern": "^(https?|attachment):\\/\\/\\S+$",
      +  "type": "string"
      +}
    • addedInput schema / properties / embeds / items / properties / timestamp
      Added value: +{
      +  "description": "A time shown beside the footer: \"now\" for the current time, or ISO 8601, like 2026-11-09T18:00:00Z. With no zone it is read as UTC.",
      +  "type": "string"
      +}
    • addedInput schema / properties / embeds / items / properties / url / description
      Added value: +"Makes the title a link."
    • removedInput schema / properties / embeds / items / properties / url / format
      Removed value: -"uri"
    • addedInput schema / properties / embeds / items / properties / url / pattern
      Added value: +"^https?:\\/\\/"
    • addedInput schema / properties / files
      Added value: +{
      +  "description": "Up to 10 files to attach, each fetched from a public URL (20 MiB each). Needs the Attach Files permission.",
      +  "items": {
      +    "properties": {
      +      "description": {
      +        "description": "Alt text describing the file, read by screen readers.",
      +        "maxLength": 1024,
      +        "type": "string"
      +      },
      +      "filename": {
      +        "description": "Name to show, such as chart.png. Default: taken from the URL.",
      +        "maxLength": 100,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "spoiler": {
      +        "description": "Blur it until clicked.",
      +        "type": "boolean"
      +      },
      +      "url": {
      +        "description": "Public http or https URL of the file. Local paths are not accepted.",
      +        "format": "uri",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "minItems": 1,
      +  "type": "array"
      +}
  3. Changed2 schema fields changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / embeds / items / additionalProperties
      Removed value: -false
  4. First observedv1.0.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description contributes real behavioral context beyond that: mention suppression (agents cannot ping users), the 10-file ceiling, and that name/avatar overrides apply to this message only. It stops short of describing permission requirements or failure modes.

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?

One front-loaded sentence that packs the resource, the optional overrides, the file limit and the mention-suppression rule with no filler. Nothing could be cut without losing a distinct fact.

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 7-parameter mutation with full schema coverage and no output schema, the description covers the key non-obvious behaviors (public URL fetching, mention suppression, per-message overrides). It omits any hint about required permissions or the shape of the result, which is the main remaining gap.

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 coverage is 100%, so the schema already documents webhook, content, embeds, files, and both overrides in detail. The description adds only the narrowing semantics of 'public URLs' and 'per-message' overrides, which the schema largely already carries, so the baseline 3 applies.

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 ('Post through a webhook') plus the distinguishing capabilities: per-message name/avatar override and up to 10 URL-fetched files. The webhook framing separates it from send_message without naming the sibling explicitly, so it falls just short of a 5.

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 resource ('through a webhook'), with no explicit when-to-use, when-not-to-use, or routing to alternatives like send_message, create_webhook or update_webhook. An agent can infer the case from context but gets no stated conditions or exclusions.

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