Skip to main content
Glama

create_mail_folder

Destructive

Einen Ordner (Gmail: ein Label) anlegen. Required: name. Optional: email_account_id. Bei IMAP wird er zugleich abonniert, sonst existiert er, ist aber in Thunderbird und Outlook unsichtbar — was wie 'nicht angelegt' aussieht. Verschachtelung mit dem Trennzeichen aus list_mail_folders; bei Outlook legt ein Pfad wie 'Kunden/Mustermann' UNTER dem Elternordner an.

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": {
      "name": "<name>"
    },
    "name": "create_mail_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName oder Pfad des neuen Ordners (Gmail: Labelname), Trennzeichen aus list_mail_folders
email_account_idNoPostfach-ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / email_account_id / description
      Added value: +"Postfach-ID"
    • addedInput schema / properties / name / description
      Added value: +"Name oder Pfad des neuen Ordners (Gmail: Labelname), Trennzeichen aus list_mail_folders"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: on IMAP the folder is auto-subscribed, otherwise it exists but stays invisible in Thunderbird and Outlook and 'looks like it wasn't created' — a genuinely valuable pitfall warning. The Outlook path semantics ('Kunden/Mustermann' nests UNDER the parent) further clarify side effects that destructiveHint/openWorldHint alone cannot convey.

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?

Front-loaded with the action, then required/optional params, then platform caveats — a sensible order. The em-dash aside about invisibility is slightly rambling but every clause carries information, so there is little waste.

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?

For a two-parameter create tool with annotations and no output schema, the description covers the notable cross-platform divergences (Gmail label, IMAP subscription, Outlook nesting) that would otherwise cause silent misconfiguration. What happens on a name collision is the only real omission, and idempotentHint=false already signals it.

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 100%, so both parameters are already documented, and the description largely restates them ('Required: name. Optional: email_account_id'). It does add real meaning for `name` by explaining that it may be a path whose separator comes from list_mail_folders, but `email_account_id` gains nothing (no default-mailbox behavior explained), so baseline 3 is right.

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?

Opens with a specific verb+resource ('Einen Ordner (Gmail: ein Label) anlegen') and immediately maps the concept across Gmail/IMAP/Outlook, so the agent knows exactly what object is being created. It stops short of distinguishing itself from the sibling create_brevo_folder, which an agent seeing both names would still have to guess between.

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?

Required and optional parameters are stated, and list_mail_folders is named as the source of the separator convention, which is a useful pointer. However, there is no explicit when-to-use/when-not guidance versus rename_mail_folder, delete_mail_folder, or the Brevo folder creator, so selection logic is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.