Skip to main content
Glama
SocialDesk MCP Server

SocialDesk MCP Server

Official

Get messages in a conversation

get_messages_in_a_conversation
Read-only

Read the messages in a direct-message conversation by passing conversationId and accountId, so you can review and respond to a specific social inbox thread.

Instructions

Read the messages in one direct-message conversation. Pass the conversationId and accountId from list_dm_conversations_across_all_accounts_in_a_space.

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>",
      "accountId": "<accountId>"
    },
    "name": "get_messages_in_a_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdYes
conversationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds little beyond that: it does not mention ordering, pagination/limits, or whether historical messages beyond a window are returned, which matters for a message-listing read.

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 short sentences, front-loaded with the purpose and followed immediately by the required inputs. Nothing is redundant or padded.

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?

For a simple two-parameter read with no output schema, the description covers what it does and where the inputs come from. The main omission is the return shape (fields per message, ordering, volume), which would help an agent know what to expect from an undocumented response.

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 the burden, and it partially does by explaining that both IDs originate from the conversation-listing tool. It still does not clarify the accountId versus conversationId distinction or the expected ID formats, leaving one gap for two required parameters.

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: reading messages within a single direct-message conversation. The scope ('one conversation') is explicit, which separates it in practice from the sibling that lists conversations, though the description does not name any sibling as an alternative for other message-retrieval needs.

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?

Gives concrete prerequisite guidance: both conversationId and accountId must come from list_dm_conversations_across_all_accounts_in_a_space. It does not state when not to use it or what to do if the conversation is unknown, but the dependency chain is clear enough to route an agent correctly.

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