Skip to main content
Glama
Considus

proton-bridge-mcp

Search a folder

search_mail
Read-only

Find emails in a Proton Mail folder using filters for text, sender, subject, date, unread, or flagged status. Returns message IDs and envelope data, newest first, with optional folder/label locations.

Instructions

Search a folder. Combine any of: text, from, subject, since (DD-Mon-YYYY), unread_only, flagged_only. Returns uids + envelopes, newest first. Set include_locations to also report which labels and folders each message carries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNo
textNo
limitNoMax results (default 15).
sinceNoDD-Mon-YYYY, e.g. 01-Jul-2026
beforeNoDD-Mon-YYYY. Combine with since for a date range.
folderNoFolder to search, e.g. INBOX, 'All Mail', 'Folders/<name>'. Default INBOX.
subjectNo
uidvalidityNoUIDVALIDITY reported alongside the uid. Pass it back so a mailbox resync cannot make this act on the wrong message.
unread_onlyNo
flagged_onlyNo
include_locationsNoReport every other mailbox each message appears in, so you can tell what it is already labelled or filed as without a second search. Costs one search per mailbox.
Behavior4/5

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

Annotations already declare readOnlyHint, and the description adds valuable behavioral details: returns uids + envelopes, newest first, and that include_locations reports other mailboxes each message appears in. No contradictions with 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 concise and front-loaded with the primary action 'Search a folder'. It contains no filler and each sentence contributes meaningful information about filtering and return values.

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?

The description covers the core behavior and return format but omits guidance on when to prefer this tool over search_all_mail, the default result limit, and semantics for text/from/subject. Given the 11-parameter complexity and lack of output schema, it is serviceable but not fully complete.

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 only 55%, leaving several parameters like text, from, subject, unread_only, and flagged_only without schema-level explanations. The description merely lists these filters without adding semantics. It does clarify since format and include_locations behavior, but this is marginal. Baseline 3 applies due to moderate coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Search a folder' with a specific verb and resource, and lists the filter criteria. It distinguishes from search_all_mail by indicating folder scope, but does not explicitly name the sibling alternative, so it lacks full sibling differentiation.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like search_all_mail. 'Combine any of' is about combining filters, not tool selection. There is no mention of prerequisites or exclusions.

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/Considus/proton-bridge-mcp'

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