Skip to main content
Glama
pjosols
by pjosols

mail_create_mailbox

Create a new JMAP mailbox (folder or label) with a given name. Optionally create it as a nested folder by specifying a parent mailbox ID. Top-level mailboxes have no parent.

Instructions

Create a new JMAP mailbox (folder or label) with the given name.

In Fastmail, mailboxes serve as both folders and labels. To create a nested folder, provide the parent mailbox's ID via parent_id. Top-level mailboxes have no parentId. An email can belong to multiple mailboxes (labels).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
parent_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It explains that mailboxes serve as folders and labels and that emails can belong to multiple mailboxes, but it does not disclose authorization needs, idempotency, error handling, or rate limits.

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?

Three sentences, each adding distinct value: purpose, folder/label duality, nesting behavior. No wasted words, front-loaded with main action.

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 simple creation tool with an output schema, the description covers the key concepts. Minor gaps include lack of naming rules and idempotency, but overall it is fairly complete.

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 coverage is 0%, so description must compensate. It adds meaning for parent_id (nested vs top-level) but does not specify constraints on name (e.g., uniqueness, max length). This provides moderate value beyond the 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?

The description clearly states 'Create a new JMAP mailbox (folder or label) with the given name', specifying both the verb and resource. It distinguishes from sibling tools like mail_delete_mailbox and mail_rename_mailbox by focusing on creation.

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 description explains how to create nested folders via parent_id and that top-level mailboxes have no parentId. It does not explicitly state when not to use this tool or mention alternatives, but the context is clear for basic usage.

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/pjosols/pyfastmail-mcp'

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