Skip to main content
Glama
mcp-icloud
by ak1tnk

mail_search

Search iCloud Mail for matching messages by text, sender, recipient, subject, date, or mailbox, and return the newest matching headers. Filter results by unread or flagged status.

Instructions

Search mail and return the newest matching message headers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mail_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNo
limitNo
sinceNo
beforeNo
senderNo
mailboxNoINBOX
subjectNo
recipientNo
unread_onlyNo
flagged_onlyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/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 of behavioral disclosure. It adds that results are headers and that the newest matches are returned, but says nothing about search scope (body vs. headers), permission requirements, pagination, or how filtering behavior works with ten parameters.

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 a single front-loaded sentence with no wasted wording. However, for a ten-parameter search tool it is arguably undersized rather than appropriately sized, which keeps it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. Still, with ten parameters, zero schema descriptions, and no annotations, the one-sentence description is substantially incomplete for an agent to call the tool accurately.

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

Parameters1/5

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

Schema description coverage is 0% for ten parameters, and the description supplies no meaning for any of them. It does not explain text, limit, since, before, sender, mailbox, subject, recipient, unread_only, or flagged_only, so the parameter names and defaults are all the agent has.

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 gives a specific verb ('Search') and resource ('mail'), and adds the useful detail that it returns the newest matching message headers. It is distinguishable from mail_read by the search framing, though it does not explicitly name or contrast any sibling.

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 this search tool versus mail_read or mail_list_mailboxes, nor any stated exclusions or prerequisites. The usage is implied only by the word 'Search', leaving the agent to infer when it is appropriate.

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