Skip to main content
Glama

read-email

Read-only

Read email content or forensic headers (DKIM, SPF, Message-ID). Customize output with verbosity, grouping, and header inclusion.

Instructions

Read email content. Set headersMode=true for forensic headers (DKIM, SPF, Received, Message-ID).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the email to read
headersModeNoReturn forensic headers instead of email content (default: false)
includeHeadersNoInclude basic headers alongside email content (default: false)
outputVerbosityNoOutput detail level (default: standard)
groupByTypeNoGroup headers by category (headersMode only, default: false)
importantOnlyNoShow only important headers (headersMode only, default: false)
rawNoReturn raw JSON instead of Markdown (headersMode only, default: false)
Behavior4/5

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

Annotations already indicate readOnlyHint=true, so the description adds value by explaining the headersMode option to return forensic headers. It does not contradict annotations and provides useful context beyond what annotations offer.

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 primary action, and a precise second sentence for the key parameter. No wasted words.

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?

Given 7 parameters and no output schema, the description covers the main purpose and the most important parameter. Lacks mention of output format (Markdown vs JSON) but is mostly complete for a read tool with safe annotations.

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?

With 100% schema coverage, baseline is 3. The description enhances the headersMode parameter by listing examples of forensic headers (DKIM, SPF, Received, Message-ID), adding practical meaning beyond the schema. Other parameters are implied but not detailed.

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 description clearly states the tool reads email content and specifies the key feature of forensic headers via headersMode. It distinguishes itself from sibling tools like search-emails by focusing on reading a specific email rather than searching.

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?

The description gives specific usage for headersMode but lacks guidance on when to use this tool vs alternatives like search-emails or get-mail-tips. No explicit when-not or alternative instructions are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/littlebearapps/outlook-assistant'

If you have feedback or need assistance with the MCP directory API, please join our Discord server