Skip to main content
Glama
isityael

Apple Mail MCP Server

by isityael

search_email_content

Search email body and subject for specified text to locate relevant messages. Use when subject-only search yields insufficient results.

Instructions

Search email body content (and optionally subject). This is slower than subject-only search but finds more relevant results.

Args: account: Account name to search in search_text: Text to search for in email content mailbox: Mailbox to search (default: "INBOX") search_subject: Also search in subject line (default: True) search_body: Search in email body (default: True) max_results: Maximum results to return (default: 10, keep low as this is slow) max_content_length: Max content preview length (default: 600)

Returns: Emails where the search text appears in body and/or subject

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYes
mailboxNoINBOX
max_resultsNo
search_bodyNo
search_textYes
search_subjectNo
max_content_lengthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description fully bears the burden of disclosure. It discloses performance characteristics (slower), default behaviors (searches both body and subject by default), and provides parameters like max_results and max_content_length that control output. It does not mention authorization or error handling, which are minor gaps.

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 begins with a clear one-sentence summary, then provides a structured parameter list. However, it includes a 'User Preferences' line that appears extraneous and slightly detracts 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?

Given the tool's complexity (7 parameters, 2 required) and the existence of an output schema, the description adequately covers input semantics and core behavior. It could be enhanced with return format details, but the output schema likely covers that.

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?

The description includes a detailed Args list explaining each parameter and its default value, compensating for the schema's 0% description coverage. This provides essential meaning beyond the schema's property names, such as clarifying that 'search_subject' and 'search_body' are both true by default.

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 searches email body and optionally subject, and distinguishes itself from subject-only searches by noting it is slower but finds more relevant results. This differentiates it from sibling tools like 'search_emails' and 'search_emails_advanced'.

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 warns that this tool is slower than subject-only searches, implying that for faster results, users should use an alternative. However, it does not explicitly name which sibling tool to use, leaving some ambiguity for the agent.

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