Skip to main content
Glama
googlarz

Proton Mail Bridge MCP

batch_email_action

Destructive

Apply bulk mailbox operations like mark read, move, or delete to multiple emails in one IMAP pass. Preview changes with dry run before mutating.

Instructions

Apply a mailbox action to multiple emails in a single IMAP pass. Actions: mark_read, mark_unread, star, unstar, archive, trash, restore, move (requires targetFolder), delete (permanent expunge — use with care). Supports dryRun to preview impact before mutating. Prefer apply_thread_action when acting by threadId rather than individual email ids.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailIdsYesComposite email ids as an array or a comma-separated string.
actionYes
targetFolderNoDestination folder. Required when action is 'move'; optional for 'restore' (defaults to INBOX).
continueOnErrorNoContinue applying the action after an individual failure.
dryRunNoPreview the impact without mutating the mailbox.
Behavior5/5

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

Provides details beyond destructiveHint annotation, including the 'dryRun' preview, the requirement of 'targetFolder' for move, and a caution on delete being a permanent expunge.

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 meaningful sentences plus an enumeration of actions; no filler, front-loaded with core purpose. Highly efficient.

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

Completeness5/5

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

Covers purpose, action list, key parameter constraints, dryRun, error handling default, and alternative tool. Complete given schema and annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 80%; description adds context for 'dryRun' and action-specific requirements (move needs targetFolder, restore defaults to INBOX). Slightly above baseline.

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?

The description uses a specific verb-resource combination ('Apply a mailbox action to multiple emails') and distinguishes sibling tool 'apply_thread_action' by noting it works on threadId.

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 recommends alternative tool 'apply_thread_action' for thread-based actions and warns about the delete action being permanent, guiding appropriate usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/googlarz/proton-mail-bridge-client'

If you have feedback or need assistance with the MCP directory API, please join our Discord server