Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

move_to_spam

Move one or more emails to the Spam folder by UID, optionally specifying the source folder. Use it to report unwanted messages and keep your inbox clean.

Instructions

Move one or more emails to the Spam 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": {
      "uids": "<uids>"
    },
    "name": "move_to_spam"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidsYesArray of email UIDs to move to spam
folderNoSource folderINBOX

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.3

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 disclosure burden. It implies a mutating operation but says nothing about whether the move is reversible, whether the Spam folder must already exist, what permissions are required, or what happens to UIDs that don't resolve.

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?

A single short sentence, front-loaded with the verb and resource, with zero wasted wording. It is arguably too terse rather than verbose, but the conciseness dimension itself is handled well.

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

Completeness3/5

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

For a simple two-parameter tool with no output schema and full schema coverage, the core operation is conveyed adequately. The notable gap is the absence of any routing context relative to the several move-related siblings, which is what an agent most needs here.

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 both the uids array and the folder parameter are already documented in the schema. The description only reinforces the batch nature of uids ('one or more emails') and adds nothing about the source-folder semantics, so baseline 3 applies.

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?

The description states a specific verb plus resource ('Move ... emails to the Spam folder') and adds batch scope ('one or more'), so the agent knows exactly what operation this performs. It does not, however, distinguish itself from siblings like move_email or move_to_trash, which perform similar moves.

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?

There is no guidance on when to choose this over move_email (a general move) or move_to_trash, nor any stated prerequisites or exclusions. The agent must infer the routing decision from tool names alone.

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