Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

flag_email

Flag or star one or more emails by UID in a specified folder to mark important messages for quick follow-up or organization.

Instructions

Flag/star 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": "flag_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidsYesArray of email UIDs to flag
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 supplied, so the description carries the full burden and does not meet it. It does not state whether flagging is idempotent, what happens if some UIDs are invalid, whether the operation is atomic across the array, or what the tool returns; only the flag/star synonym pairing adds real information.

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 phrase with zero filler, which is appropriately terse for a simple two-parameter tool. It borders on under-specification rather than verbosity, so the size itself is not the problem.

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 nested objects, schema fully described) and no output schema exists, so the description need not explain return values. Still, with no annotations at all, it should say more about mutation side effects and error behavior for a batch write.

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 uids and folder are already documented in the schema, and the description adds only the batch hint ('one or more') already implied by the array type. 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?

Names a specific verb ('Flag/star') and resource ('emails'), and the 'one or more' phrasing signals batch semantics. It does not, however, distinguish itself from the sibling unflag_email or explain how flagging relates to mark_as_read, leaving sibling disambiguation to inference.

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 only implied by the verb: an agent can infer this is for setting a star on messages. There is no explicit when-to-use guidance, no mention of unflag_email as the inverse operation, and no stated prerequisites such as the uids existing in the given folder.

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