spfguard_analyze_spf
Audit DNS SPF records against the RFC 7208 Section 4.6.4 10-lookup ceiling, optionally resolve live DNS via DoH, and generate flattened CIDR records + RFC 8461 MTA-STS policies.
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": "spfguard_analyze_spf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name to inspect (e.g., 'example.com'). | |
| format | No | Optional output format: 'json' (default) or OASIS 'sarif' v2.1.0. | |
| spf_record | No | Optional raw v=spf1 TXT record string; omit when resolve_live_dns=true. | |
| resolve_live_dns | No | If true, fetch live DNS TXT via Cloudflare DoH before counting lookups. |