Skip to main content
Glama
as-j

Fastmail MCP Server

by as-j

list_emails

Read-onlyIdempotent

List paginated email summaries from a specific Fastmail mailbox or across the entire account. Returns items, total, has_more, and next_offset for controlled page-by-page retrieval. Use when mailbox ID is known to browse messages.

Instructions

List email summaries from one Fastmail mailbox or across the account in paginated form. Use when you already know the mailboxId and want to browse messages there, such as "show messages in Archive" or "list emails in Projects". Returns an object with items, total, has_more, and next_offset so the caller can continue paging without fetching everything at once. Do not use for "check email" or "read my inbox" when no mailbox is specified; use get_recent_emails instead. Do not use when you already have an emailId; use get_email.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mailboxIdNoID of the mailbox to list emails from (optional, defaults to all)
limitNoMaximum number of emails to return (default: 20)
offsetNoZero-based offset for pagination. Use next_offset from the previous response to fetch the next page.
Behavior4/5

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

Annotations already provide readOnlyHint, destructiveHint, idempotentHint, openWorldHint. The description adds pagination behavior (items, total, has_more, next_offset) and clarifies scope (one mailbox or all). No contradictions.

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 sentences, each serving a clear purpose: purpose+scope, usage guidance, return format. No extraneous words. Front-loaded with key information.

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

Completeness5/5

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

Given the tool's simplicity and lack of output schema, the description covers all essential aspects: what it does, when to use, alternatives, and return format for pagination. Complete for effective use.

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?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining mailboxId defaults to all, limit default is 20, and offset usage with next_offset, which is not in schema descriptions.

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 action ('List email summaries'), resource (from one mailbox or across the account), and scope (paginated). It distinguishes from siblings like get_recent_emails and get_email.

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 ('when you already know the mailboxId and want to browse messages') and when not to use ('do not use for check email or read my inbox', with alternatives get_recent_emails and get_email).

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

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