Skip to main content
Glama
mattias242

protonmail-mcp-server

by mattias242

Antal mejl i en mapp

get_mailbox_status
Read-onlyIdempotent

Retrieve the total and unread message counts for a specified mailbox or folder, defaulting to INBOX. Use it to check mailbox activity before reading or searching emails.

Instructions

Hämta antal meddelanden och olästa i en mapp.

Kastar fel om mappen inte finns, och om den är en behållare (Folders, Labels; selectable: false i list_mailboxes) som inte kan innehålla mejl.

Args: mailbox: Mappnamn (standard: INBOX)

Input Schema

NameRequiredDescriptionDefault
mailboxNoINBOX

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.0
    • addedInput schema / properties / mailbox / maxLength
      Added value: +255
    • addedInput schema / properties / mailbox / minLength
      Added value: +1
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds real behavioral value: it throws on a nonexistent folder and on container folders (Folders/Labels, selectable:false), pre-empting a whole class of failed 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?

Two sentences plus a short Args block; the core behavior and the error condition are front-loaded, with no filler beyond the compact argument note.

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?

For a single-param read tool with strong annotations and no output schema, the description covers purpose, default, and failure modes adequately; only the exact return shape is left unspecified.

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?

Schema description coverage is 0%, so the description must carry the load. It defines mailbox as a folder name, notes the INBOX default, and implicitly constrains valid values via the selectable:false distinction from list_mailboxes.

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?

States a specific verb (Hämta) and the exact payload: count of messages and unread in a folder. This is distinguishable from list_emails/get_email_headers, which return content rather than aggregate counts.

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 (check mailbox stats) rather than stated. It references list_mailboxes to explain which folders are valid, but never says when to prefer this tool over e.g. list_emails or check_new_emails.

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