Skip to main content
Glama

check_smtp_tls

Verify inbound SMTP TLS posture by checking each MX host: tests STARTTLS, validates certificate trust chain and hostname, checks expiry and reverse DNS.

Instructions

Live check of every MX host: opens TCP 25, runs EHLO + STARTTLS, validates TLS certificate trust chain, hostname match, expiry window, advertised EHLO capabilities, plus PTR and forward-confirmed reverse DNS. Read-only — connects and quits without sending mail. Returns per-MX cipher/version, cert SANs, expiry days, FCrDNS verdict, and STARTTLS-required flag. Use to verify inbound mail TLS posture; pair with check_mta_sts for the policy layer. May be slower (10-30s) due to live SMTP handshakes. No auth.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name, e.g. example.com
Behavior5/5

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

Clearly declares read-only behavior ('connects and quits without sending mail'), performance characteristic, and what it checks. No annotations provided, so description fully carries behavioral disclosure.

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?

No wasted words; all sentences informative. Front-loaded with main actions, followed by behavioral and usage details. Excellent structure.

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?

Although no output schema, description lists return values (cipher, cert SANs, expiry days, FCrDNS, STARTTLS flag). Covers live check nature, method, and use case comprehensively for a single-parameter tool.

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 has single parameter 'domain' with basic description. The tool description adds context that it queries all MX hosts for that domain, enhancing understanding beyond schema.

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?

Description clearly states specific actions: live check of MX hosts, TCP 25, EHLO+STARTTLS, certificate validation, etc. Distinguishes from sibling tool 'check_mta_sts' for policy layer.

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?

Explicitly recommends pairing with check_mta_sts and mentions slower speed (10-30s). Does not list when not to use, but context clarifies its role for inbound TLS posture checking.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RoscoNL/intodns-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server