Skip to main content
Glama

IntoDNS.ai DNS & Email Security Scanner

check_spf

Read-onlyIdempotent

Read-only SPF parse and validation for a domain. Recursively walks include/redirect mechanisms to build the full lookup graph, counts DNS lookups against the RFC-7208 10-lookup limit, and returns flattening guidance when the count is close to or over the limit. Returns parsed mechanisms, lookup graph, total count, qualifier (~all / -all / +all), and warnings. Use for SPF auditing or before adding new include: senders; use check_email_security for the broader SPF+DKIM+DMARC overview. No auth, no side effects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name only, e.g. example.com (no URL, path, or port)

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

While annotations already declare readOnlyHint=true and destructiveHint=false, the description adds valuable behavioral context beyond that: it recursively traces the entire SPF lookup graph, counts DNS lookups against the RFC-7208 limit, and presents flattening guidance when over the limit. This enriches the agent's understanding of the tool's computational behavior and outputs, though it stops short of detailing exact return structure or pagination. Since annotations already cover safety, a high score is justified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, dense paragraph that front-loads the core purpose ('Read-only SPF parse and validation'), then packs behavioral details (recursive walking, DNS count, RFC limit) and usage guidance in an efficient manner. Every sentence adds value, with no fluff or redundancy. It is appropriately sized for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with only one parameter, a clear schema, and safety annotations, the description covers the essential behavioral aspects: what it does (parsing/validation), what it returns (mechanisms, graph, count, qualifier, warnings), and edge-case behavior (close to/over limit). It does not explicitly mention error cases (e.g., invalid domain syntax), but given the tool's read-only nature and the presence of an output schema-less environment, this is a minor gap. The description is sufficiently complete for an agent to make a confident selection.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides a full description of the single 'domain' parameter, including format constraints (no URL/path/port) and a maximum length. The description adds no new parameter-level information beyond what the schema already captures, but it does contextually imply the parameter is a domain needed for SPF lookup. With 100% schema coverage, the baseline is 3, and the description does not detract from it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool as a read-only SPF parser and validator for a domain, with a specific verb ('parse and validate') and resource ('SPF records of a domain'). It distinguishes itself from sibling tools like check_email_security and flatten_spf by detailing its unique recursive include/redirect walk and DNS lookup counting, making its purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool ('for SPF auditing or before adding new include: senders') and provides a clear alternative ('use check_email_security for the broader SPF+DKIM+DMARC overview'). This gives the agent concrete decision-making guidance, distinguishing it from a generic 'use for SPF' statement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.1/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose, and cross-references between tools (e.g., check_spf vs check_email_security vs check_sender_requirements) explicitly state when to use each one. Overlapping behaviors are carefully delineated (e.g., scan_domain vs get_everything_report vs start_deep_scan) with latency and depth tradeoffs explained. No two tools appear to do the same thing.

Naming Consistency4/5

Nearly all tool names follow a verb_noun snake_case pattern (check_*, generate_*, get_*, create_*, scan_*), with precise verbs matching each action. Minor deviations include 'nis2_quickscan' (no verb) and a few compound names like 'whois_lookup', but these are isolated. The variety of verbs is semantically justified by the broad domain, so the naming is predictable and readable.

Tool Count2/5

At 45 tools, this is far beyond the 16-25 'heavy' range and nearly double the 25 threshold. While the server covers a wide range of DNS, email, and web checks, a 45-tool surface is likely to overwhelm agents and increase selection errors. Many tools could be consolidated (e.g., individual check_* tools into one combined check) without sacrificing clarity.

Completeness5/5

The tool set meticulously covers the domain: DNS (SPF, DKIM, DMARC, DNSSEC, propagation, whois), email security (blacklist, FCrDNS, MTA-STS, SMTP TLS, TLSA, BIMI, raw email analysis, test sessions), web security (headers, CSP, HTTP/3), reporting (PDF, snapshots, badges), and compliance (NIS2, Internet.nl deep scans). There are no obvious gaps for the stated purpose of DNS & email security scanning; every check has a corresponding generator or explainer.