Skip to main content
Glama
googlarz

Proton Mail Bridge MCP

wait_for_mailbox_changes

Monitor your mailbox for real-time changes by opening an IMAP IDLE session. Blocks until a change is detected or a timeout expires, eliminating the need for polling.

Instructions

Open an IMAP IDLE session and block until a mailbox change event arrives or the timeout expires. Use to detect real-time inbox activity without polling. Returns whether a change was observed. Always has a hard timeout (default 15s) to avoid blocking indefinitely — do not use in fire-and-forget pipelines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderNoMailbox to watch during IDLE.INBOX
timeoutSecondsNoMaximum watch duration in seconds.
Behavior4/5

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

Without annotations, the description fully carries behavioral disclosure: blocking, hard timeout (default 15s), and return value. It adds a caution about fire-and-forget misuse. However, it does not explicitly state if the operation is read-only or mention authentication requirements.

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?

Four sentences, no wasted words. The key points (blocking, real-time use, timeout, fire-and-forget warning) are front-loaded in the first two sentences.

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

Completeness4/5

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

The description explains the return value, blocking nature, and timeout, covering the tool's core behavior. It lacks mention of potential errors (e.g., timeout returns false) or prerequisites like a valid connection, but these are minor given the tool's simplicity.

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?

With 100% schema description coverage, the schema already documents both parameters adequately. The description only reiterates the default timeout, adding no significant extra meaning beyond the schema.

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?

The description clearly specifies the action ('Open an IMAP IDLE session and block') and the resource ('mailbox changes'). It uniquely identifies the tool's real-time blocking behavior, distinguishing it from sibling tools that perform CRUD operations or polling.

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

Usage Guidelines4/5

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

The description states when to use ('detect real-time inbox activity without polling') and warns against fire-and-forget pipelines due to blocking. It implies polling as an alternative but does not name specific sibling tools for comparison.

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