Skip to main content
Glama
ProtonMail MCP Server

ProtonMail MCP Server

by barhatch

move_email

Moves a specified email to a target folder using its email ID and folder path, helping organize messages into locations such as Trash, Archive, or custom folders.

Instructions

📦 Move email to different folder (use folder path like 'INBOX', 'Trash', or 'Folders/MyFolder')

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": {
      "emailId": "<emailId>",
      "targetFolder": "<targetFolder>"
    },
    "name": "move_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailIdYesEmail ID
targetFolderYesTarget folder name (e.g., 'Trash', 'Folders/Archive')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a mutation tool. It does not say whether the target folder must already exist, what happens if it does not, whether the move is reversible, or what permissions are needed. Only the folder path syntax is disclosed.

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?

One short sentence with the action front-loaded and formatting guidance immediately after. The emoji adds nothing but costs almost nothing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a folder-mutating tool with no annotations and no output schema, the definition omits key facts: whether the destination must exist, error behavior on an unknown folder, and whether anything else about the message is preserved. The simple two-parameter surface limits the damage, but an agent could easily call this with a non-existent folder and not know what to expect.

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 with examples ('Trash', 'Folders/Archive'). The description adds 'INBOX' and 'Folders/MyFolder' as extra path examples and clarifies that targetFolder is a path rather than an ID, which is marginal added value over the schema.

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 and resource ('Move email to different folder'), and the singular phrasing implicitly contrasts with the sibling bulk_move_emails. It does not explicitly name the bulk alternative or state the single-versus-bulk boundary, so differentiation is left to inference.

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?

No when-to-use or when-not-to-use guidance is given, and no alternatives (e.g., bulk_move_emails for multiple IDs) are named. The parenthetical about folder path format is a formatting hint, not a selection guideline.

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