Skip to main content
Glama

get_thread

Read-onlyIdempotent

Fetch a complete bounded mail thread directly from the provider. complete:true confirms the thread was not truncated; threads beyond safe provider bounds return a retryable error. Messages may include RFC Message-ID, In-Reply-To, and References fields; scope RFC IDs by accountId because they are not globally unique.

Input Schema

NameRequiredDescriptionDefault
threadIdYes
accountIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/non-destructive, but the description adds genuinely new behavior: a `complete:true` truncation signal, a retryable error for threads past provider bounds, and accountId-scoping of RFC IDs because they are not globally unique. The `complete:true` reference is a little terse given no output schema, which keeps this from a 5.

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?

Three tight sentences with the core purpose front-loaded and no filler; the truncation caveat follows immediately where an agent would look for it. Density is high enough that `complete:true` reads as jargon on first pass.

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?

With no output schema and no parameter documentation, the description carries the return-shape burden and does so reasonably: it names the `complete` flag, the RFC header fields that may appear, and the failure mode. What is missing is any hint of ordering, pagination, or message count scale.

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 0%, so the description must compensate. It adds important meaning for accountId (it scopes RFC Message-ID lookups because they are not globally unique) but says nothing about threadId's format or origin, leaving one of two parameters undocumented.

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 ('Fetch a complete bounded mail thread directly from the provider') and clarifies scope (whole thread, not a single message). It never names the nearest alternatives, get_email or search_threads_by_recipient, so differentiation is inferable rather than explicit.

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 'Fetch ... directly from the provider' and the note that oversized threads yield a retryable error. There is no statement of when to prefer this over get_email or search_threads_by_recipient, and no prerequisites or 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