Skip to main content
Glama

Remove static DNS record

remove_dns_host
DestructiveIdempotent

Remove a static DNS record from a Keenetic router by domain name. Address is looked up automatically; dry-run is true by default.

Instructions

Delete a static DNS record ('no ip host '). The address is looked up in the config tree, because the router's removal form needs both the name and the address; pass it explicitly only to disambiguate a name that holds several. dry_run is TRUE by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name to remove
addressNoAddress, only needed if the name has several
dry_runNoDefault true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.9.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false. The description adds genuinely useful context beyond that: dry_run defaults to TRUE (a safety-relevant default) and that the address is resolved from the config tree because the removal form needs both name and address.

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?

Three compact sentences, front-loaded with the operation and command, then the address-resolution rule, then the dry_run default. No filler.

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?

No output schema, but the description covers the mutation semantics, the default-safe dry_run behavior, and the address-resolution rule, which is what an agent needs to invoke it correctly. An explicit note on permanence/reversibility would round it out.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds meaning beyond the schema: it explains why 'address' is optional (auto-lookup, explicit only for disambiguation) and reiterates the dry_run default. This clarifies intent the terse schema descriptions do not.

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 ('Delete a static DNS record') and even gives the underlying router command ('no ip host <domain> <address>'). This clearly distinguishes it from set_dns_host, remove_dhcp_host, and remove_keendns_mapping.

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

Usage Guidelines4/5

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

Explains the key usage condition: the address is looked up automatically and should only be passed explicitly to disambiguate a name with multiple addresses. No explicit when-not or named alternative, but the operational context is clear.

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