Skip to main content
Glama

IP-API.io

dns_mx

dns_mx
Destructive

Look up MX records for a 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": {
      "api_key": "<api_key>",
      "domain": "<domain>"
    },
    "name": "dns_mx"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name, such as example.com.
api_keyYesip-api.io API key.

Output Schema

NameRequiredDescriptionDefault
domainYes
mx_recordsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior1/5

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

The description says "look up," i.e. a read operation, while the annotations declare readOnlyHint=false, destructiveHint=true, and idempotentHint=false. An agent reading both signals receives contradictory safety information about what should be a harmless read, and the description does nothing to resolve that conflict or disclose behavior (auth, rate limits, edge cases).

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?

A single front-loaded sentence with no filler, which is appropriately terse for a simple lookup. However, the brevity is also under-specification, leaving no room for the usage and safety context an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, but the definition is silent on authentication requirements, expected failure modes, and how it relates to the other DNS tools. Combined with a destructive/readOnly annotation set that clashes with the described read behavior, the definition is not complete enough for confident invocation.

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 description coverage is 100%: the schema already documents both `domain` ("Domain name, such as example.com.") and `api_key` ("ip-api.io API key."). The description adds no detail beyond that, so 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?

"Look up MX records for a domain" states a specific verb (look up) and a specific resource (MX records for a domain), which is enough for an agent to distinguish it from siblings like dns_forward, dns_reverse, or dns_whois. It does not explicitly name those siblings or contrast with them, so it stops short of a 5.

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 guidance on when to use this versus dns_forward/dns_reverse/dns_whois, no mention of prerequisites such as the required api_key, and no note on rate limits or result behavior. An agent must infer usage entirely from the tool name.

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