Skip to main content
Glama

BlackVeil DNS & Email Security Scanner

resolve_spf_chain

Read-onlyIdempotent

Trace the full SPF include chain for a domain. Recursively resolves all includes, shows lookup count, tree depth, and flags circular includes or exceeding the 10-lookup limit.

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": "resolve_spf_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYese.g. example.com
formatNocompact: less text
force_refreshNoSkip cache.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Domain, e.g. example.com"New value: +"e.g. example.com"
    • changedInput schema / properties / force_refresh / description
      Previous value: -"Bypass the cache."New value: +"Skip cache."
    • changedInput schema / properties / format / description
      Previous value: -"Output verbosity."New value: +"compact: less text"
  2. Changed3 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Domain to check (e.g., example.com)"New value: +"Domain, e.g. example.com"
    • changedInput schema / properties / force_refresh / description
      Previous value: -"Bypass cache and run a fresh check. Useful after DNS changes."New value: +"Bypass the cache."
    • changedInput schema / properties / format / description
      Previous value: -"Output verbosity. Auto-detected if omitted."New value: +"Output verbosity."
  3. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  4. Changed1 schema field changed
    • addedInput schema / properties / force_refresh
      Added value: +{
      +  "description": "Bypass cache and run a fresh check. Useful after DNS changes.",
      +  "type": "boolean"
      +}
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuine behavioral detail beyond that: it discloses recursion, that results include lookup counts and tree depth, and that it flags circular includes and the 10-lookup limit — useful signals about output and edge-case behavior. It does not state that the tool performs network lookups against open-world DNS, though openWorldHint covers part of that.

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?

Two sentences, no filler, with the recursive/comprehensive nature front-loaded ahead of the reported outputs. Every clause contributes either scope or behavior.

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?

There is no output schema, and the description compensates reasonably by enumerating what the result contains: lookup count, tree depth, and flags for circular includes and limit violations. Combined with annotations covering the safety profile and a fully documented three-parameter schema, an agent has nearly everything needed, though a note on response size or failure behavior (e.g., domain with no SPF record) is absent.

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?

Schema description coverage is 100%, so each of the three parameters is already documented in the schema, including the full/compact enum and the force_refresh cache-skip flag. The description adds no parameter-level detail beyond what the schema provides, which is the expected baseline when the schema does the work.

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?

The description states a specific verb and resource ('Trace the full SPF include chain for a domain') and narrows the scope with 'recursively resolves all includes', which separates it from a plain SPF record check such as check_spf. It never names a sibling explicitly, so an agent must infer that check_spf is the shallow alternative, but the chain-tracing scope is unambiguous.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the tool for deep include-chain analysis because the description mentions lookup count, tree depth, and circular includes. There is no explicit 'use this when... instead of check_spf' guidance, and no note about cost or when a simple check suffices.

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.