Skip to main content
Glama

get_conversation

One chat conversation: its newest messages in order (role, content, run_id, created_at), a page of limit, with earlier_cursor for the older ones (null when the page reaches the first message), and the runs those messages hold, with their hooks, plus nullable language and country search picker settings. Same shape as GET /v1/conversations/{conversation_id}. Free. Errors: 404 conversation_not_found, 422 for an id that is not a UUID or a cursor this API did not issue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNomessages per page, newest page first
beforeNoearlier_cursor from the previous page; leave out for the newest messages
api_keyNo
conversation_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / before
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "earlier_cursor from the previous page; leave out for the newest messages",
      +  "title": "Before"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 100,
      +  "description": "messages per page, newest page first",
      +  "maximum": 500,
      +  "minimum": 1,
      +  "title": "Limit",
      +  "type": "integer"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the return shape (role, content, run_id, created_at), pagination semantics including when earlier_cursor is null, that the cost is 'Free', and two error codes with their meanings. It omits explicit auth/permission requirements, which is the main remaining gap.

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?

Front-loads the resource, then packs pagination, cost and errors into a tight passage. The heavy parenthetical nesting makes it dense, but every clause carries information; nothing is decorative.

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?

An output schema exists, so restating the return shape is partly redundant, yet the description rounds out the picture with pagination behavior and precise error semantics. For a moderately complex read tool with a required id, nothing essential for calling it is missing.

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 only 50% (api_key and conversation_id undocumented), so the description has to compensate. It explains the pagination contract clearly — 'a page of limit' with earlier_cursor for older messages, null at the first message — adding real meaning beyond the schema's terse limit/before descriptions.

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?

States a specific resource with a clear scope: 'One chat conversation' with its newest messages, runs and settings. The word 'one' implicitly distinguishes it from the sibling list_conversations, though the sibling is never named. Clear enough that an agent knows exactly what it retrieves.

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

Usage Guidelines3/5

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

Usage is only implied by the description of a single conversation lookup; there is no explicit when-to-use, no note to prefer list_conversations to enumerate, and no stated prerequisites. An agent can infer the context but is not guided.

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