Skip to main content
Glama

Get Agent Conversation

get_agent_conversation
Read-onlyIdempotent

Read visible messages, answers and result links in an owned agent's conversation. Returns the newest page in chronological order. For older history, pass next_before_id as before_id. For new replies, omit before_id.

Input Schema

NameRequiredDescriptionDefault
limitNo
agent_idYesOwned agent ID from list_agents.
before_idNo
conversation_idYesConversation ID returned by these tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false). The description adds genuine behavior beyond that: results arrive newest-page-first in chronological order, and only 'visible' messages are returned, implying some content may be withheld. It does not cover error or empty-conversation behavior.

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?

Three tightly packed sentences with no filler: purpose first, then ordering, then the two pagination cases. Every sentence earns its place and nothing is repeated from the structured fields.

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 read-only retrieval tool with no output schema, the description covers the return shape (messages, answers, result links), ordering, and pagination cursor. The only gap is that next_before_id is referenced without stating it appears in the response payload, which an agent must infer.

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 50% – before_id and limit carry no schema description. The description compensates for the key undocumented parameter by explaining before_id's direction and its counterpart next_before_id in the response, which is valuable given there is no output schema. limit is left unexplained, but its default and bounds are self-evident in the schema.

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 states a specific verb and resource ('Read visible messages, answers and result links in an owned agent's conversation'), which cleanly separates it from the sibling list_agent_conversations that enumerates conversations rather than messages. It stops short of naming that sibling explicitly, so the differentiation is inferred rather than stated.

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?

It gives concrete 'when' guidance for pagination: omit before_id for new replies, pass next_before_id as before_id for older history. However, it offers no guidance on when to choose this tool over alternatives, and the schema's reference to 'Conversation ID returned by these tools' leaves the discovery path (list_agent_conversations) unstated.

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