Skip to main content
Glama
ProtonMail MCP Server

ProtonMail MCP Server

by barhatch

get_emails

Fetch emails from a specified folder with pagination to browse inbox or other mail folders; returns truncated body previews and attachment metadata only.

Instructions

📬 Get emails from a specific folder with pagination (returns truncated body preview, attachment metadata only)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of emails to fetch
folderNoFolder path (e.g., 'INBOX', 'Sent', 'Folders/MyFolder'). Default: INBOXINBOX
offsetNoPagination offset

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose an important caveat: bodies are truncated previews and attachments are metadata only. However, it says nothing about ordering, whether read/unread state is included, or whether total counts are returned for pagination, so the disclosure is partial rather than rich.

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?

A single front-loaded sentence with the folder scope first and the return caveat in parentheses; nothing is wasted. The phrase 'with pagination' mildly restates the limit/offset schema, and the emoji is decorative noise.

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?

For a three-parameter, default-only read tool with no output schema, the description covers purpose and the truncated-return caveat. It is not complete enough to tell an agent the ordering of results or how to detect the end of pagination, which matters for an offset-based pager.

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 limit, folder, and offset are already fully documented with defaults and an example path. The description adds no syntax, format, or edge-case meaning beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource ('Get emails from a specific folder') plus pagination scope, which lets an agent distinguish a folder listing from a query-based or single-message fetch. It stops short of naming search_emails or get_email_by_id explicitly as alternatives.

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 phrase 'from a specific folder with pagination' implies browsing a folder rather than searching, but there is no explicit when-to-use or when-not-to-use guidance. Nothing tells the agent to prefer search_emails for queries or get_email_by_id for full message content.

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