Skip to main content
Glama
proton-mail-mcp

proton-mail-mcp

by sethbang

Create folder

create_folder
Idempotent

Create a new mailbox folder by name or path, such as "Receipts" or "Folders/Newsletters/Politics". Returns gracefully if the folder already exists.

Instructions

Create a new mailbox folder. Returns gracefully if the folder already exists. Proton folders live under "Folders/": a bare name like "Receipts" creates "Folders/Receipts".

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 to create: a name ('Receipts') or path ('Folders/Receipts', 'Folders/Newsletters/Politics').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / path / description
      Previous value: -"Folder path to create. On Proton, prefix with 'Folders/' (e.g. 'Folders/Receipts', 'Folders/Newsletters/Politics')."New value: +"Folder to create: a name ('Receipts') or path ('Folders/Receipts', 'Folders/Newsletters/Politics')."
  2. First observedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful behavior beyond that: duplicate creation is tolerated rather than erroring, and paths are normalized under 'Folders/'. It stops short of stating permission requirements or parent-folder creation behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with the core action front-loaded, followed by duplicate handling and the path convention. Every sentence carries information an agent needs and there is no filler.

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?

For a single-parameter creation tool with annotations covering idempotency and safety, and no output schema to explain, the description is nearly complete. The only real gap is whether nested paths require pre-existing parent folders, which matters for the 'Folders/Newsletters/Politics' example given.

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 'path' parameter is already well documented with examples in the schema. The description adds the normalization rule (a bare name is auto-prefixed with 'Folders/'), which is genuine meaning beyond the schema, but it does not address whether intermediate folders in a nested path must pre-exist, so it sits at the baseline-plus level rather than higher.

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?

States a specific verb+resource ('Create a new mailbox folder') that separates it from siblings such as delete_folder or rename_folder. It does not explicitly differentiate itself from create_label, leaving the folders-vs-labels boundary to inference, though the 'Folders/' naming convention hints at it.

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?

Usage is implied rather than stated: the note that it 'returns gracefully if the folder already exists' tells the agent it needn't pre-check existence, which is a real usage cue. However, there is no explicit when-to-use vs. rename_folder/create_label guidance or stated prerequisites such as whether a parent folder must already exist.

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