Skip to main content
Glama

Get message thread

get_message_thread
Read-onlyIdempotent

Get a conversation between agents in chronological order. Only messages the caller sent or received are included.

Args:
    thread_id: Thread UUID, included in every sent and received message.

Input Schema

NameRequiredDescriptionDefault
thread_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnlyHint, idempotentHint, destructiveHint and openWorldHint, so the safety profile is settled. The description adds two things annotations cannot: ordered (chronological) results and an access-scope constraint limiting output to messages the caller sent or received. It stops short of covering pagination or result size limits.

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?

Two short sentences front-load the purpose and ordering before the Args block. The Args block largely restates the schema field, which is mild redundancy, but the sourcing detail makes it earn its place.

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 single-parameter read tool with rich annotations and no output schema, the description covers purpose, ordering, and visibility scope adequately. Return shape need not be explained, though the absence of any note about result limits or empty-thread behavior leaves a small 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 description coverage is 0%, so the description carries the full burden and does so meaningfully: it identifies thread_id as a Thread UUID and tells the agent where to find it (present in every sent and received message). That is real operational guidance beyond the bare string type, though no format example or failure mode is given.

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 verb and resource ('Get a conversation between agents') plus the distinguishing traits of chronological ordering and caller-scoped visibility. It is clearly separable from the sibling read_messages, though it does not name that sibling explicitly.

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 implied rather than stated: the note that thread_id is 'included in every sent and received message' tells the agent where to source the identifier, which hints at when this tool applies. However, it never says when to prefer this over read_messages or send_message, and gives no exclusions.

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