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

Discord MCP - Discord server management MCP for AI agents

Create webhook

create_webhook

Creates an incoming Discord webhook on a channel so messages can be posted with a custom display name and avatar.

Instructions

Create an incoming webhook on a channel. Webhooks post with any display name and avatar, which is how messages 'as someone' work legitimately.

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": "<channel>",
      "name": "<name>"
    },
    "name": "create_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe webhook's display name. send_webhook_message can override it for a single message.
guildNoGuild (server) name or ID. Omit to use the default guild.
channelYesChannel name or ID.
avatar_urlNoImage for the webhook's default avatar, up to 1 MB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.2
    • addedInput schema / properties / name / description
      Added value: +"The webhook's display name. send_webhook_message can override it for a single message."
  2. Changed1 schema field 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"
  3. Changed1 schema field changedv1.3.0
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observedv1.0.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false). The description adds genuinely non-obvious context — that webhook messages can carry arbitrary display name/avatar — but omits that creation returns credentials a later send call needs, and says nothing about permission requirements.

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?

Two front-loaded sentences with no filler; the purpose comes first and the explanatory note second. The clause about messages 'as someone' working 'legitimately' is slightly editorial but does convey real behavior.

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

Completeness3/5

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

Adequate for a four-parameter creation tool with full schema coverage and annotation hints, but it leaves out what an agent likely needs: required permissions, and the fact that a create call yields an identifier/token consumed by send_webhook_message.

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 channel, name, guild and avatar_url are already documented in the schema, including the maxLength and 1 MB avatar limit. The description mentions 'on a channel' but adds no meaning beyond the schema, 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 — 'Create an incoming webhook on a channel' — which an agent can distinguish from delete_webhook/update_webhook. It stops short of naming those siblings or clarifying the relationship to send_webhook_message.

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

Usage Guidelines2/5

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

No guidance on when to choose this over update_webhook, send_webhook_message, or other create_* tools, and no prerequisites (e.g. manage-webhooks permission) are stated. The second sentence explains what webhooks are for, which only implicitly signals usage.

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