Skip to main content
Glama

create_mailbox

Create new mailboxes or folders in Apple Mail accounts to organize emails. Supports nested folders using parent-child relationships or slash-separated paths for efficient email management.

Instructions

Create a new mailbox (folder) in the specified account.

Supports nested paths via the parent_mailbox parameter (e.g., parent_mailbox="Projects" + name="2024" creates Projects/2024). You can also pass a full slash-separated path as name (e.g., "Projects/2024/ClientName") and omit parent_mailbox.

Args: account: Account name (e.g., "Gmail", "Work") name: Name for the new mailbox. May contain "/" to create a nested path in one call (each segment is created if needed). parent_mailbox: Optional existing parent folder for nesting.

Returns: Confirmation with the new mailbox path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYes
nameYes
parent_mailboxNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses key behavioral traits not in annotations: auto-creation of intermediate path segments ('each segment is created if needed') and return value format ('Confirmation with the new mailbox path'). Missing error handling details (e.g., behavior if mailbox exists) which would be helpful given zero annotation coverage.

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?

Excellent structure with clear Args/Returns sections. Front-loaded purpose statement. Every sentence adds value: examples illustrate valid inputs, slash-handling explains behavior, return description sets expectations. No redundancy.

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?

Complete for a 3-parameter creation tool. Despite 0% schema description coverage, narrative fully documents all parameters and their relationships. Return value is summarized appropriately (output schema exists for detailed structure).

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

Parameters5/5

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

Comprehensive compensation for 0% schema coverage: provides concrete examples for account ('Gmail', 'Work'), explains name syntax including slash-handling behavior, and clarifies parent_mailbox optionality. Documents parameter interactions (mutual exclusivity patterns) not evident in schema.

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?

Opens with specific verb+resource ('Create a new mailbox') and clarifies mailbox equals 'folder'. Clearly distinguishes from sibling tools like list_mailboxes (read vs. write) and compose_email (message vs. folder operations).

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?

Provides explicit guidance on two valid usage patterns for nesting (parent_mailbox param vs. slash-separated name). However, lacks explicit 'when not to use' guidance or comparison to sibling alternatives like manage_drafts or list_mailboxes.

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/patrickfreyer/apple-mail-mcp'

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