Skip to main content
Glama

vyos_set_name_server

Replaces the configured DNS resolver list on a VyOS router with specified name server IP addresses; optionally persist the changes after commit.

Instructions

Set system DNS name servers (replacing the configured list).

Args: name_servers: List of resolver IP addresses. save: Persist after commit (default False).

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_servers": "<name_servers>"
    },
    "name": "vyos_set_name_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo
name_serversYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full load and does disclose two important traits: the existing server list is overwritten, and persistence requires 'save' (default False), implying changes are otherwise transient. It stops short of describing the commit/confirm lifecycle implied by the vyos_confirm_commit sibling, error behavior on invalid addresses, or whether the change applies immediately.

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?

The key semantic fact — replacement rather than addition — is front-loaded in the first sentence, and the Args block is compact with no filler. The Args section partially restates schema titles, but it adds meaning (replace semantics, default value) rather than merely echoing them.

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?

The tool is simple (two parameters) and an output schema exists, so return values need no explanation. What is still missing for a mutation tool with zero annotation coverage is the operational context: whether a separate commit/confirm step is required, whether the change is immediately live, and what happens to the prior list on failure.

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 description coverage is 0%, so the description must compensate, and it largely does: 'name_servers' is explained as a list of resolver IP addresses (and that it replaces the current list), and 'save' is explained as persist-after-commit with its default. It does not state accepted address formats (IPv4/IPv6), list-size limits, or ordering behavior, which leaves a small gap.

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 gives a specific verb and resource ('Set system DNS name servers') and adds a scope qualifier that matters operationally: '(replacing the configured list)'. It does not explicitly contrast itself with generic siblings like vyos_set or with vyos_configure_dns_forwarding, so the differentiation is implicit rather than stated.

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?

The parenthetical 'replacing the configured list' is a genuine usage warning: an agent learns this is destructive-replace semantics rather than append, which prevents a common mistake. However, there is no explicit when-to-use guidance versus vyos_set, vyos_configure_dns_forwarding, or vyos_dns_lookup, and no prerequisites (commit workflow, permissions) are stated.

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