Skip to main content
Glama
Xallor Email MCP

Xallor Email MCP

Official
by xallor-ai

create_folder

Create a new mail folder under the root by default, or beneath a specified parent folder to organize email in a chosen account.

Instructions

Create a new mail folder. Creates under the root folder by default, or under the specified parent when parentFolderId is provided.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account": "<account>",
      "displayName": "<displayName>"
    },
    "name": "create_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYes
displayNameYesName of the new folder
parentFolderIdNoWhen provided, creates the folder as a child of this folder. When omitted, creates under the root folder.

Output Schema

NameRequiredDescriptionDefault
folderYes
createdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the default parent behavior, but that same fact is already stated in the `parentFolderId` schema description, and it says nothing about duplicate-name handling, required permissions, whether the folder is immediately visible, or error conditions for an invalid parent.

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 compact sentences with the core action front-loaded and the placement rule second. The second sentence largely duplicates the schema's `parentFolderId` description, so it is not entirely free of redundancy, but nothing is wasted or buried.

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?

The tool is simple, has an output schema (so return values need not be explained), and most parameters are documented. Still, for a mutation with zero annotation coverage, the description should mention failure modes like name collisions or an invalid parent folder before an agent can call it confidently.

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 description coverage is 67%, so the baseline is a 3. The description restates the `parentFolderId` semantics already in the schema and adds nothing for `account`, which is the only undocumented parameter and is critical for selecting the mailbox to create the folder in.

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 names a specific verb and resource ('Create a new mail folder'), which is immediately distinguishable from the sibling mutations delete_folder and rename_folder. No ambiguity about what operation is performed.

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 explains the placement behavior (root by default, or under `parentFolderId`), which implicitly tells the agent when to supply the parent parameter. However, there is no explicit when-to-use guidance, no mention of prerequisites such as an existing authenticated account, and no routing to alternatives like list_folders to discover a parent ID.

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