Skip to main content
Glama

gmail_get_thread

Retrieve all messages in a Gmail thread using its thread ID. Use it to review full email conversations and gather context from every reply.

Instructions

Get all messages in a Gmail thread

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "threadId": "<threadId>"
    },
    "name": "gmail_get_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
threadIdYesGmail thread ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. 'Get' safely implies a read-only, non-destructive operation, but nothing is said about permissions, pagination behavior, message ordering, or whether full message bodies are returned.

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?

One short, front-loaded sentence with zero filler. It is efficient, though the terseness leaves no room for routing or behavioral context.

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 single-parameter read, the core purpose is covered and the parameter is fully documented in-schema. With no annotations and no output schema, gaps remain around what the returned messages contain and how large threads are handled.

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% for the single parameter ('Gmail thread ID'), so the schema already does the work. The description adds only the notion that the ID scopes the result to one thread's message collection, which is the expected baseline of 3.

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 ('Get') and resource ('all messages in a Gmail thread'), so the agent knows exactly what is retrieved. It does not explicitly distinguish itself from siblings like gmail_search, which also surface thread data, so it stops short of a 5.

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: the required 'threadId' parameter signals this is the expansion step after a thread ID is known. There is no explicit guidance on when to prefer this over gmail_search, nor any stated prerequisites.

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