Skip to main content
Glama

Proton Search Emails

proton_search_emails
Read-only

Searches one folder of a Proton Mail account for query in the messages' headers and text, newest first. folder defaults to INBOX; "All Mail" searches every message. since and until narrow it to a period of days. The search is run by Proton Mail Bridge on this computer. Nothing is marked as read. Read from Proton Mail Bridge on this computer; it requires a Proton plan that includes Bridge, with Bridge running.

Input Schema

NameRequiredDescriptionDefault
limitNoMessages per page (default 20, max 100).
queryYesText to look for.
sinceNoOnly messages received on or after this day (2026-01-31).
untilNoOnly messages received on or before this day.
folderNoFolder name (default INBOX).
offsetNoMatches to skip (default 0).
accountNoThe Proton Mail account: its address, as proton_status lists it. Optional when one account is connected.

Output Schema

NameRequiredDescriptionDefault
countYes
emailsYes
folderYes
accountYes
has_moreYes
total_matchesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / account / description
      Previous value: -"The Proton Mail account: its address, as proton_connect lists it. Optional when one account is connected."New value: +"The Proton Mail account: its address, as proton_status lists it. Optional when one account is connected."
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond readOnlyHint/destructiveHint, the description adds meaningful context: results come back newest first, nothing is marked as read (a real IMAP concern), and search runs through local Proton Mail Bridge requiring a Bridge-inclusive plan with Bridge running. That prerequisite disclosure is valuable and not in annotations. It omits anything about result ordering nuances or paging behavior, but the essentials are covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the action and scope and is short. However, the Bridge prerequisite is stated twice: once as 'run by Proton Mail Bridge on this computer' and again in the final sentence. Removing the redundant sentence would tighten it without losing information.

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?

For a read-only search tool with an output schema and fully described parameters, the description covers scope, ordering, side effects, and prerequisites. Pagination is left to the schema, which is appropriate. The only gap is the lack of explicit sibling routing.

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 baseline is 3. The description adds only marginal value: folder defaults to INBOX and the special 'All Mail' value searches every message, which is not in the schema. It says since/until 'narrow it to a period of days' but adds no format detail beyond what the schema already states.

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 first sentence gives a specific verb, resource, and scope: searching one folder of a Proton Mail account, matching headers and text, newest first. It implies, but does not explicitly name, why one would pick this over proton_list_emails. The scope constraint (only one folder) is a meaningful distinction that only shows up indirectly.

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

Usage Guidelines3/5

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

The description explains the folder-scoping rule and mentions 'All Mail' as a way to search everything, which hints at use. However, it never directly contrasts this with proton_list_emails or proton_read_email, so when to use this versus those siblings is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources