Skip to main content
Glama
jakobfigur

Apple Mail MCP

by jakobfigur

search_messages

Find recent Apple Mail messages by sender or subject in a selected account and mailbox; read-only and does not search bodies.

Instructions

Search recent messages by subject or sender in one mailbox. Read-only; bodies are not searched.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of messages to return.
queryYesCase-insensitive text to match against sender or subject.
accountYesApple Mail account name.
mailboxNoMailbox name. Usually INBOX.INBOX
scan_limitNoHow many recent messages Apple Mail may inspect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two useful traits: the operation is read-only and message bodies are excluded from matching. However, it says nothing about permissions, result ordering, pagination, or what 'recent' means relative to the scan_limit parameter.

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?

Two short sentences, zero filler, with the core action front-loaded and the read-only/no-body-search caveat immediately after. Every clause earns its place.

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?

For a five-parameter read tool with no output schema and no annotations, the description covers purpose, safety profile, and search scope. The one gap is the vague 'recent' framing, which leaves the interplay between default result limit and scan_limit unstated.

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

Parameters3/5

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

Schema description coverage is 100%, so all five parameters are documented in the schema itself; baseline is 3. The description's 'by subject or sender' loosely restates the query parameter's documented semantics and adds no syntax or format guidance beyond it.

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?

States a specific verb (search) plus resource (messages) and narrows the match field to subject or sender within one mailbox. That is enough to separate it from list_messages (unfiltered listing) and get_message (single retrieval), though no sibling is named explicitly.

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

Usage Guidelines3/5

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

The phrase 'search recent messages by subject or sender' implies the use case, and 'bodies are not searched' implies a boundary, but no alternative tool is named and no explicit when/when-not condition is given. Usage must be inferred from the sibling set.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.