Skip to main content
Glama
googlarz

Proton Mail Bridge MCP

sync_emails

Refresh your local email index by incrementally syncing metadata from IMAP. Use full sync to remove archived, trashed, or moved messages that would otherwise remain stale.

Instructions

Incrementally sync email metadata from IMAP into the local SQLite index, using stored checkpoints to avoid re-fetching already-indexed messages. Use before calling search_indexed_emails or get_threads when the index may be stale. The default incremental sync only ever adds/updates recent messages — it never notices a message that was archived, trashed, or moved out of the synced folder by any client, so search/thread/digest tools can keep showing a message as still present indefinitely. Set full:true (per folder — sync each folder you want cleaned up) to also detect and prune those, in addition to fetching a larger sample. Prefer run_background_sync to trigger the scheduled sync cycle (also incremental-only by default; see PROTONMAIL_AUTO_SYNC_FULL).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoFetch a larger per-folder sample, and detect/prune messages no longer present in this folder (moved, archived, trashed, or deleted by any client) that the default incremental sync would otherwise leave stale in the index forever.
folderNoFolder to sync. Defaults to all folders.
limitPerFolderNoOverride the per-folder fetch limit.
includeAttachmentTextNoExtract searchable text from text-like attachments while syncing.
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses a critical behavioral limitation: incremental sync never notices archived, trashed, or moved messages, so stale entries can persist indefinitely. It also explains exactly what full:true changes, giving the agent important operational knowledge not available from annotations alone.

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 dense but well-structured: it front-loads the core purpose, then adds necessary caveats and usage guidance. Every sentence contributes meaningful information, and the length is justified by the tool's nuanced behavior.

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?

For a sync tool with four optional parameters, no output schema, and important staleness caveats, the description covers the essential operational context: when to run it, what it does, what it misses, how to fix that with full:true, and which sibling to prefer for scheduled sync. This is complete for an agent to select and invoke it 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 description coverage is 100%, so the schema already documents all four parameters well. The description reinforces the meaning of full and folder but does not add substantial new parameter-level semantics beyond what the schema provides, so the baseline of 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 opens with a specific verb and resource: 'Incrementally sync email metadata from IMAP into the local SQLite index.' It clearly distinguishes this tool from siblings by explaining the checkpoint-based incremental mechanism and explicitly positioning it relative to search_indexed_emails, get_threads, and run_background_sync.

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?

The description gives explicit usage context: use before search_indexed_emails or get_threads when the index may be stale. It also directs users to prefer run_background_sync for scheduled syncs and explains when to set full:true, providing clear alternatives and conditions.

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

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