Skip to main content
Glama
EveryInc

google-workspace-mcp-server

by EveryInc

Get Gmail Thread

gmail_get_thread
Read-onlyIdempotent

Retrieve all messages in a Gmail conversation thread by providing the thread ID. Supports markdown or JSON output.

Instructions

Get all messages in a conversation thread.

Args:

  • thread_id (string): The thread ID to retrieve

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns: All messages in the thread with full content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thread_idYesThe ID of the thread to retrieve
response_formatNoOutput format: 'markdown' or 'json'markdown
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, so the description does not need to repeat that. It adds value by specifying the return value as 'All messages in the thread with full content', which goes beyond the 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?

The description is concise with only essential information. It is front-loaded with the main purpose and uses a clear Docstring-style structure. No extraneous sentences.

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 low complexity (2 parameters, no output schema), the description adequately explains the return value. It covers the main behavior without gaps. Could be slightly more detailed about thread ID format, but sufficient.

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%, and the description's Args section largely mirrors the schema. It adds a default value for response_format already present in the schema, so no significant additional meaning beyond the schema.

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 verb 'Get' and resource 'all messages in a conversation thread', distinguishing it from siblings like gmail_get_message (single message) and gmail_list_threads (list threads).

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?

The description implies usage when needing full thread content but does not explicitly state when to use this tool over alternatives or provide any exclusions. No when-not or alternative guidance is given.

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/EveryInc/google-workspace-mcp-server'

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