Skip to main content
Glama

Create Mailbox

create_mailbox

Create a new mailbox folder in a specified account, supporting nested paths via parent_mailbox or slash-separated names. Use it to organize emails into folders, including nested structures.

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.

Input Schema

NameRequiredDescriptionDefault
nameYesName for the new mailbox. May contain "/" to create a nested path in one call (each segment is created if needed).
accountYesAccount name (e.g., "Gmail", "Work")
parent_mailboxNoOptional existing parent folder for nesting.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv3.2.1
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / account / description
      Added value: +"Account name (e.g., \"Gmail\", \"Work\")"
    • removedInput schema / properties / account / title
      Removed value: -"Account"
    • addedInput schema / properties / name / description
      Added value: +"Name for the new mailbox. May contain \"/\" to create a\n  nested path in one call (each segment is created if needed)."
    • removedInput schema / properties / name / title
      Removed value: -"Name"
    • addedInput schema / properties / parent_mailbox / description
      Added value: +"Optional existing parent folder for nesting."
    • removedInput schema / properties / parent_mailbox / title
      Removed value: -"Parent Mailbox"
    • removedInput schema / title
      Removed value: -"create_mailboxArguments"
    • removedOutput schema / properties / result / title
      Removed value: -"Result"
    • removedOutput schema / title
      Removed value: -"create_mailboxOutput"
    • addedOutput schema / x-fastmcp-wrap-result
      Added value: +true
  2. First observedv3.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose meaningful behavior: intermediate path segments are created if needed, and the two nesting approaches are mutually alternative. It says nothing about permission requirements, behavior when the mailbox already exists, or failure modes, leaving real gaps for a mutation tool.

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 paragraphs, front-loaded with the core action before the nesting detail, and every sentence earns its place. Minor overlap with the schema, which already notes that name may contain '/', keeps it off a 5.

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?

An output schema exists, so return values need not be described, and all three parameters are covered by the schema. For a mutation tool with zero annotations, however, the absence of any statement about preconditions, duplicate mailboxes, or error behavior leaves the definition only adequate rather than complete.

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 description coverage is already 100%, so a 3 is the floor. The description adds value the schema does not: it spells out the interaction between parent_mailbox and the slash-in-name form (e.g., parent_mailbox="Projects" + name="2024" yields Projects/2024, and parent_mailbox may be omitted when a full path is given).

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 states a specific verb and resource ('Create a new mailbox (folder) in the specified account'), which is unambiguous and readily separable from the read-oriented siblings like list_mailboxes and get_mailbox_unread_counts. It does not, however, explicitly name or contrast itself with any sibling, so it stops short of 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 Guidelines3/5

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

It gives conditional guidance for the two creation idioms ('use parent_mailbox + name' vs. 'pass a full slash-separated path as name and omit parent_mailbox'), which is genuinely useful. But it never says when to create a mailbox versus using an existing one or what preconditions apply, so usage is implied rather than fully framed.

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