Skip to main content
Glama
mail-mcp

mail-mcp

by honest-magic

read_email

Read-only

Fetch and read a full email via IMAP, including body and headers, from Gmail, Outlook, or custom domains by specifying account ID and UID.

Instructions

Fetch and read a full email via IMAP, including body and headers — works with Gmail, Outlook, and custom domains.

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": {
      "accountId": "<accountId>",
      "uid": "<uid>"
    },
    "name": "read_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesThe UID of the email to read
folderNoThe folder containing the email (default: INBOX)
accountIdYesThe ID of the account to use

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered, and the description usefully adds IMAP plus Gmail/Outlook/custom-domain compatibility. It does not address whether the IMAP fetch flips the \Seen flag (a real ambiguity given the mark_read/mark_unread siblings) or how large bodies are handled.

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 front-loaded sentence with the capability and the provider compatibility, no filler or restated title. Every clause earns its place.

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 three-parameter read tool with full schema coverage and no output schema, the description tells the agent what comes back (body plus headers), which is the main thing the schema cannot convey. Missing only edge-case behavior such as read-receipt side effects or size limits.

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%, so uid, folder, and accountId are already documented, and the description only restates that the target is a full email. Baseline 3 applies since the schema carries parameter meaning.

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 ('Fetch and read a full email') plus the retrieval mechanism (IMAP) and the payload scope ('body and headers'). That distinguishes it from list_emails or search_emails, though no sibling is named explicitly.

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 implied: fetch one message by UID from a folder. There is no explicit when-to-use versus get_thread (whole conversation), list_emails (summaries), or get_attachment (parts), and no stated prerequisites for a valid accountId/uid pair.

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