Skip to main content
Glama

DNS records & email authentication posture

dns_email_posture
Read-onlyIdempotent

Queries DNS records and evaluates email security posture by checking SPF lookup limits, DMARC, DKIM selectors, MTA-STS, TLS-RPT, BIMI, and mail provider detection for a domain.

Instructions

Query A, AAAA, CNAME, MX, NS, TXT, SOA, and CAA records and evaluate email security (SPF RFC 7208 lookup count, DMARC, optional DKIM selectors, MTA-STS, TLS-RPT, BIMI, and mail provider detection). Zero API keys required.

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

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name to inspect
dkimSelectorsNoOptional list of specific DKIM selectors to probe (<selector>._domainkey.<domain>)
probeCommonDkimNoWhen true and dkimSelectors is omitted, probe common selectors (google, selector1, selector2, default, k1, etc.)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

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, destructiveHint=false and openWorldHint, so safety is covered. The description adds context beyond them: no API keys required (an auth prerequisite worth stating), the RFC 7208 lookup-count evaluation, and the fact that DKIM probing is optional. It does not discuss rate limits or result shape.

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?

Dense and front-loaded — the record types come first, then the evaluation scope, then the auth note. The long parenthetical list is compact but slightly heavy; nothing is truly wasted.

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

Completeness3/5

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

No output schema exists, so the description carries the return-side burden. It lists what gets evaluated, which is genuinely helpful, but says nothing about response structure, how failures or missing records are reported, or what the SPF lookup count means in output.

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 the schema already documents domain, dkimSelectors, and probeCommonDkim. The description's mention of "optional DKIM selectors" is consistent with the schema but adds no syntax or format detail beyond it, which is the baseline 3 case.

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?

Names a specific verb ("Query") and enumerates the exact record types plus the email-security evaluations performed (SPF, DMARC, DKIM, MTA-STS, TLS-RPT, BIMI, provider detection). An agent can distinguish this from sibling tools such as email_passive_check or web_tls_profile without opening a schema.

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 by the described capability — inspect DNS records and email authentication posture — but there is no explicit when-to-use framing, no when-not conditions, and no named alternative among the siblings. Sufficient for an obvious purpose, but the agent must infer selection.

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