Skip to main content
Glama
email-mcp

email-mcp

by a1exsun

read_email

Retrieve a single email's headers, text body (HTML converted to text), and attachment list from a specified folder; optionally mark it read.

Instructions

Read one email: headers, text body (HTML converted to text) and attachment list.

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

Input Schema

NameRequiredDescriptionDefault
uidYes
folderNoFolder path from list_foldersINBOX
accountNoMailbox: WORK | PERSONAL. Default WORK
mark_readNo
max_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/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; it does disclose that HTML is converted to text and that attachment metadata is listed rather than downloaded. However, it omits the side-effect question of whether reading marks the message read (the mark_read default of false implies it does not) and says nothing about max_chars truncation of the body.

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 verb, cardinality and return content, and no filler. Nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, no annotations, and five parameters at 40% coverage mean the description must do more work than it does. It does not explain truncation behavior, default mailbox/folder resolution, or whether the read is state-changing, all of which an agent needs to call this correctly.

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

Parameters2/5

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

Schema description coverage is only 40% across five parameters; folder and account have hints, but uid, mark_read and max_chars are undocumented. The description adds meaning only for the body field (HTML converted to text) and explains nothing about the truncation limit or the read-status flag, which are the two semantics most likely to cause incorrect calls.

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?

The description gives a specific verb and resource ('Read one email') and enumerates the returned content (headers, text body, attachment list), which clearly distinguishes it from write-oriented siblings like send_email or move_emails. It does not explicitly contrast with search_emails, so how an agent obtains the uid is left implicit.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of prerequisites (e.g., that uid comes from search_emails or a folder listing), and no alternative named for bulk or filtered retrieval. An agent must infer usage entirely from the tool name.

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