Skip to main content
Glama
isityael

Apple Mail MCP Server

by isityael

search_all_accounts

Search across all email accounts at once and get consolidated results sorted by date. Filter by subject, sender, or time range to find emails quickly.

Instructions

Search across ALL email accounts at once.

Returns consolidated results sorted by date (newest first). Only searches INBOX mailboxes (skips Trash, Junk, Drafts, Sent).

Args: subject_keyword: Optional keyword to search in subject sender: Optional sender email or name to filter by days_back: Number of days to look back (default: 7, 0 = all time) max_results: Maximum total results across all accounts (default: 30) include_content: Whether to include email content preview (default: True) max_content_length: Maximum content length in characters (default: 400)

Returns: Formatted list of matching emails with account name for each

User Preferences: {"workflow": "default", "notifications": "enabled"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
senderNo
days_backNo
max_resultsNo
include_contentNo
subject_keywordNo
max_content_lengthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that results are sorted by date (newest first), that only INBOX mailboxes are searched, and that the result includes account names. This adds significant behavioral context beyond the schema.

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 well-structured with a brief introductory sentence, a parameter list, and a return note. However, the inclusion of 'User Preferences' is extraneous and not relevant to tool selection or invocation, slightly detracting from conciseness.

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?

The description covers the tool's core behavior (cross-account search, inbox-only, sorted results) and all parameters. It mentions the output format implicitly. With an output schema present, the description does not need to detail return structure. It is complete enough for typical use, though it lacks error handling or rate limit notes.

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

Parameters5/5

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

Schema coverage is 0%, and the description compensates excellently with a detailed 'Args' section that explains each parameter's purpose, default values, and special values (e.g., '0 = all time' for days_back). This is a textbook example of parameter documentation.

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 it searches across ALL email accounts, uses the verb 'search', and specifies the resource 'all email accounts'. It distinguishes from siblings by emphasizing cross-account search and limiting to INBOX, which sets it apart from single-account search tools like search_emails.

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

Usage Guidelines4/5

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

The description explicitly states when to use the tool ('search across ALL email accounts at once') and notes a key constraint ('Only searches INBOX mailboxes'). While it doesn't explicitly mention alternatives, the context of sibling tools and the emphasis on 'all accounts' provides sufficient guidance.

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

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