Skip to main content
Glama
gxxHuang
by gxxHuang

Get Dns Config

get_dns_config
Read-only

Retrieves DNS service configuration from an iKuai router, including DNS cache and multi-line DNS settings, to help audit or troubleshoot DNS behavior.

Instructions

获取 DNS 服务配置(含 DNS 缓存/多线路 DNS)

实测:dns 只认 TYPE=all。

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read. The description adds some useful scope context (it returns DNS cache and multi-line DNS data) but does not disclose query quirks, freshness, or sensitivity of the returned config beyond that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the description is short. The second line is an opaque reverse-engineering artifact that lacks context and does not earn its place for a general-purpose agent.

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 readOnlyHint covers the safety profile; zero params means nothing further is required on input. The definition is essentially complete, aside from the uninterpretable TYPE note.

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?

The schema exposes zero parameters, so per the rule the baseline is 4. However the description injects a parameter-like constraint ('dns only accepts TYPE=all') that maps to nothing in the schema, which is more likely to mislead than inform, so it is docked one point.

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?

Names a specific verb and resource (get the DNS service configuration) and scopes the content to DNS cache / multi-line DNS. It is distinguishable from the write sibling set_dns_config, but it does not explicitly address the sibling get_multi_line_dns, whose domain it partially claims.

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 statement of when to use this tool versus get_multi_line_dns, get_dynamic_dns_config or get_ddns_config, and no prerequisites. The only guidance-like text is the cryptic 'dns only accepts TYPE=all' note, which does not help an agent decide when to call it.

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