Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

unflag_email

Remove flags or stars from one or more emails in a chosen Proton Mail folder to clear marked messages.

Instructions

Remove flag/star from one or more emails

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": "unflag_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidsYesArray of email UIDs to unflag
folderNoFolder the emails are inINBOX

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.3

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It says nothing about whether unflagging an already-unflagged email errors or is a no-op, what permissions are required, or what the response contains.

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?

A single front-loaded sentence with zero filler. Every word contributes to identifying the action and its scope.

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 mutation this is minimal but workable given the fully documented schema and no output schema to explain. Missing are idempotency and error behavior, which matter for a state-changing operation with no annotations.

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 parameters (uids, folder) are already documented in the schema including the INBOX default. The description only reinforces the bulk nature of uids; it adds no format or constraint detail beyond the schema.

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 specific verb-and-resource pair ("Remove flag/star from ... emails") and shows bulk scope with "one or more." It is unambiguously the inverse of the sibling flag_email, though it never names that sibling explicitly.

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

Usage Guidelines3/5

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

No explicit when-to-use or when-not-to-use guidance is given; the intended use is only implied by contrast with flag_email. The "one or more emails" phrasing at least signals that bulk unflagging is supported rather than requiring repeated single calls.

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