Skip to main content
Glama
Infrastructure MCP Server

Infrastructure MCP Server

by berkeleyo

diagnose_dns

Read-onlyIdempotent

Resolve selected DNS record types for an allowlisted public destination to verify configuration and troubleshoot DNS resolution issues.

Instructions

Resolve bounded DNS record types for an allowlisted public destination.

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": {
      "destination": "<destination>"
    },
    "name": "diagnose_dns"
  }
}

Input Schema

NameRequiredDescriptionDefault
destinationYes
record_typesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds one genuinely useful behavioral constraint: only allowlisted public destinations are resolvable, implying private/internal targets will fail. However "bounded" record types is vague and no timeout, error, or lookup-mechanics detail is given.

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 redundant wording. It is arguably compressed to the point of ambiguity ("bounded" is undefined), but structurally it is clean and efficient.

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?

Because an output schema exists, return values need not be explained, and the annotations cover safety. The remaining gap is parameter detail: allowed record type values and destination format are documented in neither schema nor description, which matters for a tool whose enum-free record_types array accepts arbitrary strings.

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 0%, so the description must carry the semantic load, and it does partially: "destination" is constrained to allowlisted public targets, and "record_types" is implied to be a limited set. It never states the accepted record type values (A, AAAA, MX, TXT, etc.) or the expected destination format (hostname vs IP), leaving both parameters under-specified.

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?

States a specific verb ("Resolve") and resource ("DNS record types"), which clearly separates it from diagnose_http and diagnose_tls by protocol layer. It stops short of naming an alternative, but the DNS focus makes the tool's role unambiguous.

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?

No explicit when-to-use or when-not-to-use wording, but the constraint "allowlisted public destination" implicitly scopes the tool to public, allowlisted targets, which is a usable selection signal. Nothing tells the agent when to prefer this over diagnose_http or diagnose_tls for a general connectivity problem.

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