Skip to main content
Glama
googlarz

Proton Mail Bridge MCP

wait_for_mailbox_changes

Read-only

Open an IMAP IDLE session to watch for mailbox changes in real time. Blocks until a change or timeout, then returns whether a change was observed.

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?

The description discloses that the tool blocks until an event or timeout, has a hard timeout (default 15s), and returns whether a change was observed. The annotations already indicate readOnlyHint=true, so the description adds context about the blocking behavior and timeout, which is beyond the annotations.

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?

The description is three sentences with no redundancy. Each sentence adds value: the first explains the operation, the second the use case, and the third a critical warning. Front-loaded with key information.

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

Completeness5/5

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

Despite no output schema, the description explains the return value. It covers all essential behavioral aspects (blocking, timeout, use case, warning) and parameter defaults. Fully sufficient for an agent to select and invoke the tool correctly.

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% with clear descriptions for both parameters. The description reinforces the default timeout value but does not add substantial new meaning beyond the schema. Baseline 3 is appropriate.

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 states the tool opens an IMAP IDLE session and blocks until a change event or timeout, establishing a specific verb-resource relationship. It differentiates from sibling tools by focusing on real-time change detection without polling, which is unique among the listed sibling tools.

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 explicitly advises to use this tool for detecting real-time inbox activity without polling and warns against using it in fire-and-forget pipelines due to the hard timeout. It provides clear context but could explicitly name alternative 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