Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

mark_as_unread

Set one or more emails back to unread in a chosen folder, such as INBOX, so they can be reviewed or followed up later.

Instructions

Mark one or more emails as unread (unseen)

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

Input Schema

NameRequiredDescriptionDefault
uidsYesArray of email UIDs to mark as unread
folderNoFolder the emails are inINBOX

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.3

TDQS

B3.2/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 behavioral burden, and it does not say whether the change is persisted server-side, whether it is reversible, what happens for invalid or unknown UIDs, or how many messages can be sent at once. For a mutation tool with zero annotation coverage this leaves meaningful gaps.

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 front-loaded sentence with zero filler and no redundancy against the title or schema. It is arguably too terse for a mutation tool, but nothing in it is wasted.

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?

The tool is simple (two params, no nesting, no output schema), so the description only needs to cover purpose and effect. Purpose is clear, but side effects and failure behavior for a state-changing operation are unaddressed, leaving it minimally adequate rather than 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 coverage is 100%, so both parameters (uids array and folder defaulting to INBOX) are already documented in the schema. The phrase 'one or more emails' aligns with the array shape but adds no format, ordering, or batching detail beyond the schema, 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?

States a specific verb ('Mark') and resource ('emails as unread'), with the '(unseen)' gloss clarifying the underlying IMAP flag. It is immediately distinguishable from mark_as_read and other siblings by the inverse operation, though it never explicitly names the alternative.

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?

Usage is implied by contrast with the obvious counterpart mark_as_read, but there is no explicit statement of when to prefer this tool, whether it applies to a single message vs a batch in practice, or any prerequisite such as the folder being known.

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