Skip to main content
Glama

fritz_dns

Read-only

Diagnose why a host name does or does not resolve by comparing router DNS answers, local resolver results, search domains, and host table, then return a verdict and likely cause.

Instructions

Explains why a host name does or does not resolve. Gathers the local domain, the DNS servers and the host table the router hands out, the answers of the router's DNS server and of this machine's resolver, and this machine's resolvers and search domains, and returns them with a verdict and the likely cause. Sends DNS queries for this name only, which this machine's resolver may forward to the internet; changes nothing. Use it when a name fails or points to the wrong address; for whether a host is reachable use fritz_diagnose.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe host name to check, fully qualified or short, like `nas.fritz.box` or `nas`.
router_dnsNoThe DNS server asked as the router, like `192.168.178.1`. Default: the LAN address of the device.
expected_ipNoThe address the answers should have, like `192.168.178.20`; the verdict then says whether they match.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • changedInput schema / properties / expected_ip / description
      Previous value: -"The address the answers should have."New value: +"The address the answers should have, like `192.168.178.20`; the\nverdict then says whether they match."
    • changedInput schema / properties / name / description
      Previous value: -"Like `nas.fritz.box` or `nas`."New value: +"The host name to check, fully qualified or short, like\n`nas.fritz.box` or `nas`."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds meaningful scope: queries are sent for this name only, the resolver may forward them to the internet, and nothing is changed. It also previews the response (verdict plus likely cause). Minor gap: no discussion of timeouts or how long a query may take.

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?

Front-loaded with the purpose, then evidence, then side effects, then routing to the sibling — a sensible order. The middle evidence sentence is bulky and slightly repetitive ('the DNS servers...', 'this machine's resolver...', 'this machine's resolvers and search domains'), costing some crispness.

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

Completeness4/5

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

With only three simple parameters and no output schema, the definition does the necessary work by disclosing the categories of data returned and the presence of a verdict and likely cause. An agent has enough to decide and invoke correctly, though return format details (fields, structure) remain unspecified.

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% with each parameter documented (name, router_dns, expected_ip), so the schema carries the semantics. The description adds little parameter-level detail beyond implying that expected_ip drives the verdict, which is already in the schema.

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?

States a specific verb and resource in the opening line ('Explains why a host name does or does not resolve') and enumerates exactly what evidence it collects. It is clearly distinguishable from a reachability check, which is the nearest sibling concern.

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

Usage Guidelines5/5

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

Explicitly names the trigger ('when a name fails or points to the wrong address') and the exclusion with the alternative named ('for whether a host is reachable use fritz_diagnose'). Nothing is left to inference.

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