Skip to main content
Glama

Dns Query

dns_query

Query DNS records for a hostname to verify domain configuration or troubleshoot resolution. Choose record types including A, AAAA, MX, CNAME, TXT, NS, and SOA.

Instructions

Query DNS records for a hostname.

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": {
      "host": "<host>"
    },
    "name": "dns_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesThe hostname to query (e.g., 'example.com')
typeNoThe DNS record type to query (default: 'A'). Supported types: A, AAAA, MX, CNAME, TXT, NS, SOAA

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it discloses nothing beyond purpose. It does not say whether the lookup is read-only (inferable but unstated), what happens on NXDOMAIN or invalid record types, whether queries are rate-limited or require auth, or whether results are cached. With no annotations at all, this is a notable gap.

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?

A single short sentence that front-loads the action and resource with zero redundant wording. Nothing in it could be trimmed without losing information.

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

Completeness3/5

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

The tool is simple (2 params, one required), the schema fully documents both parameters, and an output schema exists so return values need not be explained. However, with zero annotation coverage, the description should say more about behavior on failure and record-type support limits to be fully complete.

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%, and the schema already documents both `host` (with an example) and `type` (with the supported enumeration and default of A). The description adds no meaning beyond that, so the baseline of 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?

The description states a specific verb and resource ("Query DNS records") plus the target ("for a hostname"), so an agent knows exactly what the tool does. No sibling tools exist, so there is nothing to differentiate against, but the phrasing is otherwise precise and non-tautological.

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

Usage Guidelines3/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, no prerequisites, and no alternatives named. Usage is only implied by the nature of the operation, which is adequate for a simple read-only lookup but leaves the agent to infer everything.

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

Deploy Server

Other Tools