Skip to main content
Glama
MrGo2

iCloud MCP Server Apple

Search Emails

search-emails
Read-onlyIdempotent

Search iCloud email folders by text, sender, subject, or unread status. Results include handles to read or mark messages as read.

Instructions

Searches one mail folder (inbox by default) by free text, sender, subject and unread state; the filters combine as AND. Results carry the same summary fields as list-emails, including the ref handle that read-email and mark-as-read take.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNoFilter by sender
countNoMax results (default: 25, max: 50)
queryNoText to search in email content
folderNoEmail folder to search (default: inbox)
subjectNoFilter by subject
unreadOnlyNoOnly show unread emails

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesMatching emails
totalYesNumber of items returned
Behavior4/5

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

Annotations already disclose read-only, open-world, and idempotent behavior. The description adds valuable context beyond those annotations: filters combine as AND, only one folder is searched, and the result includes the ref handle that read-email and mark-as-read consume. 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 consists of two concise sentences. The first covers the core purpose and filter behavior, the second explains the output format and interoperability. There is no redundant or filler content.

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?

With complete schema coverage, rich annotations, and an output schema, the description still adds significant context: folder scope, AND logic, and cross-tool compatibility. This is sufficient for an agent to correctly select and invoke the tool.

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 covers 100% of parameter descriptions, setting a baseline of 3. The description adds meaningful semantics by stating that all filters combine as AND, which is not explicitly stated in individual parameter descriptions. It also links the output to other tools, but does not deeply elaborate on parameter syntax or formats.

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 that the tool searches emails with specific filters (text, sender, subject, unread state) and scopes to one folder (default inbox). This distinguishes it from list-emails, which lists emails, and search-notes, which searches a different resource.

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 provides clear context: it searches a single folder with an AND combination of filters, and references list-emails for output format. It implicitly communicates when this tool would be used for filtered email retrieval, but it does not explicitly exclude alternatives or state when not to use it.

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/MrGo2/icloud-mcp'

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