Skip to main content
Glama
cappyeo

discord-mcp

webhooks_modify_with_token

Idempotent

Update a webhook's name and avatar using its token, without bot authentication.

Instructions

Purpose: Update a webhook (name + avatar only) using its token, no bot auth.

When to use:

  • You hold the token but lack guild access.

Restrictions:

  • Cannot move the webhook (channel_id not accepted on this route - use webhooks_modify).

  • Discord does not record audit reasons on token-auth routes, so audit_reason is intentionally absent.

Auth: NO Authorization: Bot … header.

Returns: Updated webhook record. name remains raw creator-controlled data; untrusted_name provides a separately fenced copy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew display name
tokenYesWebhook secret - treat as credential, do not log
avatarNobase64-encoded image data URI, or null to clear
webhook_idYesWebhook to modify

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond annotations (readOnly=false, idempotent=true), the description discloses the auth requirement (no Bot header), absence of audit_reason on token-auth routes, and the untrusted_name fenced copy for raw creator data. This adds significant behavioral context not present in annotations.

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?

The description is well-structured with clear sections (Purpose, When to use, Restrictions, Auth, Returns) and every sentence adds value with no redundancy or filler.

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?

Given the output schema exists and annotations provide idempotency/destructive hints, the description covers the critical context: auth method, parameter scope, restrictions, and return value nuances. It is complete for an agent to invoke correctly.

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?

Schema coverage is 100% with descriptions for all parameters. The description further clarifies that only name and avatar are modifiable, and that channel_id is not accepted, adding semantic meaning beyond the raw 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?

The description opens with a specific verb+resource: 'Update a webhook (name + avatar only) using its token, no bot auth.' It clearly differentiates from sibling webhooks_modify by stating the token-auth method and scope (name/avatar only).

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?

The 'When to use' section explicitly states the condition (holding token but lacking guild access), and the Restrictions section points to webhooks_modify as the alternative for moving webhooks, providing clear usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cappyeo/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server