tinplate_email_dns_generator
SPF, DKIM & DMARC Record Linter & Generator API: Lint existing SPF/DMARC strings and generate clean, RFC-formatted DNS TXT records. (Endpoint: POST /v1/email-dns-generator)
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": "tinplate_email_dns_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip4 | No | Authorized IPv4 addresses or CIDR blocks (`ip4:...`, max 50) for the SPF record. | |
| ip6 | No | Authorized IPv6 addresses or CIDR blocks (`ip6:...`, max 50) for the SPF record. | |
| aspf | No | SPF alignment mode (`aspf=`): `s` (strict) or `r` (relaxed). | s |
| adkim | No | DKIM alignment mode (`adkim=`): `s` (strict) or `r` (relaxed). | s |
| domain | Yes | Target email domain. | |
| allow_a | No | When true, includes the domain's `a` mechanism (+1 DNS lookup) in the generated SPF record. | |
| allow_mx | No | When true, includes the domain's `mx` mechanism (+1 DNS lookup) in the generated SPF record. | |
| dmarc_pct | No | Percentage of failing messages (`pct=`, 1–100) subject to the DMARC policy (default 100). | |
| providers | No | Known ESPs whose official SPF includes should be added. | |
| rua_emails | No | Aggregate DMARC/TLS-RPT report recipient emails (`rua=mailto:...`, max 10; defaults to `dmarc-reports@<domain>`). | |
| ruf_emails | No | Optional forensic DMARC failure report recipient emails (`ruf=mailto:...`, max 10). | |
| spf_policy | No | Terminal SPF policy qualifier: `hardfail` (`-all`), `softfail` (`~all`), or `neutral` (`?all`). | hardfail |
| dmarc_policy | No | Primary DMARC policy (`p=`): `none`, `quarantine`, or `reject`. | reject |
| existing_spf | No | Optional existing SPF TXT record to lint for RFC 7208 errors. | |
| existing_dmarc | No | Optional existing DMARC TXT record to lint for RFC 7489 errors. | |
| custom_includes | No | Additional custom SPF `include:` domains (max 20; each adds ~2 estimated DNS lookups). | |
| dmarc_subdomain_policy | No | Optional DMARC subdomain policy (`sp=`); inherits `dmarc_policy` when omitted. |