SPF Record Check (RFC 7208)
spf_record_checkCheck an SPF record before you publish it or when mail fails SPF. Send the TXT record text (for example 'v=spf1 include:_spf.example.net mx -all'). Get back every term read the RFC 7208 way (mechanism or modifier, qualifier, what a match returns, target, CIDR length, whether it costs a DNS lookup and whether it is ever evaluated), the DNS-lookup count against the limit of 10, the result when nothing matches, and each problem with its RFC section: syntax errors (permerror), more than 10 lookups, two redirect or exp modifiers, ptr, +all, terms after all, a redirect that all cancels, a missing all, a record too long for one string. The tool makes no DNS query: send the records of include and redirect targets in included_records to count the nested lookups too; any target you do not send is listed and the count is then a minimum. 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/spf-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": {
"record": "<record>"
},
"name": "spf_record_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | The SPF TXT record text, starting with v=spf1 (several strings of one TXT record joined without spaces). | |
| included_records | No | Optional: the SPF records of include: and redirect= targets (and their own targets), so nested lookups are counted. Up to 40. |