Skip to main content
Glama

Audit domains (registry, DNS, email)

lw_audit_domains
Read-onlyIdempotent

Audit up to 50 domains for registrar, expiry, transfer locks, nameservers, DNSSEC, email authentication, and DNS health before transfers or onboarding. Returns severity-sorted findings with fixes.

Instructions

Read-only health audit for up to 50 domains using public RDAP and DNS-over-HTTPS. No Liquid Web credentials needed, and it works for domains at any registrar. Per domain: registrar and IANA id (eNom IANA 48 flags a likely Liquid Web registration, Tucows/OpenSRS a likely Nexcess one), expiry and days left, transfer lock and other statuses, 60-day transfer lock risk, registry vs live nameservers and DNS host, DNSSEC state with DS vs DNSKEY key-tag check, SOA, MX and mail provider, SPF (lookup count, +all, duplicates), DMARC policy, CAA, and Microsoft 365 record presence. Returns findings sorted by severity (critical, high, medium, low, info), each with a one-line fix, plus a compact summary row per domain. Use before a transfer, nameserver change or onboarding. Use lw_m365_dns_check or lw_email_auth_check for deeper mail checks. Domain names are sent to the public RDAP service and DNS-over-HTTPS resolvers (Cloudflare by default, Google for comparisons). No Liquid Web credentials are used.

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": {
      "domains": "<domains>"
    },
    "name": "lw_audit_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainsYesDomains to check, up to 50. URLs and trailing dots are cleaned up; duplicates are removed.
verboseNoReturn the full per-domain detail instead of the compact summary rows.
min_severityNoOnly list findings at or above this severity (default info).
include_emailNoRun SPF and DMARC checks (default true). Set false for a faster registry and DNS-only pass.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
statusYes
contextNo
previewNo
summaryYes
warningsNo
next_pageNo
next_stepNo
truncatedNo
expires_atNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds context annotations cannot convey: no credentials required, external data disclosure to public RDAP and DoH resolvers (Cloudflare default, Google for comparisons), and how registrar IANA ids are interpreted (eNom 48 vs Tucows/OpenSRS) to infer Liquid Web vs Nexcess. It stops short of stating rate limits, batching cost, or failure behavior when RDAP is unavailable, which keeps it off a 5.

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

Conciseness4/5

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

Front-loaded with purpose and scope, then a dense per-domain inventory, then usage routing and privacy. The only waste is the duplicated credentials point ('No Liquid Web credentials needed' near the start and 'No Liquid Web credentials are used' at the end), which costs a sentence.

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

Completeness5/5

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

For a four-parameter, fully-described, output-schema-backed read tool, nothing an agent needs to decide or invoke is missing: scope, timing, alternatives, privacy implications, and result shape (severity-sorted findings plus summary rows) are all covered.

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% and each of the four parameters is documented in the schema, so the baseline is 3. The description corroborates the 50-domain cap and implies that email checks are part of the pass (mapping to include_email), but adds no syntax, defaults, or edge-case meaning beyond what the schema already states.

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?

Opens with a specific verb and resource: 'Read-only health audit for up to 50 domains using public RDAP and DNS-over-HTTPS', then enumerates exactly what is checked per domain (registrar/IANA id, expiry, transfer lock, DNSSEC, SPF, DMARC, CAA, M365 records). It is clearly distinguishable from siblings like lw_domain_health_view or lw_dns_lookup by scope and by its explicit pointer to lw_m365_dns_check and lw_email_auth_check.

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?

States explicit timing ('Use before a transfer, nameserver change or onboarding') and names two alternatives with the condition that selects them for deeper mail checks. It also states a scope exclusion that matters for routing: it works for domains at any registrar, not just Liquid Web ones.

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

Deploy Server

Other Tools