Skip to main content
Glama

Get Mx Records

get_mx_records
Read-onlyIdempotent

Mail exchanger records for a domain.

Returns the MX hosts in priority order and whether any exist. A domain with no MX records cannot receive mail, so sending to it will bounce. Use when you only need deliverability and not spoofing posture; use check_email_domain for the full picture.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain to check, e.g. "example.com". A full email address is accepted and the domain is taken from it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
foundNoWhether any MX record exists.
hostsNoMX hosts, lowest priority first.
domainYes
can_receive_mailNo

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is clear. The description adds useful behavioral context beyond the annotations: it returns records in priority order, indicates whether any MX records exist, and explains the real-world consequence of no records (mail bounces). No contradiction with annotations.

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?

The description is tightly packed into three sentences with no filler: the core behavior, a key consequence, and routing guidance. It front-loads the primary purpose and stays well within a readable size.

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?

With an output schema available, the description does not need to explain return values in detail. It already mentions ordering and existence, adds the bounce implication, and points to the alternative for broader checks. For a single-parameter read-only tool, nothing essential 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?

The input schema fully documents the only parameter, 'domain', including an example and the note that an email address is accepted. The description itself adds no parameters, but that is acceptable because the schema coverage is 100%, so the baseline 3 applies.

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?

The description uses a specific verb-object pair: 'Returns the MX hosts in priority order and whether any exist.' It clearly identifies the resource (mail exchanger records for a domain) and distinguishes itself from check_email_domain by stating it covers deliverability rather than spoofing posture.

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?

The description explicitly tells the agent when to use this tool ('Use when you only need deliverability') and when to consider the alternative ('use check_email_domain for the full picture'). This is direct, actionable guidance that resolves routing ambiguity.

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.

TDQS

A4.3/5.0
Disambiguation4/5

check_email_domain is the comprehensive composite, while get_dmarc_record, get_mx_records, and get_spf_record target distinct record types. However, check_email_domain overlaps somewhat with each of the single-record tools, though the descriptions clearly state when to use each.

Naming Consistency4/5

Three tools follow the get_<record>_records pattern, and one uses check_<noun>_domain. The verbs are consistent (check/get) and the object is always a domain-related resource, making the naming clear. The slight variation in verb (check vs get) is minor and justified by the composite nature.

Tool Count5/5

Four tools cover the domain email checking domain well: a composite plus the three constituent lookups. This is a tight, purposeful set without redundancy or bloat, appropriate for a focused MCP server.

Completeness4/5

The set covers MX, SPF, DMARC, and a combined check, which is comprehensive for email posture. There is no tool for DKIM or other email authentication records, but DKIM is less commonly checked and the existing tools provide a thorough overview. Missing a tool to check for other SPF-like mechanisms (e.g., TXT related) is minor.

Resources