Skip to main content
Glama

gmail_get_thread

Read-only

Retrieve up to ten messages from a specific Gmail thread by its exact thread ID. Use this tool to read private email content securely when you need the full conversation in one response.

Instructions

Read up to ten messages from one exact Gmail thread. Private content is returned only on the fresh response and is not replayable.

This private-response read always fetches fresh provider data. Its MCP schema intentionally omits idempotency_key; supplied replay identity is rejected.

Args: thread_id (required): Exact Gmail thread ID. max_messages: Bounded message count from 1 to 10. project_id: Authenticated Project UUID. project_ref: Exact project correlation reference. connector_account_ref: Project-bound connector account alias. effect: Required and must be read; Spring verifies it. approval_ref: Approved platform task UUID when resuming a write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
effectYes
thread_idNo
project_idYes
project_refYes
approval_refNo
max_messagesNo
connector_account_refYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.1.1

TDQS

A3.7/5.0
Behavior5/5

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

Description discloses additional behaviors beyond annotations: 'Private content is returned only on the fresh response and is not replayable' and 'always fetches fresh provider data', plus the intentional omission of idempotency_key. These enrich the readOnlyHint and idempotentHint annotations.

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 paragraphs, efficient and to the point, no redundancy.

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

Completeness2/5

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

While behavioral aspects are covered, the description omits explanations of required parameters and the output schema, leaving critical usage context unanswered.

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

Parameters1/5

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

Schema has 7 parameters with 0% description coverage, and the description does not explain any parameters except indirectly implying max_messages via 'up to ten messages'. Required params like project_id, project_ref, connector_account_ref are unexplained.

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?

Description states 'Read up to ten messages from one exact Gmail thread', clearly identifying the action, resource, and scope. It distinguishes from sibling tools by specifying the read nature and the limit.

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?

Description provides behavioral details (fresh data, private response) but does not explicitly state when to use this tool over alternatives or provide selection criteria.

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/RPasquale/lightbulb-mcp'

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