Skip to main content
Glama
draft-only-google

draft-only-google

get_thread

Retrieve all messages in a Gmail thread, including headers, plain-text bodies, and an attachment list, to review complete email conversations.

Instructions

Get every message in a Gmail thread with headers, plain-text body and attachment list.

Input Schema

NameRequiredDescriptionDefault
thread_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose the returned content shape (headers, plain-text body, attachment list) but says nothing about side effects (e.g. read-state changes), authentication/scopes, pagination for long threads, or error behavior for invalid IDs.

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?

One sentence, front-loaded with the verb and resource, with the return payload compactly enumerated. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read tool with no output schema, the description covers the return contents adequately. It falls short on ID format/provenance and on any behavioral context, which matters more here because no annotations exist to fill those gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter thread_id has 0% schema description coverage and the description never explains it. It does not say whether the ID is a Gmail thread ID versus an RFC Message-ID, nor what format or source (e.g. search_threads output) to use.

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 every message in a Gmail thread') and enumerates the payload returned (headers, plain-text body, attachment list). It implicitly contrasts with the single-message sibling get_message, but never names it.

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: you call it when you have a thread and want all its messages. There is no explicit when-to-use versus search_threads or get_message, and no stated prerequisite such as needing a thread_id obtained from a search.

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