Skip to main content
Glama
proton-mail-mcp

proton-mail-mcp

by sethbang

Move messages (bulk)

bulk_move
DestructiveIdempotent

Move multiple messages to a different folder in one operation by UID list or search criteria; use a dry run to preview changes before moving.

Instructions

Move multiple messages to a different folder in one operation. Provide EITHER uids (an explicit list) OR match (search criteria — same shape as search_messages), not both. Set dryRun: true to preview what would be moved without making changes. Note: moved messages get new UIDs in the destination folder.

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": {
      "destination": "<destination>"
    },
    "name": "bulk_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidsNoExplicit UIDs to move (mutually exclusive with `match`)
matchNoSearch criteria; matching messages will be moved (mutually exclusive with `uids`)
dryRunNoIf true, preview without moving
folderNoSource folder (default: INBOX)INBOX
destinationYesDestination folder path

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.0.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / match / properties / larger / exclusiveMinimum
      Added value: +0
    • removedInput schema / properties / match / properties / larger / minimum
      Removed value: --9007199254740991
    • addedInput schema / properties / match / properties / smaller / exclusiveMinimum
      Added value: +0
    • removedInput schema / properties / match / properties / smaller / minimum
      Removed value: --9007199254740991
  2. First observedv1.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is carried. The description adds genuinely non-obvious behavior beyond that: moved messages receive new UIDs in the destination folder, and dryRun gives a no-change preview. It is silent on edge behavior such as zero matches, missing destination folders, or partial failures.

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?

Three tight sentences: purpose first, then input-mode constraint, then preview and the UID caveat. No filler and nothing buried.

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 destructive mutation with a nested match object and no output schema, the definition covers the essentials an agent needs: how to select messages, how to preview safely, and that destination UIDs change. Missing detail about destination validation and empty-result behavior keeps it short of complete.

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%, so the schema already documents mutual exclusivity, defaults, and every search field. The description adds only modest meaning beyond that, chiefly that `match` has the 'same shape as search_messages' and what dryRun previews — helpful but not compensating for a real gap.

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 opens with a specific verb, resource, and scope: 'Move multiple messages to a different folder in one operation.' The explicit 'multiple messages' framing separates it from the single-message and thread-level siblings without the agent needing to open another schema.

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

Usage Guidelines4/5

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

It clearly states the two mutually exclusive input modes (explicit `uids` vs. `match` criteria) and when to use `dryRun: true` for preview. It does not explicitly say when to prefer this over move_message/move_thread, but the bulk-vs-single context makes that choice obvious.

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