Skip to main content
Glama

tempmo

Email DNS lookup

dns_lookup
Read-only

Look up and validate a domain's email DNS: MX servers, SPF (with include tree and lookup count), DMARC policy, or DKIM key (by selector, or scan common selectors).

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>",
      "type": "<type>"
    },
    "name": "dns_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
domainYesDomain, email address or URL.
selectorNoDKIM selector (optional; omit to scan common ones).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and external-network profile is covered. The description adds genuine context beyond that: SPF results include the include tree and lookup count, and DKIM falls back to scanning common selectors when no selector is given — behavior an agent would otherwise have to discover empirically.

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 sentence that front-loads the verb and resource, then enumerates modes in a parenthesized structure that mirrors the four enum values. No filler, no restatement of the title.

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 three-parameter, read-only lookup with no output schema, the description covers what is queried and enough shape (include tree, lookup count, scanned selectors) to anticipate the response. It stops short of covering edge behavior such as domains with no records or partial failures, which would be the remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, so the description is expected to compensate somewhat. It does — each type value is tied to a concrete result (MX servers, SPF include tree, DMARC policy, DKIM key), and the selector parameter's omit-to-scan semantics are restated in functional terms rather than just as an optional field.

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?

Specific verb ("look up and validate") plus a precise resource (a domain's email DNS), with the four modes named explicitly — MX, SPF, DMARC, DKIM — which map directly onto the type enum. Siblings in the catalog are inbox/message tools, so the DNS scope makes this 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 by the enumerated record types: an agent can infer this is the tool for verifying a domain's mail authentication setup. However, there is no explicit when-to-use framing, no statement of when this is the wrong choice, and no pointer to related siblings such as check_email or analyze_email_headers for message-level problems.

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