Skip to main content
Glama

MX Record Check (RFC 5321 / RFC 7505)

mx_record_check
Read-onlyIdempotent

Check the MX answers for a domain, before you publish them or when mail to the domain bounces or never arrives. Send the MX records you got (preference and exchange host) and, optionally, the hosts that have an A or AAAA address answer, and the domain. Get back the order senders will try the hosts in (lowest preference first, equal preferences shared), whether it is a valid null MX (RFC 7505: the domain accepts no mail), and each problem with its RFC: duplicate records, the same host at two preferences, a null MX mixed with other records, an exchange that is an IP address or not a valid host name, and hosts with no address. No DNS query is made: you send the answers. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/mx-record-check). Not legal, tax or financial advice.

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": {
      "records": "<records>"
    },
    "name": "mx_record_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoOptional: the domain the MX records are for (used to describe the case of no MX records).
recordsYesThe MX answers (up to 200). An empty list means the domain has no MX records.
address_hostsNoOptional: the host names that returned at least one A or AAAA address when you looked them up. Send it to find MX hosts with no address; leave it out and that check is not done.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare read-only, idempotent, closed-world, non-destructive; the description goes well beyond that by disclosing that nothing is stored, no network or model is used, results are cryptographically signed with a verification URL, and calls are subject to an hourly limit that surfaces as ok=false. It also enumerates failure reasons (bad input, too large, hourly limit), which is real behavioral context an agent needs for retry logic.

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 critical constraint (no DNS query, you supply the answers) and the inputs are front-loaded, and the enumerated problem list is dense but useful. The trailing boilerplate ("Free", the signature URL, "Not legal, tax or financial advice") pads a single-sentence-style definition into a long paragraph without adding selection value.

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 must carry the return shape, and it does list the answer fields (ok, verdict, result, rule, does_not, sources, observation, signature, verify) plus the error contract. It only names those fields without explaining what each contains, so an agent knows the envelope but not the payload semantics. For a pure-function validator of this complexity that is adequate but not exhaustive.

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 coverage is 100%, so the baseline is 3; the description earns above that by explaining the ordering semantics (lowest preference first, equal preferences shared) and by spelling out the conditional behavior of address_hosts ("leave it out and that check is not done"). The only gap is that it does not restate the 200-record cap or the '.' null-MX convention, which live only in the 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?

The opening sentence gives a specific verb and resource ("Check the MX answers for a domain") and the title pins the standard (RFC 5321 / RFC 7505), which separates it cleanly from the dkim/dmarc/spf sibling checks. It also names the exact inputs it evaluates and the exact outputs it produces (try order, null MX validity, per-problem RFC citations), so an agent knows what it gets without opening the schema.

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 states concrete trigger conditions ("before you publish them or when mail to the domain bounces or never arrives") and a crucial precondition: "No DNS query is made: you send the answers." That prevents the most likely misuse of expecting a live lookup. It does not, however, name an alternative sibling (e.g. domain_health_check) for an agent that actually wants a live query, so guidance stops short of explicit routing.

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