Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

rename_folder

Rename an existing email folder or label by specifying its current path and the new path, so you can reorganize your Proton Mail structure.

Instructions

Rename an existing 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>",
      "new_path": "<new_path>"
    },
    "name": "rename_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesCurrent folder path
new_pathYesNew folder path/name

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 supplied, so the description carries the full burden and does not meet it. "Existing" hints the folder must already exist, but it says nothing about whether contained emails/labels follow the rename, what happens if the path is invalid, whether this is reversible, or what permissions are required for a mutation.

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 front-loaded sentence with no filler, which is appropriate for a two-parameter tool. It is arguably too terse for a mutation, but nothing is wasted.

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 simple two-parameter mutation with full schema coverage and no output schema, the definition is minimally sufficient to call the tool. However, with no annotations and no statement of effects on contained emails or failure modes, an agent lacks the behavioral context needed to use it safely.

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%, with both parameters documented as "Current folder path" and "New folder path/name", so the baseline is 3. The description adds only the folder/label synonym hint and no additional syntax or path-format guidance.

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?

"Rename an existing email folder/label" gives a specific verb (rename) and resource (email folder/label), so the operation is unambiguous and distinguishable from create_folder, delete_folder, or move_email. It stops short of explicitly naming the sibling boundary, but the intent is clear without opening the schema.

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 when-to-use guidance, no prerequisites, and no mention of alternatives. An agent must infer from the name alone that this is the tool for changing a folder's name rather than moving it (move_email) or creating a new one (create_folder).

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