Skip to main content
Glama

MailX Email Deliverability

SMTP Check

smtp_check

Use this only when the user explicitly asks to test an SMTP login for a mail account they control and provides its credentials. Connects to the SMTP server and reports whether connection, encryption and authentication succeed. If from_email and to_email are both given, it also sends one test email. Credentials are not stored.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "host": "<host>",
      "port": "<port>",
      "username": "<username>",
      "password": "<password>",
      "encryption": "<encryption>"
    },
    "name": "smtp_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesThe SMTP server hostname, e.g. smtp.gmail.com
portYesThe SMTP port number, e.g. 587 for TLS, 465 for SSL, 25 for unencrypted
passwordYesThe SMTP password or app-specific password
to_emailNoOptional recipient email address for sending a test email
usernameYesThe SMTP username for authentication
encryptionYesThe encryption protocol: ssl, tls, or none
from_emailNoOptional sender email address for sending a test email

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare openWorldHint=true and readOnlyHint=false, so the agent already knows this touches the network and is not a pure read. The description adds real value beyond that: it discloses the side effect of sending one test email when from_email and to_email are both supplied, and states credentials are not stored. It does not mention timeouts or failure semantics, keeping it short of a 5.

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 tight sentences with the usage restriction front-loaded, followed by behavior and then the data-handling note. No filler and nothing redundant with the schema.

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 must convey what comes back; it does so at a high level (success of connection, encryption, authentication). Combined with 100% param coverage and the credential non-storage note, an agent has enough to call it correctly, though error/timeout behavior is unstated.

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 100%, so the baseline is 3. The description goes slightly further by stating the conditional logic the schema omits — that a test email is only sent when both from_email and to_email are given — which is genuinely new meaning for those two optional params.

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?

The description names a specific verb+resource (test an SMTP login) and enumerates exactly what is verified: connection, encryption and authentication, plus the optional test email. This is clearly distinguishable from the sibling smtp_finder (discovery) and imap_check (different protocol).

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

Usage Guidelines4/5

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

It gives an explicit precondition — only when the user explicitly asks to test an SMTP login for an account they control and supplies credentials. That is a strong when-to-use gate, but it does not name an alternative tool (e.g. smtp_finder) for the discovery case, so the routing guidance is one-sided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources