Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

get_email_stats

Retrieve a quick mailbox summary with total message and unread counts across all folders.

Instructions

Get a quick summary of your mailbox: total messages, unread count across all folders

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_email_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.3

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does usefully disclose scope ('unread count across all folders', i.e. mailbox-wide aggregation rather than per-folder) and implies a cheap read-only operation via 'quick summary'. However it says nothing about cost, freshness/caching of the counts, or whether the result includes a per-folder breakdown, leaving the behavior only partly characterized.

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?

A single sentence with the purpose front-loaded and the return contents enumerated after a colon. Every clause earns its place and there is no filler or redundancy.

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?

This is a simple zero-parameter read tool with no output schema, so the description must carry the return-value burden, and it does name the two key metrics. It stops short of describing the full shape of the summary (e.g. per-folder counts or other metrics), which for a tool whose only output is data leaves a small gap.

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, so there is nothing for the description to disambiguate; the baseline of 4 applies. The description correctly implies no input is needed by framing the result as a mailbox-wide summary rather than a filtered query.

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 ('Get') and a specific resource ('summary of your mailbox'), then enumerates the concrete outputs: total messages and unread count. An agent can distinguish it from message-manipulation siblings like list_emails or search_emails, though it never explicitly contrasts itself with list_emails (which would also return counts 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?

Usage is implied rather than stated: 'a quick summary' signals a cheap aggregate check, which suggests using this instead of paging through list_emails. There is no explicit when-to-use or when-not-to-use guidance and no named alternative, so the agent must infer the routing from the word 'quick' and the aggregate output list.

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