Skip to main content
Glama

list_messages

Lists messages in a Proton Mail folder such as inbox, sent, archive, spam, trash, or starred, with options to limit results and filter for unread messages only.

Instructions

List messages in a Proton Mail folder (inbox, sent, archive, spam, trash, starred...).

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": "list_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
folderNoinbox
unread_onlyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. Beyond naming folders, it does not state that this is a read-only listing, how limit/default 20 affects results, whether results are paginated or sorted, or what unread_only changes.

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 definition is a single front-loaded sentence with no wasted wording. The parenthetical folder examples are useful, though that space could have covered the undocumented parameters instead.

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?

An output schema exists, so return values do not need explanation, and the tool is simple and read-only by implication. However, the lack of annotations and 0% parameter coverage leaves gaps around limit behavior and unread_only that a complete definition should address.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for three undocumented parameters. It clarifies the folder parameter with examples but says nothing about limit or unread_only, leaving two of three parameters without semantic guidance.

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 uses a specific verb and resource ("List messages") and scopes it to a Proton Mail folder, with concrete folder examples. It is clear what the tool does, though it does not distinguish itself from siblings such as search_messages.

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?

It implies browsing messages in a folder but gives no explicit guidance on when to use this instead of search_messages or read_message. There are no stated exclusions or conditions for choosing between listing and searching.

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