Look up a domain's mail servers (MX)
lookup_mxLook up where a domain receives email: its MX records, sorted by preference, and the IPv4/IPv6 addresses of each mail server.
Use it to answer "which mail provider does this domain use", "why does
mail to this domain bounce" or "is this domain's MX set up right".
The result is {"domain", "hosts": [{"preference", "host", "addresses", "cname"}], "null_mx", "fallback", "findings": [{"level", "code", "text"}], "grade"}. null_mx true means the domain says it
receives no mail (RFC 7505). An empty hosts with a non-empty
fallback means the domain has no MX record and senders deliver to
those addresses instead. Relay the findings texts to the user: they
say what is wrong and what to change.
Credits: 1 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": {
"domain": "<domain>"
},
"name": "lookup_mx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain, such as example.com. A URL or an email address works too: only its domain is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||