Skip to main content
Glama
parasxos

apple-mail-mcp

by parasxos

Search emails

search_emails
Read-onlyIdempotent

Search local Apple Mail messages by keywords, sender, recipient, date range, mailbox, attachment presence, and read status. Supports paginated results for large sets.

Instructions

Search local envelope data and full bodies; sender filters are case-insensitive substring matches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoOnly include mail after this ISO-8601 date or timestamp.
limitNoMaximum number of results to return.
queryNoWords to find in the subject, sender, snippet, or indexed body.
beforeNoOnly include mail before this ISO-8601 date or timestamp.
offsetNoNumber of matching results to skip for pagination.
accountNoAccount UUID; omit it to include every configured account.
mailboxNoMailbox name to search, such as INBOX or Archive.
to_addrNoRecipient name, address, or address fragment to match.
from_addrNoSender name, address, or address fragment to match.
unread_onlyNoWhen true, include only unread messages.
has_attachmentNoTrue for mail with attachments, false for mail without them.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, idempotentHint=true, destructiveHint=false), so the description does not need to restate side effects. It adds valuable behavior beyond annotations: the tool searches 'local envelope data and full bodies' and sender filters are 'case-insensitive substring matches', which meaningfully shapes expectations. No contradiction with annotations.

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?

The description is a single, compact sentence that front-loads the operation and scope and follows with a useful behavioral detail. Every word contributes; no filler or repetition of schema content.

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?

With all 11 parameters documented in the schema, an output schema present, and annotations covering side effects, the description adds the missing context an agent needs: local data scope and substring case-insensitivity. It would be stronger with explicit sibling routing, but that gap does not make the invocation unclear.

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 description coverage is 100%, which earns a baseline 3, but the description adds genuine param semantics by specifying that sender filters are case-insensitive substring matches. This clarifies intended behavior for from_addr and to_addr beyond the schema wording.

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 uses a specific verb ('Search') and identifies the resource ('local envelope data and full bodies'), making the operation clear. It does not explicitly contrast with sibling tools like get_email or list_recent, but the 'local' scope plus search semantics prevent major confusion.

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 guidance on when to use search_emails versus siblings such as get_email, get_emails_batch, or list_recent; no alternatives are named and no exclusion conditions are given. An agent must infer trigger conditions from the parameter list, which is insufficient for good tool selection.

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/parasxos/apple-mail-mcp'

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