Skip to main content
Glama
gmail-reader-mcp

gmail-reader-mcp

by jgimitola

get_emails

Fetch full content of multiple emails at once by their IDs. Returns headers, plain-text bodies, and attachment lists in a single concurrent call instead of repeated requests.

Instructions

Get the full content of multiple emails by their IDs in one call (fetched concurrently). Much faster than calling get_email repeatedly. Returns headers, plain-text body, and attachment list for each.

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": {
      "ids": "<ids>"
    },
    "name": "get_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesEmail message IDs to fetch (from list_emails or search_emails). Max 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose the concurrency model and the return shape (headers, plain-text body, attachment list). It does not say how invalid or missing IDs are handled, whether the call fails wholly or partially, or whether any size limits apply beyond max 50.

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?

Three short sentences, front-loaded with the action and scope, then the performance rationale, then the return contents. Every sentence carries information an agent would use.

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 annotations or output schema, the description covers purpose, batching benefit, and return contents. Only error/partial-failure behavior for bad IDs is left unstated.

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 already documents the ids array, the 1-50 bounds, and the source of IDs. The description only restates 'by their IDs' and 'multiple', adding no format or edge-case detail 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?

States a specific verb and resource ('Get the full content of multiple emails by their IDs') plus the batching behavior ('in one call, fetched concurrently'). It explicitly contrasts with the sibling get_email, so an agent can distinguish the two without inspecting schemas.

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?

Clear usage context: use this instead of calling get_email repeatedly, and the schema names list_emails and search_emails as ID sources. It lacks an explicit negative case (e.g., 'for a single message, use get_email') but the direction is unambiguous.

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