SPF check
spfValidate a domain live SPF (v=spf1) TXT record by expanding include/redirect chains against the RFC 7208 10-lookup and 2-void limits. domain strips URL parts/trailing dots (no IPs); expansion caps at depth 10 and 30 lookups, adding a flattened draft when lookups >=6. Use to audit live SPF, not draft records (email_generators with type="spf") or full scoring (email_score). Missing/duplicate SPF returns fail findings (protected non-mail subdomains pass); DNS timeouts return isError=true. 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": "spf"
}
}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. |