Skip to main content
Glama
proton-mail-mcp

proton-mail-mcp

by sethbang

Check mail connection

check_connection
Read-onlyIdempotent

Diagnose Proton Mail Bridge IMAP/SMTP connectivity by checking port reachability, TLS mode, and login; report the setting to change when mail tools fail with connection, timeout, or auth errors.

Instructions

Diagnose the mail connections: checks that the configured IMAP (Proton Mail Bridge) and SMTP ports are reachable, speak the right protocol in the configured TLS mode, and accept the login. If a local port fails, scans Bridge's usual port ranges and reports which ports it is actually on. Sends no mail and opens no mailbox. Use this first when other tools fail with connection, timeout or authentication errors; the result says which setting to change.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.1

TDQS

A4.5/5.0
Behavior3/5

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

The description adds real behavior beyond the annotations: it probes local ports, scans Bridge's usual port ranges when a port fails, and explicitly declares the negative side effects (no mail sent, no mailbox opened) — valuable given openWorldHint=false. However, it doesn't characterize cost or duration of the port scan, nor whether the probe can block or how failures are reported per-check, leaving some operational opacity for a tool that touches the network.

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?

Three sentences, front-loaded with the action and its checks, then the fallback port-scan behavior, then the usage trigger. Every clause carries information — the negative side effects in particular earn their place by heading off misuse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by stating what the result tells you ("the result says which setting to change"). Combined with the explicit scope and non-destructive guarantees, an agent has everything needed to invoke it correctly.

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?

Zero parameters, so the schema cannot be improved upon and the description correctly spends no words on arguments. It could have noted that the tool operates purely on the current configuration, but with no parameters there is nothing further to disambiguate.

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 concrete verb and resource ("Diagnose the mail connections") and then enumerates exactly what is checked: reachability, protocol/TLS handshake, and login acceptance for IMAP and SMTP. Boundary clauses ("Sends no mail and opens no mailbox") further pin the scope so it can't be confused with any sibling mail tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger — "Use this first when other tools fail with connection, timeout or authentication errors" — which tells the agent both the ordering (first) and the symptoms that select this tool. It also states the outcome an agent should expect ("the result says which setting to change"), so there is no ambiguity about when to reach for it.

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