Skip to main content
Glama
IMAP MCP

IMAP MCP

by abconsultdev

Verbindung testen

mail_test_connection
Read-only

Test IMAP and SMTP login for a mailbox account, reporting each result separately and flagging password length or unusual characters to diagnose failed logins caused by invisible copied characters.

Instructions

Prüft IMAP-Login und SMTP-Login eines Accounts und meldet beide Ergebnisse einzeln. Zeigt unter passwortCheck Länge und auffällige Zeichen des Passworts (nie das Passwort selbst) - hilfreich, wenn die Anmeldung trotz richtigem Passwort scheitert, etwa wegen mitkopierter unsichtbarer Zeichen.

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

Input Schema

NameRequiredDescriptionDefault
accountNoE-Mail-Adresse (oder Name) des Postfachs. Weglassen, wenn nur eines eingerichtet ist. Bei mehreren Pflicht - mail_list_accounts zeigt die verfügbaren. Beim Senden immer das Postfach wählen, von dem der Nutzer absenden will, und im Zweifel nachfragen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and network profile is covered. The description goes beyond that by describing the return shape (beide Ergebnisse einzeln) and a privacy guarantee (Länge und auffällige Zeichen, nie das Passwort selbst), which is exactly the kind of output/behavioral context annotations cannot carry.

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, purpose front-loaded, with the diagnostic detail placed second. Every sentence carries information; slight density in the second sentence but no 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?

There is no output schema, so the description has to hint at the return shape, and it does (two separate results, a passwortCheck section). For a zero-required-parameter read-only diagnostic tool this is close to complete, with only the exact result field names left implicit.

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

Parameters3/5

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

Only one parameter and schema coverage is 100%, with the schema itself explaining the optional account selection and pointing to mail_list_accounts. The description adds nothing about the account parameter, so the baseline 3 applies.

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?

States a specific verb (prüft) and a specific resource pair (IMAP-Login und SMTP-Login eines Accounts), plus what it reports. No sibling does this diagnostic job, so the agent can tell it apart from mail_list_accounts or mail_detect_provider, though no alternative is named explicitly.

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?

Gives one concrete scenario where the tool helps ('wenn die Anmeldung trotz richtigem Passwort scheitert'), which is real usage context, but never states the general when-to-use case (verifying a freshly configured account) and names no alternatives or when-not conditions.

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