Skip to main content
Glama

vyos_set_interface_address

Assigns an IPv4/IPv6 CIDR address or DHCP/DHCPv6 to a VyOS interface, with an option to save the configuration after commit.

Instructions

Assign an IP address (or "dhcp"/"dhcpv6") to an interface.

Args: type: Interface type, e.g. "ethernet", "dummy", "bridge". name: Interface name, e.g. "eth0". address: CIDR address like "192.0.2.1/24", or "dhcp"/"dhcpv6". 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>",
      "address": "<address>"
    },
    "name": "vyos_set_interface_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
saveNo
typeYes
addressYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 add real behavioral information by explaining that save controls persistence 'after commit' (default False), which hints at a commit/persist workflow, but it never says whether this replaces or adds to existing addresses, whether a separate commit or confirm step is required, or what permissions are needed for a mutation.

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 purpose is front-loaded in a single sentence, followed by a compact Args block where each line adds information not present in the schema titles. No filler or repetition of behavioral 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 all parameters are covered. However, for a four-parameter mutation with no annotations, the definition leaves open whether the operation is additive or destructive to existing addressing and how it relates to commit/confirm siblings, leaving meaningful gaps.

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 there are no enums, so the description must compensate entirely, and it does: it documents all four parameters, gives interface type examples ('ethernet', 'dummy', 'bridge'), name example ('eth0'), CIDR format, and the literal 'dhcp'/'dhcpv6' keywords that are otherwise undiscoverable from the bare string schema.

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 first sentence states a specific verb and resource (assign an IP address to an interface) and enumerates the accepted value forms. It does not distinguish itself from the sibling vyos_configure_interface, which plausibly also touches interface settings, so the purpose is clear but not fully disambiguated.

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 explicit when-to-use or when-not-to-use guidance, no prerequisites, and no mention of the nearby vyos_configure_interface alternative. The usage is only implied by the one-line purpose statement.

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