Skip to main content
Glama
inboundemail

Inbound Email MCP Server

by inboundemail

Get Thread

get_thread
Read-onlyIdempotent

Retrieve complete email threads with all messages, metadata, and participant details in chronological order for comprehensive conversation tracking.

Instructions

Get a complete email thread (conversation) with all messages. Returns thread metadata, all messages in chronological order, and participant information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe thread ID to retrieve (e.g., 'thread_xxx')
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering safety and idempotency. The description adds valuable context beyond annotations: it specifies the return content (metadata, messages in chronological order, participant information) and clarifies that it retrieves 'all messages,' which isn't obvious from the tool name alone.

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 two concise sentences that are front-loaded with the core purpose and efficiently detail the return values. Every word adds value without redundancy, making it easy for an agent to parse quickly.

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?

Given the tool's low complexity (1 parameter), rich annotations (covering safety and idempotency), and lack of output schema, the description is mostly complete. It explains what the tool returns, but could improve by mentioning error cases or limitations, though annotations provide good foundational context.

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%, with the single parameter 'id' fully documented in the schema. The description doesn't add any parameter-specific details beyond what the schema provides, such as format examples or constraints, so it meets the baseline for high schema coverage.

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 clearly states the specific action ('Get a complete email thread'), the resource ('email thread'), and the scope ('with all messages'). It distinguishes from siblings like 'get_email' (single message) and 'list_threads' (list only) by emphasizing completeness and chronological order.

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 implies usage context by specifying it retrieves a complete thread, suggesting it's for detailed viewing rather than listing. However, it doesn't explicitly state when to use this over alternatives like 'get_email' or 'list_threads', nor does it mention prerequisites or exclusions.

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/inboundemail/mcp'

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