Skip to main content
Glama
MadLlama25

Fastmail MCP Server

by MadLlama25

list_emails_metadata

Retrieve email envelope metadata (subject, sender, recipients, dates, attachments, keywords) without exposing message content. Supports header-only scans for privacy-sensitive automation.

Instructions

Same as list_emails (lists emails from a mailbox, optionally filtered by mailboxId, with paging and sort) but returns ONLY metadata fields on each result — id, threadId, subject, from, to, replyTo, receivedAt, hasAttachment, keywords. Does NOT return preview or any body-derived content. Use in privacy-sensitive flows where the workflow needs only the envelope (e.g. customer-mail least-privilege scans, or any caller forbidden from ingesting message bodies). Pair with get_email_metadata for follow-up lookups that should also stay header-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of emails to return (default: 20)
ascendingNoSort oldest first instead of newest first (default: false)
mailboxIdNoID of the mailbox to list emails from (optional, defaults to all)
Behavior5/5

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

Clearly describes behavior beyond annotations (none provided): notes it returns only metadata fields and does NOT return preview or body-derived content, providing full transparency for privacy-sensitive use.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single paragraph with no wasted sentences, front-loaded with the key distinction. Slightly long but every part adds value; could be trimmed slightly but remains efficient.

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 3 parameters and no output schema, the description adequately explains return values (metadata fields), use cases, and relation to siblings. Does not detail paging mechanics but inherits from list_emails. Completeness is high for the tool's simplicity.

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% (baseline 3). The description adds no new parameter detail beyond what is in the schema; it only rephrases 'mailboxId' as 'optionally filtered by mailboxId' and mentions paging/sort, which are already explicit in schema properties.

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 lists emails but returns only metadata fields, distinguishing it from the sibling 'list_emails' by specifying the exact fields returned and the omission of body-derived content.

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

Usage Guidelines5/5

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

Explicitly states when to use: 'privacy-sensitive flows where the workflow needs only the envelope' and provides an alternative suggestion: 'pair with get_email_metadata for follow-up lookups that should also stay header-only.'

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/MadLlama25/fastmail-mcp'

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