Skip to main content
Glama

get_dm_conversation

Retrieves every message in a single direct-message thread, oldest first, including both sides and participant profiles so you can inspect the full conversation.

Instructions

Every message in one DM thread, oldest first.

Includes both directions and the participants' profiles. If a reply the user can see on x.com is missing here, X is not serving it to the cookie session — report that instead of assuming it does not exist.

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": {
      "conversation_id": "<conversation_id>"
    },
    "name": "get_dm_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
conversation_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.6
    • removedInput schema / properties / conversation_id / description
      Removed value: -"The conversation ID (from get_dm_inbox)."
    • removedInput schema / properties / limit / description
      Removed value: -"Max messages to return (default 50)."
  2. First observedv1.0.3

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that both directions are returned (no direction filter), that participant profiles are bundled in, the ordering, and an important caveat that an absent reply is an X-side serving limitation rather than proof of nonexistence. It omits pagination/limit behavior and any auth or rate-limit context.

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?

Three short sentences, front-loaded with the core behavior, then scope, then the caveat. No filler, though the final sentence is slightly verbose.

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?

An output schema exists, so return values needn't be explained, and the description adds useful behavioral and diagnostic context. The gap is the undocumented limit parameter and unclear pagination, which matter for a thread that may be long.

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 and largely does not: 'one DM thread' implies conversation_id but gives no format, and the limit parameter (default 50) and whether it paginates are never addressed. An agent cannot tell from either source what limit does.

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 and resource ('Every message in one DM thread') plus ordering ('oldest first'). The thread-level scope inherently separates it from thread-listing siblings like get_dm_inbox and from search_dm.

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 — you call it to read one thread's messages — but there is no explicit when-to-use versus search_dm or get_dm_inbox. The troubleshooting sentence covers one edge case (missing replies) rather than steering between tools.

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