Skip to main content
Glama
gmail-reader-mcp

gmail-reader-mcp

by jgimitola

get_thread

Fetch all messages in a Gmail conversation by thread ID, returning full plain-text bodies and attachment lists in chronological order.

Instructions

Get every message of a Gmail conversation (thread) in chronological order, with full plain-text bodies and attachment lists.

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": "get_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
threadIdYesThe thread ID (the "Thread" field from list_emails, search_emails, or get_email)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the return shape: chronological ordering, full plain-text bodies, and attachment lists. It says nothing about read-only semantics, auth requirements, truncation on large threads, or error behavior, so meaningful gaps remain.

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?

A single sentence that front-loads the verb, resource, and scope, then lists the returned contents. Nothing is padded or repeated.

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?

For a one-parameter read tool with no output schema, describing what comes back (all messages, chronological, full bodies, attachment lists) is the essential information and it is present. Missing auth/read-only framing and any limits on large threads keeps it short of 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, and the schema already documents it at 100% coverage, including where the thread ID comes from (list_emails, search_emails, get_email). The description adds no further meaning about the identifier beyond what the schema provides.

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 of a Gmail conversation (thread)') and scopes the result to the whole thread rather than a single message, which implicitly separates it from get_email. It never names a sibling explicitly, so the differentiation is inferred rather than stated.

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: an agent can infer this is for reading a full conversation when message-level tools are insufficient. There is no explicit 'use this instead of get_email when...' guidance and no stated exclusions or prerequisites.

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