Skip to main content
Glama
Apple Mail MCP Server

Apple Mail MCP Server

by tamm

list_mailboxes

Lists Apple Mail accounts and mailboxes, optionally with unread counts per mailbox, so you can see available folders and message load.

Instructions

List accounts and mailboxes. Optionally include unread counts (slower).

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": "list_mailboxes"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_countsNoInclude unread counts per mailbox. Slower due to aggregate query.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior5/5

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

With no annotations supplied, the description must carry the full burden, and it does disclose the one non-obvious behavioral trait: requesting counts triggers an aggregate query and is slower. The listing nature also makes the read-only semantics clear without overclaiming.

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?

Two short sentences, front-loaded with purpose and followed by the one caveat that affects invocation cost. The parenthetical modestly duplicates the schema text, which keeps it from being flawless but costs little.

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

Completeness3/5

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

For a one-optional-parameter, no-output-schema read tool this covers the essentials of what it does and the cost tradeoff. It omits output shape (whether accounts and mailboxes are returned hierarchically), pagination, and any account-scoping or permission notes, which an agent would still want to know.

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 coverage is 100% and the single parameter already documents itself including the performance cost, so the description's mention of 'Optionally include unread counts (slower)' largely restates structured data. Baseline 3 applies when the schema does the heavy lifting.

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 uses a specific verb plus resource ('List accounts and mailboxes') and thereby distinguishes what it returns from the email-focused siblings such as search_emails and get_email. It stops short of naming a sibling it is an alternative to, so it is clear but not maximally differentiated.

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?

Context is only implied: the tool is evidently the discovery/enumeration step before email operations, but the description never states when to use it versus the search or get tools. The '(slower)' note gives a useful decision cue for the optional parameter but is not general when-to-use guidance.

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