SPF Record Check
spf_checkAnalyze a domain's SPF record to detect missing or multiple records, verify the 'all' qualifier, and count DNS lookups against the 10-query limit.
Instructions
Fetch and analyse a domain's SPF record. Detects: missing/multiple records, the trailing 'all' qualifier (+all/?all/~all/-all), and counts DNS-querying terms recursively against the RFC 7208 limit of 10.
Args:
domain (string): the domain to check.
response_format ('markdown' | 'json'): output format (default 'markdown').
Returns: { found, record, multiple_records, all_qualifier, lookup_count, exceeds_lookup_limit, findings[] }.
Example: "Does sendgrid.net's SPF exceed the 10-lookup limit?" -> spf_check(domain="sendgrid.net").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to check, e.g. 'example.com'. | |
| response_format | No | Output format: 'markdown' for a human-readable summary (default) or 'json' for the full structured payload. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| found | Yes | ||
| record | No | ||
| multiple_records | Yes | ||
| all_qualifier | No | ||
| lookup_count | Yes | ||
| exceeds_lookup_limit | Yes | ||
| findings | Yes |