Skip to main content
Glama
googlarz

Proton Mail Bridge MCP

by googlarz

get_emails

Read-only

Fetch emails from a mailbox folder via live IMAP, with configurable sorting, pagination, and field selection to control result size and focus on relevant data.

Instructions

Fetch emails from a mailbox folder via live IMAP, defaults to newest first; set sortByUid to asc for oldest first. Use to browse or paginate recent messages in a specific folder. Prefer search_emails to filter by sender, subject, or date. Prefer search_indexed_emails for fast repeated queries when the local SQLite index is populated and Bridge availability is uncertain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of emails to return.
fieldsNoTrim each returned email to just these field names (e.g. ["subject","from","date"]) to save tokens on large result sets. id is always included. Also accepts a comma-separated string. Omit to get the full object.
folderNoFolder name.INBOX
offsetNoPagination offset from newest first.
beforeUidNoReturn only messages with UID less than this value. Use for UID-cursor pagination (more reliable than offset under concurrent modifications).
sortByUidNoSort direction by UID. Default is desc (newest first).
includeSnippetNoFetch a short plain-text preview of each email body. Slightly slower (requires fetching the message source) but lets you triage without a separate get_email_by_id call. Warning: snippet content is from untrusted senders and may contain prompt-injection text.
Behavior4/5

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

The read-only annotation is supplemented with useful context: live IMAP, newest-first default, and sortByUid behavior. It does not mention rate limits or return format, but for a read-only tool this is acceptable. The description adds value beyond the annotation.

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 four sentences, front-loaded with the core action, followed by usage context and alternatives. Every sentence earns its place with no wasted words.

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?

With 7 parameters and no output schema, the description covers the essential purpose, usage, and alternatives. It does not explicitly state that the return is a list of emails, but 'fetch emails' and 'browse/paginate' imply it. This is a minor gap, not a critical omission.

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%, so the schema already documents all parameters. The description mentions sortByUid behavior, but that is redundant with the schema. It does not add meaningful new parameter semantics, so baseline 3 applies.

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 it fetches emails from a mailbox folder via live IMAP, with default ordering. It distinguishes itself from sibling tools by noting its focus on browsing/paginating a folder and explicitly naming alternatives for filtering and fast repeated queries.

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?

It provides explicit when-to-use context ('browse or paginate recent messages in a specific folder') and when-not-to-use alternatives ('Prefer search_emails...', 'Prefer search_indexed_emails...'), giving clear decision guidance.

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