Skip to main content
Glama
discord-mcp

discord-mcp

messages_compose

Read-onlyIdempotent

Compose and preview a Discord announcement locally, including text, embeds, files, polls, and Components V2; long or incompatible layouts become ordered parts without posting.

Instructions

Purpose: Compose and preview a complete Discord announcement locally: text, typed embeds, uploaded files, polls, and Components V2. Long text and incompatible classic/V2 layouts become ordered message parts.

When to use: Prepare a rich announcement, tournament post, report, or survey before publishing.

Files: Supply bounded base64 data URIs; preview returns filenames, sizes, and hashes without file bytes.

Next: Present the draft, then call messages_publish with the same fields to obtain its target-bound approval.

Returns: {part_count, draft_hash, preview}. No Discord request or write.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "messages_compose"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttsNo
pollNo
filesNo
embedsNo
contentNo
componentsNo
allowed_mentionsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.31.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered; the description usefully reinforces this with 'No Discord request or write.' Beyond that it adds genuinely non-obvious behavior: long text and incompatible classic/V2 layouts are split into ordered message parts, and file previews return only filenames, sizes, and hashes rather than bytes. That is real added context, though it does not discuss limits 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?

Labelled lines (Purpose / When to use / Files / Next / Returns) front-load the operation and then answer the agent's next questions in order. Every sentence carries distinct information, no restatement of the name, and the whole thing is scannable in a few seconds.

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 seven-parameter, deeply nested tool this covers the mental model well, and with an output schema present the Returns line is a bonus rather than a requirement. The remaining gap is that two top-level parameters (tts, allowed_mentions) get no mention at all, which an agent composing an announcement may need to reason about.

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 description coverage is 0%, so the description must compensate; it does so at the conceptual level by naming each payload family (content, embeds, files, polls, components) and by constraining files to bounded base64 data URIs whose bytes are not echoed back. It leaves tts and allowed_mentions entirely unexplained and gives no per-field semantics for the nested embed/poll objects, so the compensation is partial.

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 specific verb ('Compose and preview') plus the resource ('a complete Discord announcement locally') and enumerates the payload surfaces it handles: text, typed embeds, files, polls, Components V2. The 'locally' qualifier and the ordering behavior for long text/incompatible layouts make it immediately distinguishable from the publish/send siblings.

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

Usage Guidelines4/5

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

The 'When to use' line gives a concrete scenario (prepare a rich announcement, tournament post, report, or survey before publishing) and the 'Next' line names the exact successor tool, messages_publish, with the instruction to pass the same fields to get a target-bound approval. What it lacks is an explicit when-not (e.g., for plain one-line messages prefer messages_send), so it stops just short of full routing guidance.

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