Skip to main content
Glama
OrtaMarco

domain-security-mcp-server

by OrtaMarco

MX Lookup

mx_lookup
Read-onlyIdempotent

Identify a domain's mail servers and their IPs by querying MX records, revealing email delivery infrastructure.

Instructions

Look up a domain's mail servers (MX records) with priority and the IPs they resolve to.

Args:

  • domain (string): the domain to query.

  • response_format ('markdown' | 'json'): output format (default 'markdown').

Returns: array of { exchange, priority, ips[] }.

Example: "What are the mail servers for github.com?" -> mx_lookup(domain="github.com").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain to query, e.g. 'example.com'.
response_formatNoOutput format: 'markdown' for a human-readable summary (default) or 'json' for the full structured payload.markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYes
recordsYes
Behavior4/5

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

Annotations already indicate the tool is read-only, idempotent, and non-destructive. The description adds value by detailing the return structure (array of exchange, priority, ips) and the IP resolution behavior, which goes beyond the 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 extremely concise and front-loaded with the purpose. The parameter docs, return type, and example are all compact and well-structured, with no unnecessary information.

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?

Given the output schema exists, the description's summary of return values is sufficient. The tool is simple (2 params, 1 required), and the description covers all key aspects: purpose, parameters, return format, and usage example.

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%, so the schema already documents both parameters. The description repeats schema details and adds an example, but does not provide additional semantic meaning beyond what the schema already conveys.

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 clearly states the verb (look up), the resource (domain's mail servers), and adds specifics (priority, IPs). It distinguishes from sibling tools like dns_lookup or spf_check by explicitly focusing on MX records and IP resolution.

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 provides a clear example of when to use the tool ('What are the mail servers for github.com?'), implying the appropriate context. While it doesn't explicitly state when not to use it, the specificity of MX lookup and the example give strong guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OrtaMarco/domain-security-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server