Skip to main content
Glama
ProtonMail MCP Server

ProtonMail MCP Server

by barhatch

bulk_delete_emails

Delete multiple emails at once by passing an array of email IDs, enabling batch cleanup without removing messages individually.

Instructions

🗑️ Delete multiple emails at once (efficient for batch 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": {
      "emailIds": "<emailIds>"
    },
    "name": "bulk_delete_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailIdsYesArray of email IDs to delete

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?

No annotations are provided, so the description carries the full burden for a destructive operation, yet it says nothing about irreversibility, whether messages go to trash or are permanently purged, partial-failure behavior, or batch-size limits. For a destructive batch tool with zero annotation coverage this is a substantial gap.

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, front-loaded sentence with no wasted words; the emoji is decorative noise but does not impede comprehension. It is efficient, though efficient at conveying too little.

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 destructive, batch-scoped tool with no annotations and no output schema, the description is too thin: it should at minimum state permanence/recoverability and what happens on invalid or partial IDs. The schema covers the input but nothing addresses the risk profile of the call.

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?

The single parameter emailIds has 100% schema description coverage ('Array of email IDs to delete'), so the schema already does the work; the description adds no format, ordering, or size semantics beyond it. Baseline 3 applies for a one-parameter tool with full coverage.

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 concrete verb and resource ('Delete multiple emails') and the word 'multiple' implicitly distinguishes it from the single-item delete_email sibling. It does not explicitly name or contrast with that sibling, so it stops short of a 5.

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?

The parenthetical 'efficient for batch deletion' hints at scale but gives no real when-to-use guidance: no threshold for when bulk beats repeated delete_email calls, no note on whether bulk_move_emails is the safer alternative, and no prerequisites or exclusions.

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