Skip to main content
Glama

Get conversation

getConversation
Read-onlyIdempotent

Read a whole conversation, with message bodies. Pass the id of any inbound email and get every message of its thread, inbound and outbound, oldest first, each with its text, a direction (inbound/outbound) and a derived role (inbound→user, outbound→assistant). This is the tool for finding out what was said. Each text is sized for reading: every link target is replaced by [link], and the quoted history a reply repeats is removed (the total is quoted_chars_removed); for link targets, read an inbound message with getEmail (its id and links: "all") and an outbound one with getSentEmail with full: true, whose body has them. For a brand-new message, returns just that one turn. The response includes thread_id, a truncated boolean (true when the message cap was reached) and a message_count field. A thread that so far contains only messages you sent has no inbound email id: read those with listSentEmails and getSentEmail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of any inbound email in the conversation.
fullNoSet true for the record as stored. By default the result is a compact view for reading, which leaves out link targets, the quoted history each reply repeats and per-turn message ids and classification.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
toolYes
statusYes
statusTextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / full
      Added value: +{
      +  "default": false,
      +  "description": "Set true for the record as stored. By default the result is a compact view for reading, which leaves out link targets, the quoted history each reply repeats and per-turn message ids and classification.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources