Skip to main content
Glama
paulo-amaral

applemail-mcp-server

by paulo-amaral

List Mail accounts

apple_mail_list_accounts
Read-onlyIdempotent

List all email accounts configured in macOS Mail.app to obtain the account names required by other tools. Returns each account's type, enabled status, email addresses, and mailbox count.

Instructions

List every email account configured in macOS Mail.app.

Start here when you do not yet know the exact account names — every other tool takes those names verbatim.

Returns: { mail_running: boolean, accounts: [{ name, enabled, type, email_addresses[], mailbox_count }] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountsYes
mail_runningYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is known. The description adds behavioral context by specifying the return structure including `mail_running` boolean, which signals whether Mail.app is running, and the detailed account object fields, providing value beyond the 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 is highly concise: three short sentences that each serve a distinct purpose (what it does, when to use it, what it returns). It is front-loaded with the core action and avoids any filler or repetition.

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?

This is a simple list tool with rich annotations and an output schema. The description provides the essential return format and usage context, making it fully self-contained for an agent to select and invoke correctly. The guidance about other tools taking names verbatim completes the contextual picture.

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?

The tool has zero parameters, and the schema coverage is 100% (effectively no schema to document). Per the guidelines, a baseline of 4 is appropriate. The description does not need to explain parameters because there are none, and it does not introduce any ambiguity.

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 'List every email account configured in macOS Mail.app' with a specific verb and resource. It also distinguishes itself from siblings by noting that other tools take account names verbatim, positioning this as the entry point.

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

Usage Guidelines5/5

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

The description explicitly says 'Start here when you do not yet know the exact account names — every other tool takes those names verbatim.' This gives clear when-to-use guidance and implies that alternatives require the output of this tool, even though no specific sibling is named.

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/paulo-amaral/applemail-mcp-server'

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