Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

dm_send

Sends a Discord direct message to a user by ID, mention, or guild-searched name, with optional content, files, embeds, or buttons. Use it for private bot notifications or one-to-one outreach.

Instructions

Direct-message a user (id, mention, or name searched in guild). Fails with 403 code 50007 when the user blocks DMs from server members or shares no server with the bot.

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": {
      "user": "<user>"
    },
    "name": "dm_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
userYes
filesNo
guildNo
embedsNo
buttonsNo
contentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, openWorldHint=true, idempotentHint=false), and the description adds a concrete failure mode: 403 code 50007 when the recipient blocks server DMs or shares no server with the bot. That is genuine behavioral context beyond the annotations, though it says nothing about what constitutes a valid send payload or what success returns.

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?

Two tight sentences with zero filler; the primary action and its identifier semantics come first, followed by the failure condition.

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?

The description covers the action, identifier resolution, and one important error case, which suits a mutation tool whose annotations already declare the write/non-idempotent profile. However, for a 7-parameter tool with no output schema and no parameter documentation, an agent still lacks guidance on which content fields are required to actually deliver a message.

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?

With 0% schema description coverage across 7 parameters, the description carries the full burden and only explains `user` (id/mention/name) and indirectly `guild` (scope for name search). The roles of `bot`, `content`, `files`, `embeds`, and `buttons` — and any requirement that at least one body field be supplied — are undocumented in both schema and description.

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 ("Direct-message a user") and clarifies the accepted identifier forms (id, mention, or name resolved in `guild`). It is distinguishable from channel-oriented siblings like message_send by the explicit "Direct-message" framing, though no sibling is named.

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 implied rather than stated: an agent can infer this is the DM path versus message_send, and the parenthetical hints that `guild` is only needed for name-based lookup. There is no explicit when-to-use/when-not or named alternative.

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