Skip to main content
Glama

The Network Tools

Sender Policy Framework (SPF) Check

spf_check
Read-only

Inspect domain Sender Policy Framework (SPF) TXT records, parsed mechanisms, include counts, and RFC 7208 lookup limits.

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": "<domain>"
    },
    "name": "spf_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesTarget domain name (e.g. "cloudflare.com")

Output Schema

NameRequiredDescriptionDefault
dataYesStructured observation details
sourceYesUpstream authoritative data source or resolver queried
summaryYesConcise text summary of the network observation
observedAtYesISO 8601 UTC timestamp of the observation
limitationsYesHonest protocol and execution limitations
verificationUrlYesCanonical thenetworktools.com tool URL for manual verification

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare a read-only, open-world, non-destructive operation, so the safety profile is covered. The description adds meaningful scope detail that the annotations cannot convey: it parses mechanisms, counts includes, and reports RFC 7208 lookup-limit exposure. It still says nothing about failure behavior (no SPF record, DNS timeout) or how missing records are represented.

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?

A single front-loaded sentence with no filler; every clause contributes a distinct capability (records, parsing, include counts, lookup limits).

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?

A one-parameter read-only tool with an output schema and complete annotation coverage needs little description, and this covers the analytical depth offered. Only the handling of absent or malformed SPF records is left unspecified.

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?

Only one parameter, fully documented in the schema with an example domain. The description adds no syntax guidance beyond the schema, such as whether subdomains or IDNs are accepted, so the baseline 3 applies.

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

Purpose4/5

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

Specific verb ('Inspect') plus a precise resource (SPF TXT records), and it names the artifacts returned (parsed mechanisms, include counts, RFC 7208 lookup limits), which clearly separates it from a generic DNS query. It stops short of naming a sibling such as dns_lookup or dmarc_check, so differentiation is only implicit.

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

Usage Guidelines2/5

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

There is no explicit statement of when to use this tool versus dns_lookup, dmarc_check, or mx_lookup, and no exclusions or prerequisites. An agent must infer from the phrase 'SPF TXT records' that this is the SPF-specific diagnostic, with no confirmation.

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.

Resources