Skip to main content
Glama
B2B, DeFi & Security Intelligence MCP Server

B2B, DeFi & Security Intelligence MCP Server

domain_security_dns

Read-onlyIdempotent

Audit a domain's DNS, MX, SPF, and DMARC records to assess email security, phishing defenses, and infrastructure risk with a 0–100 score.

Instructions

Domain DNS, Email Security (SPF/DMARC/MX) & Infrastructure Audit API — Live domain infrastructure & phishing-defense audit via Cloudflare DoH: IPv4 A records, MX mail hosts, SPF & DMARC policy enforcement grade (A-D), and 0-100 email security score for B2B KYB & SecOps agents. (x402 price: $0.01 USDC on Base)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "domain_security_dns"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoTarget domain name (e.g. github.com, stripe.com, coinbase.com)github.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

B3.4/5.0
Behavior3/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 does add real behavioral context beyond that: the data source is live Cloudflare DoH, results are graded (A-D and 0-100), and each call costs $0.01 USDC on Base via x402, which is important for agent budgeting. It does not cover failure modes for domains with no SPF/DMARC records or rate/latency behavior, so this sits at a solid but not rich 3.

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

Conciseness3/5

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

Purpose and outputs are front-loaded, which is good, but the single em-dash-chained sentence crams in marketing framing ('phishing-defense audit', 'for B2B KYB & SecOps agents') alongside the genuinely useful x402 price. It is readable but would be tighter as two sentences separating capabilities from the payment note.

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 one-parameter, read-only audit tool with rich annotations and no output schema, the description supplies the necessary picture: what is inspected, what the grades/scores mean at a high level, and that the call is paid. Only minor gaps remain, such as what is returned when SPF/DMARC are absent from a domain.

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?

There is a single parameter with 100% schema description coverage, including example values (github.com, stripe.com, coinbase.com), so the schema does the work. The description adds no additional meaning about the domain parameter — no normalization rules, TLD handling, or behavior for subdomains/invalid input — which is the baseline-3 outcome for a fully documented single-param schema.

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 names specific outputs (IPv4 A records, MX hosts, SPF/DMARC grade A-D, 0-100 email score) and the mechanism (Cloudflare DoH), so the agent knows exactly what this audits and that it differs in resource from token_security_audit. It stops short of a 5 because it never explicitly routes the agent away from the sibling security tools; the domain-vs-token distinction is left implicit.

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 only implied through the stated audience ('B2B KYB & SecOps agents') and the phrases 'phishing-defense audit' and 'infrastructure audit'. There is no explicit when-to-use condition, no when-not-to-use, and no named alternative for pre-transaction token or contract risk checks.

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