SPF record generator
generate_spf_recordBuild a valid SPF TXT record for a domain from the email services it sends with. Returns the DNS host and the TXT value to publish, plus warnings such as nearing the 10-lookup limit. It does not change DNS.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_spf_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | true if the server at the domain's A record sends mail (adds the a mechanism). | |
| mx | No | true if the domain's own mail servers send mail (adds the mx mechanism). | |
| ip4 | No | IPv4 addresses or ranges that send for the domain, e.g. 203.0.113.7 or 203.0.113.0/24. | |
| ip6 | No | IPv6 addresses or CIDR ranges of your own mail servers, e.g. 2001:db8::1 or 2001:db8::/32. Find them in your server or hosting settings. Leave out if you only send through a provider. | |
| strict | No | true = -all (hard fail), false = ~all (soft fail, the safer default). | |
| includes | No | Other include: domains, e.g. sendgrid.net, mailgun.org. | |
| providers | No | The mailbox providers the domain sends from; each adds that provider's include. google = Google Workspace, microsoft = Microsoft 365, zoho = Zoho Mail, zoho-eu = Zoho Mail (EU data center). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Where to publish it: the DNS name (host) of the TXT record. | |
| type | Yes | ||
| value | Yes | The record value to paste into DNS. | |
| toolUrl | Yes | The same check as a free web tool on pipefire.ai. | |
| warnings | Yes | Things to check before publishing, such as nearing the SPF 10-lookup limit. Empty when there are none. |