Skip to main content
Glama

get_lan_dns

Read-only

Retrieve the DNS servers a FRITZ!Box provides to LAN clients via DHCP so you can verify network settings and troubleshoot DNS issues.

Instructions

[Stufe: read] DNS-Server, die die FRITZ!Box per DHCP an LAN-Clients verteilt (LANHostConfigManagement:GetDNSServer).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_lan_dns"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxNoName der FRITZ!Box bei Mehrbox-Betrieb (Standard: erste Box, siehe server_status)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds a genuine behavioral distinction — these are the servers advertised over DHCP to LAN clients, not the box's own configured resolvers — but says nothing about empty results when DHCP DNS is unset or how multi-box selection resolves.

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?

One compact sentence with the data scope front-loaded and the technical source appended in parentheses. The '[Stufe: read]' tag and raw node path are slightly meta but do convey the operation class and provenance cheaply.

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 an output schema present, return values need no explanation, and only one optional parameter exists at full schema coverage. The description covers what the data is and where it comes from; only the sibling differentiation and empty-result behavior are left open.

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%: the single optional 'box' parameter is fully documented in the schema, including its default and the pointer to server_status. The description adds nothing about parameters, which is acceptable at this coverage level but is the minimum-viable baseline.

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 names a specific resource — the DNS servers the FRITZ!Box hands to LAN clients via DHCP — and even cites the underlying TR-064 node (LANHostConfigManagement:GetDNSServer). That is far more precise than a restated name, though it does not explicitly contrast itself with the adjacent get_dns_settings tool.

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?

The '[Stufe: read]' prefix signals this is a read-only lookup, but there is no statement of when to pick this over get_dns_settings or any other DNS-related sibling, and no prerequisites or exclusions are given. The agent must infer the choice from the noun 'DHCP-distributed' alone.

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