Skip to main content
Glama

vyos_configure_dns_forwarding

Configure VyOS DNS forwarding in a single commit by setting listen addresses, allowed clients, upstream name servers, and cache size, with optional persistence.

Instructions

Configure the DNS forwarding service in one commit.

Args: settings: {space-separated path: value} under "service dns forwarding", e.g. {"listen-address": "192.168.0.1", "allow-from": "192.168.0.0/24", "name-server": "1.1.1.1", "cache-size": "10000"}. 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": {
      "settings": "<settings>"
    },
    "name": "vyos_configure_dns_forwarding"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo
settingsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two genuinely useful behaviors: changes are committed atomically in one commit, and "save" persists them afterward, implying non-persisted changes are lost on reboot. It does not say whether the settings map replaces or merges with existing configuration, what happens on partial failures, or whether a commit-confirm acknowledgment is required.

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?

One front-loaded sentence stating purpose and atomicity, followed by a compact Args block with a worked example that is worth its length given the free-form settings object. No redundant restatement of the schema or boilerplate.

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?

An output schema exists, so return values need not be described, and both parameters are explained. However, for a mutation tool with no annotations, the description omits preconditions and merge-vs-replace semantics, which are the main things an agent needs to avoid corrupting an existing DNS forwarding config.

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% and the settings parameter is a free-form nested object, so the description must compensate — and it largely does, explaining that keys are space-separated paths under "service dns forwarding" and illustrating four concrete key/value pairs. The save flag is restated with its default and effect. Only the treatment of deeper multi-token paths and value types remains implicit.

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?

States a specific verb and resource ("Configure the DNS forwarding service") plus a meaningful scope qualifier, "in one commit," which tells the agent the whole settings map is applied atomically. It does not explicitly distinguish itself from the sibling vyos_configure_batch, but the resource noun is distinct enough to route selection.

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 when-to-use guidance: nothing says whether to prefer this over vyos_configure_batch for a multi-node or mixed change, nor whether the agent must be in configure mode or confirm the commit with vyos_confirm_commit. The relationship between the atomic "one commit" behavior and the sibling commit/confirm tools is left entirely to inference.

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