Skip to main content
Glama
ProtonMail MCP Server

ProtonMail MCP Server

by barhatch

create_folder

Creates a new email folder or label in Proton Mail, using 'Folders/Name' for custom folders and 'Labels/Name' for labels.

Instructions

📁 Create a new email folder. Use 'Folders/FolderName' for custom folders or 'Labels/LabelName' for labels

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

Input Schema

NameRequiredDescriptionDefault
folderNameYesFolder path to create (e.g., 'Folders/MyFolder' or 'Labels/Work')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/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 does not state whether duplicate folder names error, whether nested paths like 'Folders/A/B' are supported, what permissions are needed, or what the call returns — significant gaps for a mutation tool.

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 short, front-loaded sentences with no wasted prose; the action comes first and the path convention second. The format sentence mildly duplicates the schema but is cheap and useful at selection time.

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?

For a single-parameter creation tool this is adequate to attempt a call, but with no annotations and no output schema the description should say more about failure modes (name collisions, invalid prefixes) and the result of creation.

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% and the single parameter already documents the 'Folders/…' / 'Labels/…' format with examples, so the description's format hint largely duplicates the schema. Baseline 3 is appropriate since the schema does the heavy lifting.

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?

Specific verb plus resource: 'Create a new email folder'. It also distinguishes the two creatable resource kinds (custom folders vs labels), which separates it from plain folder tools, though it does not explicitly name the overlapping sibling add_label.

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?

Gives format guidance for using the tool ('Folders/FolderName' vs 'Labels/LabelName'), which implies when each path applies, but offers no explicit when-to-use-vs-alternative guidance such as choosing create_folder over add_label, or what to do if the folder already exists.

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