Skip to main content
Glama
Wh1isper

MCP Email Server

create_mailbox

Idempotent

Create one mailbox/folder by its exact server name, including the hierarchy delimiter reported by list_mailboxes (for example 'Archive/Projects' or 'INBOX.Projects'). Requires the organize permission.

Instructions

Create one mailbox/folder by its exact server name, including the hierarchy delimiter reported by list_mailboxes (for example 'Archive/Projects' or 'INBOX.Projects'). Requires the organize permission. Idempotent: an existing mailbox reports already_exists without changes. Parent levels are created only if the server does so itself. An unknown status is not retried automatically; verify with list_mailboxes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mailboxYesExact mailbox name to create; must not contain the LIST wildcards '*' or '%' or end with the server's hierarchy delimiter.
account_nameYesThe name of the email account.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYescreated: CREATE succeeded; already_exists: no change; unknown: the effect may have happened.
mailboxYesThe exact mailbox name that was requested.
reconciliation_neededYesTrue when status is unknown; verify with list_mailboxes before retrying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.13.1

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: an existing mailbox reports already_exists without changes, parent levels are only created if the server does so itself, and unknown statuses are not auto-retried. It also surfaces the organize permission requirement, which no structured field declares.

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?

Four sentences, each contributing a distinct fact (creation semantics, permission, idempotency, parent/retry behavior), front-loaded with the core action. Slightly dense, but nothing is redundant with the schema or annotations.

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?

With an output schema covering the already_exists result and 100% schema coverage on both parameters, the description only had to supply behavioral and permission context, which it does fully, including the recovery path via list_mailboxes.

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?

Schema coverage is already 100% and the schema itself documents the wildcard and trailing-delimiter restrictions. The description still adds value by supplying concrete delimiter examples and stressing 'exact server name', clarifying the format expected for the mailbox parameter.

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?

States a specific verb and resource ('Create one mailbox/folder') and pins the scope to an exact server name, which distinguishes it from siblings like list_mailboxes and save_to_mailbox. The parenthetical delimiter examples make the target object unambiguous.

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?

Gives clear operational context: requires the organize permission, and on an unknown status the agent must verify with list_mailboxes rather than retry. It does not explicitly contrast against the closest sibling, save_to_mailbox, leaving some ambiguity about when to create a mailbox versus targeting one.

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