Skip to main content
Glama

gmail_get_thread

Read-only

Read a full Gmail thread by thread_id from gmail_search, oldest message first. Bodies are truncated to 4,000 characters and up to 30 messages are returned.

Instructions

Read a whole conversation (oldest first). Bodies are truncated to 4000 characters each; up to 30 messages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thread_idYesthread_id from gmail_search

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint), and the description adds genuinely useful response behavior beyond them: bodies truncated to 4000 characters each and a 30-message cap. This is important context an agent needs to interpret results correctly.

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?

Two short sentences, front-loaded with the core action and then the limits. Every clause carries information; nothing is wasted.

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, the description usefully discloses ordering and truncation limits so the agent can reason about the returned data. It could note pagination or how to fetch beyond 30 messages, but is otherwise complete.

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?

Only one parameter (thread_id) and schema coverage is 100%, with the schema already noting it comes from gmail_search. The description adds no additional parameter meaning, so the baseline 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?

States a specific verb and resource ('Read a whole conversation') plus scope (whole thread, oldest first). An agent can distinguish it from gmail_get_message (single message) and gmail_search (search) without opening any schema.

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 by 'whole conversation' versus a single message, but there is no explicit when-to-use or when-not-to-use guidance, and no mention of using gmail_search first to obtain a thread_id.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.