Skip to main content
Glama

vyos_configure_openvpn

Configure an OpenVPN interface on a VyOS router in a single commit, applying interface settings and optionally saving the configuration.

Instructions

Configure an OpenVPN interface in one commit.

Args: interface: OpenVPN interface name, e.g. "vtun0". settings: {space-separated path: value} under "interfaces openvpn ", e.g. {"mode": "site-to-site", "protocol": "udp", "local-address": "10.255.0.1", "remote-address": "10.255.0.2", "shared-secret-key": "KEY"}. 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": {
      "interface": "<interface>",
      "settings": "<settings>"
    },
    "name": "vyos_configure_openvpn"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo
settingsYes
interfaceYes

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?

With no annotations, the description carries the full burden. It does disclose two meaningful traits beyond the name: the change is applied atomically "in one commit," and persistence only happens when save is true. It says nothing about required permissions, whether existing interface settings are replaced or merged, or what happens on an invalid settings key.

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 one sentence, then the Args block documents each parameter without padding. The example is compact and earns its space by demonstrating a non-obvious settings format.

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 explained, and the parameter docs are complete. However, for a config-mutating tool with no annotations, the description should say more about the commit lifecycle (e.g., whether it can be rolled back or must be confirmed) and about error conditions.

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 does: it documents all three parameters and gives a concrete settings example showing the space-separated path-to-value convention and a realistic interface name. The merge-vs-replace behavior of settings is the one semantic left unstated.

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 and resource: "Configure an OpenVPN interface in one commit." That clearly distinguishes it from generic siblings like vyos_configure_interface or vyos_configure_wireguard, though it never names an alternative.

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 guidance on when to choose this tool over vyos_configure_interface, vyos_configure_ipsec_site_to_site, or vyos_configure_batch, and no prerequisites such as whether the interface must already exist. Usage is only implied by the tool's narrow scope.

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