Skip to main content
Glama

Create Email Folder

emailfolders_create

Create a new mail folder in your Microsoft 365 mailbox, either at the root level or as a subfolder of an existing folder.

Instructions

✏️ Create a new mail folder (requires user confirmation recommended)

Creates a new mail folder in the mailbox, either at the root level or as a child of an existing folder.

Args: display_name: Name for the new folder account_id: Microsoft account ID parent_folder_id: Parent folder ID (None = root level)

Returns: Created folder object with id, displayName, and other metadata

Raises: ValueError: If display_name is empty or parent_folder_id is invalid

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
display_nameYes
account_idYes
parent_folder_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations indicate not read-only, destructive, or idempotent. Description adds the behavioral trait of requiring user confirmation and lists possible ValueError, providing context beyond annotations.

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?

Description is well-structured with Args, Returns, Raises sections, and is concise overall. The emoji and recommendation add value without excessive verbosity.

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?

Given presence of output schema, description still provides return and error details. Covers creation scenarios and error conditions, making it complete for a creation tool.

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 has 0% description coverage, so description compensates by explaining each parameter's meaning and default behavior for parent_folder_id. Also describes return value.

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 the verb 'create' and resource 'mail folder', with additional scope (root level or child of existing folder). This distinguishes it from siblings like rename, delete, etc.

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?

The description mentions 'requires user confirmation recommended' and explains parent_folder_id for root vs child, but does not explicitly state when to use this tool vs alternatives or when not to use it.

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/robin-collins/m365-mcp'

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