Skip to main content
Glama

get_conversation_messages

Read-onlyIdempotent

Paginated message history, oldest to newest. Pass meta.nextCursor as cursor for the next page. body is always the original text. Inbound replies in a language other than the workspace's inbox language also carry language (detected ISO 639-1 code), translatedBody and translatedLanguage; read translatedBody to understand the reply. translationPartial=true means the reply was mostly in the inbox language and only a few phrases in language were translated. Reply in the prospect's language unless told otherwise. Use get_conversation for the conversation header and messages in one call.

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_conversation_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size. Default 50, max 200.
cursorNoOpaque pagination cursor from a previous response's meta.nextCursor
conversation_idYesId of the conversation (from list_conversations).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds meaningful context beyond that: deterministic oldest-to-newest ordering, cursor-based paging across pages, the guarantee that body is always the original text, and the semantics of language/translatedBody/translationPartial. It does not discuss rate limits or failure modes, but for a read tool this is a strong disclosure.

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?

The most decision-relevant facts (pagination, ordering, sibling alternative) are front-loaded, and each sentence carries information. The translation/language block is fairly long and reads as return-value documentation rather than selection guidance, which dilutes focus slightly, but nothing is pure filler.

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 no output schema, the description must explain returns, and it does cover the key ones: body, language, translatedBody, translatedLanguage, translationPartial, plus pagination via meta.nextCursor. That is sufficient for correct invocation; only a full field inventory of message objects is absent, which is a minor gap for a list tool.

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 the schema already documents conversation_id, limit and cursor, including the meta.nextCursor source. The description reiterates the cursor chaining flow but adds no new meaning for limit (e.g., how page size interacts with ordering) beyond the schema's 'Default 50, max 200'. Baseline 3 is appropriate.

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?

The description opens with a precise verb+resource+scope: 'Paginated message history, oldest to newest.' It also names the sibling it complements ('Use get_conversation for the conversation header and messages in one call'), so an agent can distinguish the two without inspecting schemas.

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

Usage Guidelines5/5

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

It states when to paginate (pass meta.nextCursor as cursor), which sibling to use for the header-plus-messages case, and what to do with translated content ('read translatedBody to understand the reply'). It even gives downstream behavioral advice ('Reply in the prospect's language unless told otherwise'), leaving little to inference.

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