Skip to main content
Glama

List Mailboxes

mail_list_mailboxes
Read-onlyIdempotent

Lists all mailboxes for an email account, enabling you to browse folder structure and check unread counts per folder for Apple Mail.

Instructions

List all mailboxes for an email account. Use when: browsing mailbox structure, checking unread counts per folder

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_list_mailboxes"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoAccount name (default: first account)
response_formatNoOutput format: 'json' for structured data, 'markdown' for human-readable textjson

Output Schema

NameRequiredDescriptionDefault
mailboxesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered elsewhere. The description adds useful context that per-folder unread counts come back with the listing, but says nothing about ordering, pagination, or account resolution beyond the schema.

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 brief sentences: purpose first, usage trigger second. No redundant restatement of the title or filler.

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 two-parameter read-only listing tool with full schema coverage, complete annotations, and an output schema that documents return values, the description is sufficient. Only a note on sibling distinction is missing.

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%, with both parameters documented including the enum for response_format, so the schema carries the burden. The description mentions per-account listing but adds no syntax or default-account semantics beyond what the schema states.

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 and resource ('List all mailboxes for an email account'), which is unambiguous on its own. It does not explicitly distinguish itself from the adjacent mail_list_accounts sibling, which would be needed for a 5.

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 'Use when:' clause names two concrete situations (browsing mailbox structure, checking unread counts per folder), giving an agent a clear trigger. It stops short of exclusions or naming an alternative tool for account-level enumeration.

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