Skip to main content
Glama
gmail-mcp

gmail-mcp

gmail_read_email

Read the full content of an email by its message ID. Use list inbox or search results first to obtain the message ID.

Instructions

Read the full content of an email by its message ID.

Args: message_id: The ID of the message to read (from list or search results)

Discovery: use gmail_list_inbox or gmail_search_email first and pass the returned message_id.

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": {
      "message_id": "<message_id>"
    },
    "name": "gmail_read_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/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 behavioral burden, and 'Read the full content' does imply a non-mutating retrieval. However, it does not disclose any side effects (e.g., whether opening a message affects its read/unread state), permission requirements, or payload size concerns. The presence of an output schema excuses it from describing return values, which limits the gap.

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 blocks: the action statement front-loaded, then a targeted Discovery note. Every sentence earns its place and nothing is repeated from the schema.

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 an output schema and no annotations, the definition covers purpose, parameter origin, and workflow entry points. Only the omission of any read-state side effect keeps it from being fully complete.

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

Parameters4/5

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

Schema description coverage is 0% for the single parameter, so the description must compensate, and it does by explaining that message_id comes from list or search results. It does not add format details (opaque string, no enums), but the provenance guidance is the practically important part.

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 opening sentence gives a specific verb (Read), resource (email), and scope (full content) keyed by message ID. It is immediately distinguishable from siblings like gmail_list_inbox or gmail_search_email, which return lists rather than full content.

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

Usage Guidelines4/5

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

The Discovery line explicitly routes the agent through gmail_list_inbox or gmail_search_email first and passes their returned message_id, which is clear prerequisite guidance. It stops short of stating exclusions, such as not using this tool for attachment downloads or metadata-only lookups, so it falls just below a full 5.

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