Skip to main content
Glama

discord_send_message

Send plain text messages to Discord channels using channel ID and content parameters. This tool enables automated communication within Discord servers through the discord-mcp server.

Instructions

Send a plain text message to a channel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channel_idYes
contentYes

Implementation Reference

  • The handler function implementation for the discord_send_message tool.
    case "discord_send_message": {
      const channel = await getTextChannel(args.channel_id as string);
      const sent = await channel.send(args.content as string);
      return { content: [{ type: "text", text: `✅ Message sent (id: ${sent.id}) in #${channel.name}.` }] };
    }
  • The schema definition for the discord_send_message tool.
      name: "discord_send_message",
      description: "Send a plain text message to a channel.",
      inputSchema: {
        type: "object",
        properties: {
          channel_id: { type: "string" },
          content: { type: "string" },
        },
        required: ["channel_id", "content"],
      },
    },
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states the action is 'Send' which implies a write operation, but doesn't mention permissions required, rate limits, whether it's idempotent, or what happens on failure. This leaves significant gaps in understanding the tool's behavior beyond the basic action.

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 a single, efficient sentence that gets straight to the point with zero wasted words. It's appropriately sized for a simple tool and front-loads the essential information.

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

Completeness2/5

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

For a write operation tool with 2 parameters, 0% schema coverage, no annotations, and no output schema, the description is insufficient. It doesn't explain what the tool returns, error conditions, or important behavioral aspects like message length limits or channel requirements. The description leaves too many contextual gaps for effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 for the lack of parameter documentation. It mentions 'plain text message' which hints at the content parameter, and 'to a channel' which hints at channel_id, but provides no details about format, constraints, or examples. This adds minimal value beyond what's obvious from the parameter names.

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?

The description clearly states the action ('Send') and the resource ('a plain text message to a channel'), making the purpose immediately understandable. It distinguishes from sibling tools like discord_send_embed by specifying 'plain text', though it doesn't explicitly mention those alternatives in the description itself.

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?

The description provides no guidance on when to use this tool versus alternatives like discord_send_embed or discord_reply_message. It lacks context about prerequisites (e.g., needing channel access) or typical use cases, leaving the agent to infer usage from the tool name alone.

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/PaSympa/discord-mcp'

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