Skip to main content
Glama

The Network Tools

Mail Exchange (MX) Lookup

mx_lookup
Read-only

Query designated mail exchange (MX) servers, priority ranking, and target IP addresses for an email domain.

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

Input Schema

NameRequiredDescriptionDefault
domainYesTarget email domain name (e.g. "stripe.com")

Output Schema

NameRequiredDescriptionDefault
dataYesStructured observation details
sourceYesUpstream authoritative data source or resolver queried
summaryYesConcise text summary of the network observation
observedAtYesISO 8601 UTC timestamp of the observation
limitationsYesHonest protocol and execution limitations
verificationUrlYesCanonical thenetworktools.com tool URL for manual verification

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The readOnlyHint/openWorldHint/destructiveHint annotations already establish the safety and network-access profile, so the description's marginal contribution is limited to listing what is returned (servers, priority, target IPs). It does not disclose failure behavior, e.g. what happens for a domain with no MX records or how NXDOMAIN is surfaced.

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?

One front-loaded sentence with no filler, and the returned fields are enumerated in the order an agent would care about them. Slightly list-like but efficient.

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 lookup with a rich annotation set and an existing output schema, the description covers the essential purpose and the shape of the result. Only the routing-versus-siblings guidance is missing.

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?

With a single parameter at 100% schema description coverage (including a 'stripe.com' example), the schema already carries the semantics. The description only reiterates that the input is an email domain, adding no format or normalization detail beyond the 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 states a specific verb ('Query') and resource ('designated mail exchange (MX) servers') plus the domain scoping, so an agent knows exactly what the tool retrieves. It never names dns_lookup or the other siblings, so differentiation relies on the agent knowing that MX records are a subset of DNS.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of dns_lookup as the general alternative for non-MX record types. 'For an email domain' hints at the mail-routing use case but leaves the choice between this and dns_lookup to inference.

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