Skip to main content
Glama

read_direct_messages

Fetch direct message conversation history with a specific user. Limit results by count or retrieve messages before, after, or around a message ID.

Instructions

Read direct message conversation history with a user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoFetch messages after this message ID
countNoNumber of messages to retrieve (1-100, default: 50)
aroundNoFetch messages around this message ID
beforeNoFetch messages before this message ID
userIdYesDiscord User ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: no ordering, pagination, or result-limit behavior despite five pagination parameters, and no note that the bot needs DM access/permission to the user. This is a significant gap for a multi-parameter read tool with zero annotation coverage.

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

Conciseness4/5

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

A single efficient sentence that is front-loaded with the core purpose and contains no filler. It is appropriately sized, though perhaps too sparse for a tool with this many parameters.

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 5-parameter tool with no annotations and no output schema, one sentence leaves out permissions requirements, result ordering, and pagination semantics needed to invoke it correctly. The description is not complete enough given the complexity.

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 100%, so all five parameters (userId, after, around, before, count) are already documented in the schema. The description adds no additional meaning beyond what the schema provides, so the baseline of 3 applies.

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 states a specific verb (Read) and resource (direct message conversation history) and scopes it to a single user. It is clear and distinct from read_messages (channel-based), though it never explicitly names that sibling as the alternative.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as read_messages for channels or search tools. The agent must infer usage purely from the name and one sentence.

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