Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

create_folder

Creates a new email folder or label in a specified path, organizing messages into custom folders and nested subfolders for structured inbox management.

Instructions

Create a new email folder/label

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

Input Schema

NameRequiredDescriptionDefault
pathYesFolder path to create (e.g. 'MyFolder' or 'Folders/Subfolder')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.3

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing beyond the bare mutation. It does not say what happens if the folder already exists, whether intermediate path segments are auto-created, whether the operation is idempotent, or what permissions are required. For a write operation with zero annotation coverage this is a substantial gap.

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?

A single short phrase with zero wasted words and the action front-loaded. It is efficient, though brevity here edges into under-specification rather than disciplined conciseness.

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 genuinely simple — one required string parameter, no output schema, no nesting — so the description does not need to be long. However, for a creation tool it omits the two things an agent most needs: collision behavior on an existing path and whether nested parents are created automatically.

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 100% and the path parameter already documents both flat ('MyFolder') and nested ('Folders/Subfolder') forms with examples, so the description need not repeat it. The description adds only marginal meaning by indicating the target is an email folder/label, hence the baseline 3.

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 gives a specific verb and resource ("Create a new email folder/label"), so an agent knows exactly what the tool does. It does not distinguish itself from siblings that also create things (create_rule, create_template) or from rename_folder/list_folders, leaving differentiation to the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as rename_folder (for existing folders) or create_rule (for organizing mail). No prerequisites, no mention of whether the folder must be created before move_email can target it, and no exclusions.

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