Skip to main content
Glama

Read a direct-message conversation

get_conversation
Read-onlyIdempotent

Read one of the writer's stored direct-message conversations and its messages, newest first, by the id from list_conversations. Read-only. direction is incoming (from the other person) or outgoing (from the writer's account). Deleted messages have content null. Pass page.nextCursor as cursor to read older messages. Requires the Revenue Writer plan or above.

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": {
      "conversationId": "<conversationId>"
    },
    "name": "get_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
conversationIdYes

Output Schema

NameRequiredDescriptionDefault
pageYes
messagesYes
conversationYes
connectedAccountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / conversation / properties / kind
      Added value: +{
      +  "enum": [
      +    "direct",
      +    "group"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversation / properties / memberCount
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / conversation / required
      Previous value: -[
      -  "id",
      -  "platform",
      -  "account",
      -  "participant",
      -  "lastMessagePreview",
      -  "lastMessageAt",
      -  "unreadCount",
      -  "state",
      -  "url",
      -  "messagesComplete"
      -]New value: +[
      +  "id",
      +  "platform",
      +  "kind",
      +  "memberCount",
      +  "account",
      +  "participant",
      +  "lastMessagePreview",
      +  "lastMessageAt",
      +  "unreadCount",
      +  "state",
      +  "url",
      +  "messagesComplete"
      +]
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still adds real value: newest-first ordering, the fact that deleted messages carry null content, cursor-based paging, and a plan-tier requirement. It does not mention caps beyond what the schema shows (e.g. what happens past the last page), which keeps it off a 5.

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?

Four short, front-loaded sentences with no filler: what it reads, ordering, id provenance, read-only, field semantics, pagination, and access requirement — each sentence adds distinct information.

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?

An output schema exists, so return shape need not be described, and the definition still covers ordering, deleted-message nulls, and cursor continuation. The only gap is the undocumented limit parameter, which the schema's own default and bounds partially mitigate.

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 0%, so the description must carry parameter meaning; it explains conversationId and cursor (via page.nextCursor) well but says nothing about limit, leaving one of three parameters undocumented outside its default/maximum constraints.

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?

Names a specific verb and resource ('Read ... direct-message conversations and its messages') plus scope ('the writer's stored'), and routes the id source to list_conversations, so it is distinguishable from its nearest sibling without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to get the conversationId from list_conversations and to pass page.nextCursor as cursor for older messages, which covers the main usage path and pagination continuation. It stops short of stating when not to use it (e.g. versus list_conversations for scanning all threads), so it is clear but not fully exclusionary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources