Skip to main content
Glama

Get Conversation

get_conversation
Read-onlyIdempotent

The messages in one conversation, oldest first. Use conversationId and accountId exactly as returned by list_conversations.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax messages to return (1–50, default 20), newest kept
accountIdYesaccountId exactly as returned by list_conversations
conversationIdYesconversationId exactly as returned by list_conversations

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / accountId / description
      Added value: +"accountId exactly as returned by list_conversations"
    • addedInput schema / properties / conversationId / description
      Added value: +"conversationId exactly as returned by list_conversations"
    • addedInput schema / properties / limit / description
      Added value: +"Max messages to return (1–50, default 20), newest kept"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish that this is a safe, idempotent, closed-world read, so the safety profile needs no restating. The description adds genuine behavioral information not in the annotations: results are ordered oldest first. It does not address truncation behavior beyond what the schema's limit field implies.

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 with no filler: the resource and ordering come first, then the parameter-sourcing constraint. Nothing is redundant or buried.

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 three-parameter read tool with full schema coverage, no nested objects, and annotations covering safety, this is close to sufficient. The one gap is that with no output schema, the description says nothing about what a message record contains or whether truncation occurs when limit is hit.

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 all three parameters are already documented, and the description largely repeats the schema's wording about using IDs exactly as returned by list_conversations. That repetition does reinforce that the IDs are opaque and must not be reformatted, but it adds little beyond the structured field.

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?

The description identifies the resource precisely ('the messages in one conversation') and its scope, making it clearly distinct from the sibling list_conversations, which enumerates conversations rather than their messages. It omits an explicit verb ('returns'), but the intent is unambiguous.

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 states a real prerequisite: the conversationId and accountId must come from list_conversations, which effectively routes the agent through that sibling first. It does not spell out when-not-to-use or what happens for invalid/unknown IDs, so it stops short of full guidance.

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