Skip to main content
Glama
googlarz

Proton Mail Bridge MCP

flag_thread

Add or remove IMAP flags on all messages in a thread using its RFC 5322 Message-ID. Apply or remove flags to entire conversations at once.

Instructions

Add or remove IMAP flags across all messages in a thread, identified by RFC 5322 Message-ID header. Use when you have the raw Message-ID and want to flag an entire conversation at once. Prefer apply_thread_action with action 'mark_read', 'mark_unread', 'star', or 'unstar' when you have a local threadId from get_threads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dryRunNo
messageIdYesRFC 5322 Message-ID.
flagsToAddNo
acrossFoldersNo
flagsToRemoveNo
Behavior3/5

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

Annotations only include destructiveHint=false, which is consistent. Description adds that flags can be added or removed, but doesn't detail other behavioral traits like rate limits, side effects, or behavior when flags already exist. Adequate but not rich.

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 sentences, no wasted words, front-loaded with purpose and usage guidelines. Highly concise.

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?

Given 5 parameters and no output schema, the description provides usage context but omits details on dryRun (test mode) and acrossFolders scope. Return value not mentioned, but for a flag-modification tool, that may be acceptable. Moderate completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20% (only messageId has a description). The tool description does not explain dryRun, flagsToAdd, flagsToRemove, or acrossFolders. This leaves agents without crucial parameter context. Fails to compensate for low schema coverage.

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?

Clearly states the tool adds or removes IMAP flags across all messages in a thread using the Message-ID header. Distinguishes itself from sibling apply_thread_action by specifying when to use each.

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

Usage Guidelines5/5

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

Explicitly says to use this tool when you have the raw Message-ID and want to flag an entire conversation, and to prefer apply_thread_action with specific actions when you have a local threadId. Provides clear decision guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/googlarz/proton-mail-bridge-client'

If you have feedback or need assistance with the MCP directory API, please join our Discord server