Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

permanently_delete

Permanently deletes one or more email UIDs from a folder; this action cannot be undone, so use move_to_trash for reversible deletion.

Instructions

Permanently delete one or more emails (cannot be undone). Use move_to_trash for reversible deletion.

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": {
      "folder": "<folder>",
      "uids": "<uids>"
    },
    "name": "permanently_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidsYesArray of email UIDs to permanently delete
folderYesFolder the emails are in

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.3

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and delivers the single most important behavioral fact: the action 'cannot be undone'. It does not cover permission requirements, whether the batch is atomic, or what happens to UIDs that don't exist, which keeps it short of a 5.

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?

Two short sentences, front-loaded with the operation and its consequence, followed by the alternative. Nothing is redundant or padded.

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 simple two-parameter destructive tool with no output schema, the description covers purpose, consequence, and the safer alternative. Confirmation behavior and partial-failure semantics are unaddressed but are minor at this complexity.

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 both parameters (uids, folder) are documented there, so the baseline is 3. The description only adds that multiple emails may be targeted at once, without clarifying UID format or folder-path semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Permanently delete one or more emails') with explicit batch scope. The irreversible nature is included inline, so an agent knows exactly what operation this is and can separate it from sibling delete tools.

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

Usage Guidelines5/5

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

Explicitly names the alternative ('Use move_to_trash for reversible deletion') and gives the condition that selects it — reversibility. This is a direct routing rule rather than implied usage.

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