Skip to main content
Glama
AIPOST-EMAIL

AIPost.email MCP Server

Official
by AIPOST-EMAIL

get_thread

Retrieve all messages in a conversation thread, including the root and replies, sorted by creation time. Provide a thread ID or any message ID to get the complete thread.

Instructions

Get all messages in a thread (root message + all replies), ordered by createdAt ascending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
threadIdYesThread ID or any message ID within the thread
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It adds useful context beyond a simple 'get': it specifies the ordering (by createdAt ascending) and the structure (root + all replies). This provides clear expectations for a safe read operation, though it doesn't mention potential edge cases like pagination or error 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?

The description is a single, well-structured sentence that front-loads the main action and includes essential details (scope and ordering) without any fluff.

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?

For a simple retrieval tool with one parameter and no output schema, the description sufficiently covers the main functionality, input flexibility (via schema), and output ordering. It is complete for an agent to select and invoke the tool correctly.

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?

The schema has 100% description coverage for the single parameter, including the important detail that threadId can be any message ID within the thread. The tool description adds no further param semantics, so the baseline of 3 applies.

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?

The description uses the specific verb 'Get' with the resource 'all messages in a thread', clearly distinguishing it from sibling tools like get_message (single message) and send_message. It also specifies the scope (root + replies) and ordering, making the tool's function 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?

The description clearly implies when to use this tool (when needing the full thread) and differentiates from get_message by focusing on 'all messages in a thread'. However, it does not explicitly mention alternatives or exclusions, 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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIPOST-EMAIL/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server