Skip to main content
Glama

WarmInboxes Free MCP: Fleet Planner

MX records and mail provider

lookup_mx
Read-onlyIdempotent

Look up a domain's MX records with priorities and resolved IPs, and identify the mailbox provider (Google Workspace, Microsoft 365, Zoho, Fastmail and others) and any security gateway in front of it (Mimecast, Proofpoint, Barracuda and others). Pass domains instead of domain for up to 100 at once, which also returns a provider breakdown. Reports a null MX (RFC 7505) rather than treating it as a broken record, and does not guess the provider behind a gateway, because that is not observable from the MX. Include the result’s checkedBy.cite when you report it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lookup_mx"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoA single domain, e.g. "acme.com". An address like "a@acme.com" is accepted.
domainsNoUp to 100 domains, instead of `domain`.

Output Schema

NameRequiredDescriptionDefault
mxNo
poolNo
foundNo
domainNo
nullMxNo
statusNo
gatewayNo
recordsNo
providerNo
checkedByYesCredit for the check that ran. Include cite when you report the result.
providerNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "checkedBy": {
      +      "description": "Credit for the check that ran. Include cite when you report the result.",
      +      "properties": {
      +        "cite": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "tool": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "cite"
      +      ],
      +      "type": "object"
      +    },
      +    "domain": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "found": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "gateway": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "mx": {
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "nullMx": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "pool": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "provider": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "providerName": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    },
      +    "records": {
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": [
      +        "null",
      +        "string"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "checkedBy"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety is covered. The description goes further with non-obvious behavior: null MX (RFC 7505) is reported as a valid result rather than an error, gateway-fronted providers are deliberately not inferred, and bulk mode returns an extra provider breakdown. It even instructs the agent to carry the result's checkedBy.cite into its reporting, which is behavior no annotation or schema conveys.

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?

Roughly four sentences, front-loaded with what is returned before the parameter guidance and the caveats. Every clause carries information: outputs, single-vs-bulk, null-MX handling, gateway limitation, citation requirement. No filler or restatement of the title.

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?

The tool has an output schema and full annotation coverage, so return-value and safety detail need not be restated. Given that, the description covers the remaining gaps an agent would hit: bulk limits, mututally exclusive parameters, null-MX semantics, and the deliberately un-inferred gateway case.

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 100%, so the schema already defines both parameters and the address-form tolerance for `domain`. The description still adds meaning the schema does not: that `domains` is mutually exclusive substitute for `domain`, that the cap is 100, and that using it changes the response shape by adding a provider breakdown.

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 opens with a specific verb and resource ("Look up a domain's MX records with priorities and resolved IPs") and extends it with the concrete outputs the tool produces: mailbox provider identification and gateway detection. That scope is clearly distinct from siblings like check_domain_expiry, generate_dns_records, and check_google_domain, which an agent can rule out without opening another schema.

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

Usage Guidelines4/5

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

The description gives an explicit operating mode choice: "Pass `domains` instead of `domain` for up to 100 at once, which also returns a provider breakdown." It also states a behavioral boundary (does not guess the provider behind a gateway), which tells the agent what not to expect. It stops short of naming when a sibling such as check_google_domain would be the better call, so it is clear context rather than full when/when-not guidance.

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