Skip to main content
Glama

vyos_configure_interface

Apply multiple interface settings in a single atomic commit so interdependent fields validate correctly, with optional save. Use it to configure addresses, MTU, VNI, and peer options at once.

Instructions

Configure an interface with a set of leaf settings in one commit.

All settings are applied together, so interdependent fields validate correctly.

Args: type: Interface type, e.g. "ethernet", "bridge", "bonding", "vxlan", "wireguard", "tunnel", "dummy", "loopback". name: Interface name, e.g. "eth1", "br0", "wg0". settings: Map of setting path (relative to the interface) to value. The key may be space-separated for nested nodes. Examples: {"address": "192.0.2.1/24", "mtu": "1500"} {"vni": "100", "remote": "203.0.113.9", "source-address": "198.51.100.1"} {"private-key": "...", "peer WG0 allowed-ips": "0.0.0.0/0"} A value of null/empty creates a valueless node. description: Optional interface description. 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": {
      "type": "<type>",
      "name": "<name>",
      "settings": "<settings>"
    },
    "name": "vyos_configure_interface"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
saveNo
typeYes
settingsYes
descriptionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses atomic commit behavior and that 'save' persists after commit (default False), implying changes otherwise live in running config only. It does not say whether 'settings' merges with or replaces existing interface config, nor what happens on validation failure, which are the highest-risk unknowns for a mutation tool.

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 behavioral claim is front-loaded in the first two sentences, then Args are listed in a scannable block. The examples earn their space by encoding non-obvious nested-key syntax, though the type/name example lists are slightly longer than strictly necessary.

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?

An output schema exists, so return values need no explanation, and the nested settings object is well covered by worked examples. For a 5-parameter, 3-required mutation tool with no annotations, the only material omission is merge-vs-replace and error behavior on invalid interdependent fields.

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 description compensates well: it documents all five parameters, gives concrete interface-type and name examples, and explains the nested key syntax (space-separated paths) with three illustrative settings maps plus null/empty valueless-node semantics. The gap is that it never states whether the settings map is additive or destructive to existing nodes.

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 opens with a specific verb+resource ('Configure an interface') and adds the distinguishing scope 'with a set of leaf settings in one commit', which separates it from a single-setting sibling like vyos_set_interface_address. It does not name any sibling explicitly, so it stops short of a 5.

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?

Usage is implied by 'in one commit' and 'All settings are applied together, so interdependent fields validate correctly', which tells the agent this is the multi-field atomic path. There is no explicit when-not or pointer to alternatives such as vyos_configure_batch or vyos_set_interface_address, leaving the agent to infer routing.

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