Skip to main content
Glama

Look up MX mail servers and email providers

lookup_mx_mail_servers
Read-onlyIdempotent

Retrieve priority-sorted MX records for a domain and identify common email providers (Google Workspace, Microsoft 365, Cloudflare, Proofpoint, Mimecast).

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

Input Schema

NameRequiredDescriptionDefault
domainYesDomain to inspect (e.g. "cloudflare.com").
resolverNoDoH resolver (default "cloudflare").

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 real value beyond that by disclosing that results are priority-sorted and that provider fingerprinting (Google Workspace, Microsoft 365, Cloudflare, Proofpoint, Mimecast) is performed on the output. It does not say what happens when a domain has no MX records, which keeps it from 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.

Conciseness5/5

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

A single front-loaded sentence with the primary action first and the value-added provider identification second. No filler, no repetition of the title or annotations.

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?

The tool is simple (two parameters, rich annotations, no output schema) and the description conveys both what comes back and an extra derived signal. Only the empty/no-MX case is unaddressed, a minor gap for a definition of this complexity.

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 coverage is 100% with both parameters fully documented and the resolver enum constrained, so the schema carries the parameter burden. The description only implies the domain input and says nothing about the resolver choice or its default, so it adds nothing beyond the schema and the baseline 3 applies.

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?

States a specific verb and resource ('Retrieve priority-sorted MX records') plus a secondary capability ('identify common email providers'), which is concrete enough that an agent can separate it from TXT/SPF/DNSSEC lookups without opening the schema. It stops short of naming a sibling or explicitly contrasting its scope, so it lands at 4 rather than 5.

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: the tool is for inspecting a domain's mail routing, and the mention of named providers hints at the mail-infrastructure investigation context. There is no explicit when-to-use versus check_spf_dmarc_email_auth or resolve_dns_record, and no stated preconditions or exclusions.

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.