Skip to main content
Glama

get_conversation

Read-only

One support chat, as the dashboard shows it: the messages oldest first (from customer, team, ai, system for notices like the away message, or note for the team's internal notes, which the customer never sees; translation is the English of a message in another language, from the customer or a reply by the team or the AI, and on a team reply that went out in the customer's language (customerLanguage) it has sentIn, the language it was sent in, with text the English it was written in; replyTo is the earlier message one answers (swipe to reply): id, author, authorName, body, image; via "email" came or went by email, via "agent" was written by an AI agent), the customer (name, email, emailEnteredInChat true when the visitor typed that email into the web chat to get replies by email, so it is not proven theirs, user id, whether their identity is verified, country, city, time zone and their local time now, and the metadata the app sends), what they bought (purchases: plan, status such as active, trial, cancelled or expired, total spent in USD, since when, how they rank among payers, line as one sentence, history, each purchase event from Superwall, RevenueCat, Stripe, Dodo Payments or Polar, reportedPlan, the plan the app reports, and planCheck, whether the two agree: "match", "app_says_free", "app_says_paid" or null, as in list_conversations), their last 10 events in the app, customer.install (whether they still have the app as of the last check; check_install asks again), any drafts waiting, label ("refund" when the AI handed the chat over as a refund or billing request, with the store's next step in a note from Hailbell; else null), agentReplies (whether reply sends or saves a draft in this app) and dashboardUrl. Reading does not mark the chat as read for the team, and goes in the account's data access log, which its admins can see. For older messages, pass before = the previous answer's next.

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
limitNoMessages to return, the latest ones. Default 50
beforeNoFrom a previous answer's next, for the messages before them
conversationIdYesThe chat, from list_conversations (conversationId)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses important side effects: reading does not mark the chat as read for the team, and the read is recorded in the account's data access log visible to admins. It also explains privacy behavior, such as internal notes the customer never sees and how translation and sentIn fields work.

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

Conciseness2/5

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

The content is front-loaded, but the description is an enormous run-on sentence with deeply nested parentheticals that is difficult to scan. Much of the detail is meaningful because there is no output schema, but the structure is not concise or easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and a complex return shape, the description thoroughly documents the conversation contents, customer data, purchase history, events, install status, labels, and pagination. It also covers side effects and cross-tool relationships, leaving little an agent needs missing before calling it.

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 input schema already defines limit, before, and conversationId. The description adds little parameter-level detail beyond reinforcing that before is for older messages and conversationId comes from list_conversations, so the baseline of 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 specific verb-and-resource: 'One support chat, as the dashboard shows it.' It clearly distinguishes this from the sibling list tool by referring to a single chat sourced from list_conversations and by enumerating the detailed fields returned.

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?

It gives clear context for retrieving one chat and explicitly explains pagination: 'For older messages, pass before = the previous answer's next.' It also references check_install for refreshing install status and list_conversations as the source of conversationId, though it does not explicitly state when to prefer this over list_conversations.

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