SPF/DMARC Record Validator
validateValidate the SYNTAX of an SPF or DMARC record string (no DNS lookup) — returns valid/invalid, a score, a letter grade, and a parsed breakdown. Use when the user pastes an SPF/DMARC record and asks "is this correct?".
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": "validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Record type. Default auto-detect. | |
| record | Yes | The raw SPF or DMARC record to validate, e.g. "v=spf1 include:_spf.google.com ~all". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Clean machine values (DNS/WHOIS tools). | |
| usage | No | ||
| result | No | Raw engine data. | |
| source | Yes | Deep link on dnsai.com. | |
| summary | Yes |