flatten_spf

Read-only SPF flattening for a domain. Resolves the full include/a/mx/redirect graph to literal ip4/ip6 addresses and returns a single flattened SPF record that fits under the RFC-7208 10-lookup limit, plus lookup counts before/after, IP count, record length, whether it must be split across multi...

Server Intodns rosconl/intodns-mcp-server
Category Read
Risk class Low
Parameters 00 required

What flatten_spf does on Intodns

AI agents call flatten_spf to retrieve information from Intodns without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why flatten_spf needs a policy

This tool performs DNS resolution and analysis of SPF records to provide informational output (flattened records, lookup counts, IP counts, length metrics). It retrieves and processes existing DNS data without modifying any systems, executing code, or causing side effects. The read-only designation in the description confirms no destructive or write operations occur.

From the tool's definition Tool description explicitly states 'Read-only SPF flattening' and 'Resolves...and returns' indicate data retrieval with no side effects. No create, modify, delete, or execute operations are performed.

Questions about flatten_spf

What does the flatten_spf tool do? +

Read-only SPF flattening for a domain. Resolves the full include/a/mx/redirect graph to literal ip4/ip6 addresses and returns a single flattened SPF record that fits under the RFC-7208 10-lookup limit, plus lookup counts before/after, IP count, record length, whether it must be split across multiple records, and a maintenance warning. Use when a domain hits. It is categorised as a Read tool in the Intodns MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on flatten_spf? +

Register the Intodns MCP server in PolicyLayer and add a rule for flatten_spf: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Intodns. Nothing to install.

What risk level is flatten_spf? +

flatten_spf is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit flatten_spf? +

Yes. Add a rate_limit block to the flatten_spf rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block flatten_spf completely? +

Set action: deny in the PolicyLayer policy for flatten_spf. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides flatten_spf? +

flatten_spf is provided by the Intodns MCP server (rosconl/intodns-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.