Skip to main content
Glama

get_conversation

Idempotent

Read ONE of the user's OWN message conversations by thread_id, including its messages. Use it when the user wants to read a specific conversation ("what did the landlord say?") or before writing a reply that depends on what was said. Side effect: incoming messages in the thread are marked read — for a quick inbox overview or unread counts use list_conversations instead, so messages the user has not seen stay unread. Returns { thread, messages: [...] }; each message has id, sender_name, body, created_at, read_at and is_mine (true = sent by the user). Only threads the authenticated user participates in are returned; any other thread_id returns an error. Get the thread_id from list_conversations, then answer with reply_to_conversation.

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

Input Schema

NameRequiredDescriptionDefault
thread_idYesConversation id (a UUID), taken from list_conversations. Example: "3f6c2a1e-8b4d-4c7a-9e21-5d0f7a6b1c34".

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • addedInput schema / properties / thread_id / description
      Added value: +"Conversation id (a UUID), taken from list_conversations. Example: \"3f6c2a1e-8b4d-4c7a-9e21-5d0f7a6b1c34\"."
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Discloses the non-obvious write side effect ('incoming messages in the thread are marked read') that explains why readOnlyHint is false despite the tool being a read, and warns how that side effect damages the user's unread state. It also states the authorization boundary (only threads the user participates in; other thread_ids error) and the return shape. Nothing here contradicts the annotations — a non-destructive, idempotent read-with-side-effect matches readOnlyHint=false, destructiveHint=false, idempotentHint=true.

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?

Purpose and scope are front-loaded, then the side-effect warning, then the return contract, then the workflow — a sensible order with no filler sentences. It is dense and somewhat run-on (multiple clauses per sentence), which costs a little readability but not correctness.

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?

Covers everything an agent needs for a one-parameter tool: what it returns, what the fields mean (is_mine, read_at), the side effect, the auth failure mode, and the adjacent tools to chain. Since an output schema exists, the brief return summary is a bonus rather than a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the parameter is already documented, but the description adds real meaning: where the thread_id comes from (list_conversations) and the failure semantics for a thread_id the user does not participate in. That error behavior is not in the schema and materially affects how an agent should handle a call.

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?

States a specific verb and resource ('Read ONE of the user's OWN message conversations by thread_id, including its messages'), plus the ownership scoping constraint. It is immediately distinguishable from list_conversations and reply_to_conversation, which are named in the text.

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?

Gives concrete when-to-use triggers ('what did the landlord say?', or before writing a dependent reply) and an explicit when-not with the alternative named ('for a quick inbox overview or unread counts use list_conversations instead'). It also closes the loop on workflow: get thread_id from list_conversations, then answer with reply_to_conversation.

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