SPF Generator
spf_generateUse this when the user needs a new SPF record for their email provider. Returns a TXT record ready to publish, or explains what to set up instead when the provider does not need a root SPF include. mailX does not publish it.
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 |
|---|---|---|---|
| provider | Yes | Email provider identifier. Google Workspace or Gmail = google. Microsoft 365, Office 365 or Outlook = microsoft. Amazon SES = amazon-ses. Common provider names are also accepted. | |
| domain_name | Yes | The domain to generate an SPF record for, e.g. example.com | |
| hard_fail_boolean | Yes | If true, uses strict -all policy (reject unauthorized senders). If false, uses soft ~all (mark but deliver). |