Skip to main content
Glama

500Toolbox

SMTP Server Test

smtp-test
Read-onlyIdempotent

Speaks SMTP to the server: connects, reads the banner, sends EHLO, upgrades with STARTTLS where offered, inspects the TLS certificate, and - only when credentials are supplied - verifies that AUTH is accepted. It CANNOT send mail, by design, so it is not usable as a relay. Only ports 25, 465, 587 and 2525 are permitted, and private addresses are refused. Costs 3 credits per call.

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>"
    },
    "name": "smtp-test"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesMail server hostname.
portNo25, 465, 587 or 2525. Defaults to 587.
passwordNoOptional, required only alongside username.
usernameNoOptional. Supplying credentials adds an AUTH check; they are used once and never stored.
encryptionNostarttls, ssl or none. Port 465 always uses implicit TLS. Defaults to starttls.starttls

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint), and the description adds several non-obvious operational facts: the exact protocol sequence performed, that credentials only trigger an AUTH check and are used once and never stored, the four permitted ports, that private addresses are refused, and the cost of 3 credits per call. These are precisely the constraints an agent cannot derive from the schema or annotations.

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 protocol behavior, followed by scope exclusion, then hard constraints and pricing. No filler; the port list is mildly redundant with the schema but justifies itself as a hard gating constraint.

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?

With no output schema, the description carries some burden for return values, and it only implies what comes back (banner text, STARTTLS availability, certificate details, AUTH acceptance) without stating the response shape or failure modes. Everything else an agent needs — scope, limits, cost, credential handling — is present, so this is a minor gap rather than a serious one.

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?

Schema description coverage is 100%, so every parameter (host, port, password, username, encryption) is already documented in the schema, including defaults and examples. The description reinforces the port allowlist and the credential pairing rule but adds no new parameter-level semantics such as encryption-vs-port conflict handling. Baseline 3 is appropriate when the schema does the heavy lifting.

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 chain and resource: 'Speaks SMTP to the server: connects, reads the banner, sends EHLO, upgrades with STARTTLS... inspects the TLS certificate... verifies that AUTH is accepted.' An agent immediately knows this is an SMTP handshake/capability probe, not a mail sender or a generic port check. It stops short of naming a sibling alternative (e.g. ssl-check, which also inspects certificates), so it lands at 4 rather than 5.

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?

The use case is strongly implied by the enumerated handshake steps, and the description usefully rules out one thing ('CANNOT send mail, by design, so it is not usable as a relay'). However there is no explicit 'use this when you want X instead of ssl-check/dns-lookup' routing, and no stated prerequisites. Usage is inferable but not spelled out.

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