MX lookup
mxLook up Mail Exchange (MX) records for a domain, verify A/AAAA resolution and PTR reverse DNS, and identify the mail provider. domain strips URL parts/trailing dots (no IPs); checks CNAME violations and up to 2 IPs per MX host for PTR records. Use for mail-routing diagnostics instead of raw dns_lookup, not full deliverability scoring (email_score). Null MX ("0 .") returns info, non-mail subdomains pass (noMail=true), and missing MX on mail domains returns a fail finding. Requires middle.network auth; uses 2 daily quota units.
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": "mx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | A domain name, such as example.com. A URL is accepted and its host name is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ISO-8601 UTC timestamp when the result was generated. | |
| ms | No | Elapsed execution time in milliseconds. | |
| data | Yes | Tool-specific structured payload (records, timings, parsed fields, or scores). | |
| tool | Yes | Catalog tool identifier. | |
| share | No | Optional shareable report link metadata. | |
| status | Yes | Overall diagnostic verdict (worst finding wins; no findings = pass). | |
| target | Yes | Normalised domain, IP, or input target. | |
| limited | No | Optional list of upstream data sources that were rate-limited or unavailable. | |
| summary | Yes | Plain-English and technical one-line summaries. | |
| findings | Yes | Ordered diagnostic findings with severity and actionable fixes. |