Skip to main content
Glama
gmail-reader-mcp

gmail-reader-mcp

by jgimitola

get_email

Retrieve a specific email by ID, including its headers, plain-text body, and attachment list, so you can inspect one message before fetching threads or batches.

Instructions

Get the full content of a specific email by its ID: headers, plain-text body (HTML-only emails are converted to text), and its attachment list. To fetch several emails at once use get_emails; for a whole conversation use get_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": {
      "id": "<id>"
    },
    "name": "get_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe email message ID (obtained from list_emails or search_emails)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it does disclose useful behavior beyond the name, notably that HTML-only emails are converted to text and that the attachment list is included. However, it says nothing about side effects (whether fetching marks the message as read), authentication requirements, or what happens when the ID is invalid or the email is missing. These gaps matter for an email client where read state is a meaningful mutation.

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 sentences, front-loaded with the purpose and return content before the alternative routing. Every clause carries information: returned fields, HTML conversion behavior, and sibling disambiguation; nothing is redundant.

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 single-parameter read tool with no output schema, the description covers what an agent most needs: what content comes back and which sibling to use for batch or thread reads. The remaining omission is side-effect/error behavior, which prevents a full 5 but is a modest gap for a read operation.

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 single parameter already documents that it is the message ID obtained from list_emails or search_emails. The description's phrase 'by its ID' merely restates that, adding no format, constraint, or edge-case meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Get the full content of a specific email by its ID') and then enumerates exactly what is returned: headers, plain-text body with HTML conversion note, and attachment list. It also names the sibling tools get_emails and get_thread, so an agent can distinguish this single-message fetch from batch and thread fetches without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: single email here, 'To fetch several emails at once use get_emails', and 'for a whole conversation use get_thread'. The condition selecting each alternative is stated, leaving nothing to inference.

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