Skip to main content
Glama

email_mta_sts

Read-only

Inbound mail TLS check (MTA-STS, TLS-RPT, DANE) — Check a domain's inbound SMTP transport security. Pass domain=. Reads MX, the _mta-sts TXT record and fetches the https://mta-sts./.well-known/mta-sts.txt policy (mode, max_age, mx patterns vs real MX hosts, content type, redirects), TLS-RPT (_smtp._tls) reporting address, DANE TLSA records on the top 3 MX hosts with DNSSEC flag, and BIMI presence. Status ENFORCED/TESTING/DANE ONLY/BROKEN/NOT CONFIGURED, 0-100 score, issues with severity. Price: $0.005 USDC (Base, via x402).

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": {
      "domain": "<domain>"
    },
    "name": "email_mta_sts"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesexample.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, non-destructive), the description discloses concrete runtime behavior: live DNS lookups of MX and _mta-sts TXT records, an outbound HTTPS fetch of the well-known policy with redirect and content-type handling, DANE TLSA lookups limited to the top 3 MX hosts with a DNSSEC flag, and a per-call price of $0.005 USDC via x402. Cost and network-egress behavior are exactly the kind of traits annotations cannot convey.

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?

The purpose sentence is front-loaded, followed by a scannable parenthetical of checked artifacts and a compact result summary. It is dense — the policy-detail parenthesis is long — but nearly every clause conveys a distinct checked artifact or output field rather than filler.

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?

There is no output schema, and the description compensates by enumerating the returned status values (ENFORCED/TESTING/DANE ONLY/BROKEN/NOT CONFIGURED), the 0-100 score, and severity-tagged issues. Combined with the cost and lookup behavior, an agent has everything needed to decide to call it and interpret the result.

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?

With one parameter at 100% schema coverage, the schema already carries the parameter definition, and the description adds only 'Pass domain=' plus contextual usage ('<domain>' embedded in the policy URL). It does not clarify accepted formats (apex vs subdomain, IDN, trailing dot) or validation behavior, so it stays at the baseline.

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 and resource ('Check a domain's inbound SMTP transport security') and then enumerates the exact standards covered (MTA-STS, TLS-RPT, DANE, BIMI). This clearly separates it from sibling mail tools such as email_dkim_check, email_spf_check, and email_domain_check, which cover different record families.

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?

'Pass domain=' gives a minimal invocation cue and the scope statement implies the use case (auditing inbound SMTP transport security). However, it never states when to prefer this over email_spf_check/email_dkim_check, nor any exclusions or prerequisites (e.g., that it must be a bare registrable domain, not an email address).

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