Skip to main content
Glama
googlarz

Proton Mail Bridge MCP

sync_emails

Sync email metadata from IMAP to local SQLite index using checkpoints. Update the index before searching or fetching threads.

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. Set full:true for a larger initial sample. Prefer run_background_sync to trigger the scheduled sync cycle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderNoFolder to sync. Defaults to all folders.
fullNoFetch a larger per-folder sample.
limitPerFolderNoOverride the per-folder fetch limit.
includeAttachmentTextNoExtract searchable text from text-like attachments while syncing.
Behavior4/5

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

With no annotations, the description carries the burden of disclosing behavior. It explains the incremental nature via stored checkpoints to avoid refetching, which is good behavioral context. It could mention any side effects or return values, but it sufficiently describes the main operation for an AI agent.

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, front-loaded with the main action and purpose. Every sentence adds value: the first covers functionality, the second gives usage context, the third offers parameter advice. No waste.

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?

Given 4 parameters, no output schema, and no annotations, the description covers purpose, timing, and key parameter hint. It orients the agent well for typical use, though it could mention what the sync returns or if it's safe to call repeatedly. Still, it is reasonably complete.

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

Parameters4/5

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

Schema coverage is 100% with descriptions for all 4 parameters. The description adds value by hinting to set 'full:true' for larger initial sample, which enriches the boolean parameter. For other parameters, it doesn't add beyond schema, but baseline is 3; the extra hint lifts it to 4.

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 incrementally syncs email metadata from IMAP into a local SQLite index using checkpoints, which specifies the verb and resource distinctly. It sets itself apart from siblings like search_indexed_emails 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 explicitly advises using the tool before search_indexed_emails or get_threads when the index may be stale, and suggests preferring run_background_sync for scheduled cycles. It also provides guidance on the 'full' parameter for initial syncs, offering clear when-to-use and alternative context.

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