SPF Generator
spf_generateGenerate SPF DNS records for domains to authenticate email senders and prevent spoofing. Specify your domain, email provider, and security policy to create ready-to-deploy DNS configurations.
Instructions
Generate an SPF DNS record for a domain based on the email provider being used. Returns the record name, value, and type ready to be added to DNS.
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_name": "<domain_name>",
"provider": "<provider>",
"hard_fail_boolean": "<hard_fail_boolean>"
},
"name": "spf_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_name | Yes | The domain to generate an SPF record for, e.g. example.com | |
| provider | Yes | The mail provider identifier, e.g. google, mailgun, sendgrid, postmark, amazon-ses | |
| hard_fail_boolean | Yes | If true, uses strict -all policy (reject unauthorized senders). If false, uses soft ~all (mark but deliver). |