Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

List exact Discord private messages

list_direct_messages
Read-onlyIdempotent

Reads one bounded page of messages from an exact one-to-one Discord DM channel for a configured user, re-verifying channel identity, participants, and recipient policy on every call.

Instructions

Read one bounded page from an exact caller-known one-to-one Discord DM channel for one separately configured ordinary user. Re-verifies pinned connector identity, exact channel participants, and recipient policy on every call. Returns plain text or supported callback-free static Components V2 layouts transiently with exact IDs, deterministic previews, untrusted link destinations, presentation classification, and bounded aggregate counts, while omitting generated and custom-ID component actions, profiles, avatars, attachment URLs, raw payloads, group DMs, discovery, and persistence.

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": {
      "channelId": "<channelId>",
      "recipientId": "<recipientId>"
    },
    "name": "list_direct_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
channelIdYesExact one-to-one DM channel ID already known to the caller
recipientIdYesExact separately configured ordinary Discord user ID
beforeMessageIdNoOptional exact message ID cursor for the next older page

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the bar is lower, yet the description adds real context beyond them: identity, participant, and recipient-policy re-verification on every call, transient delivery of rendered content, and an explicit list of omitted data (attachment URLs, raw payloads, profiles, group DMs). What it does not disclose is error behavior or whether a next-page cursor is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the opening clause, which is good, but the third sentence is a long run-on enumerating return fields and exclusions that is hard to parse and partly duplicates the output schema. Heavy qualifier stacking ('exact', 'bounded', 'deterministic', 'transiently') adds bulk without adding much precision.

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?

With an output schema present, the description need not spell out return values, and annotations cover the safety profile, so the remaining needs are scope and preconditions, both of which are addressed. The only meaningful gap is pagination lifecycle (whether a next cursor is emitted and what happens at the boundary).

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 75%, so the schema already explains channelId, recipientId, and beforeMessageId, and the description adds little parameter-level detail beyond reinforcing that the recipient is a separately configured ordinary user and the page is bounded. The limit bounds (1-50) and cursor direction are left entirely to the schema.

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 first sentence gives a specific verb and resource (read one bounded page from a one-to-one Discord DM channel) and pins the scope to a caller-known channel plus one separately configured user. It also explicitly excludes group DMs, discovery, and persistence, which separates it from broader message-reading siblings. It stops short of naming which sibling to use instead, so it is clear but not fully differentiated by name.

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: the requirement for an 'exact caller-known' channel ID and a 'separately configured' recipient tells an agent this is not a discovery tool, and 'one bounded page' plus the cursor parameter signals pagination. However, there is no explicit when-to-use versus search_messages, read_messages, or get_direct_message, and no statement of what to do when the channel is unknown.

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