Skip to main content
Glama
mattias242

protonmail-mcp-server

by mattias242

Lista mappar och etiketter

list_mailboxes
Read-onlyIdempotent

List all folders and labels in a ProtonMail mailbox to identify where emails are stored. Each entry includes name, type, and whether it can contain messages.

Instructions

Lista alla mappar/etiketter i brevlådan.

Varje post har: name: läsbart namn (å/ä/ö avkodade). Skicka det oförändrat till andra verktyg; etiketter med "/" i namnet har det escapat som "/". type: "system" (INBOX, Drafts, Sent, Starred, Archive, Spam, Trash, All Mail), "folder" (Folders/), "label" (Labels/) eller "container" (behållare som Folders och Labels, går inte att öppna). selectable: False för behållare; de innehåller inga mejl. special_use: "\Drafts", "\Sent", "\All", "\Archive", "\Junk", "\Trash", "\Flagged" eller None.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: container entries cannot be opened and hold no mail, selectable=False identifies them, and label names escape "/" as "\/", which affects downstream calls.

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?

Front-loaded with the one-line purpose, then an organized per-field breakdown. It is slightly longer than a zero-parameter list tool strictly needs, and some of the field documentation overlaps the output schema, but every entry carries a semantic note rather than pure filler.

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 an output schema present and annotations covering the safety profile, return values need not be explained, yet the description usefully documents the semantics an agent needs (type taxonomy, container handling, escaping). The only omission is any note on result size or whether this is the canonical way to enumerate mailboxes vs. get_mailbox_status.

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?

The tool takes zero parameters, which is the baseline-4 case. The description correctly spends no space on arguments and instead documents the returned fields.

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?

"Lista alla mappar/etiketter i brevlådan" states a specific verb (list) and resource (folders/labels in the mailbox), so the core purpose is unambiguous. It does not, however, explicitly distinguish itself from sibling tools such as get_mailbox_status or list_emails, leaving that differentiation to inference.

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?

There is implicit usage guidance in the tip to pass the returned name unchanged to other tools, and the description is read-only enumeration so its role is fairly evident. But it never states when to call it versus alternatives (e.g. get_mailbox_status for counts/status) or any prerequisites, so usage is only implied.

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