Skip to main content
Glama

vyos_set

DestructiveIdempotent

Configure a VyOS router by setting a single configuration path, such as interfaces, hostname, or firewall rules, with optional commit-confirm timeout.

Instructions

Set a single VyOS configuration path.

Equivalent to 'set ' in configure mode. The value is the last element of the path list.

Args: params: - path: Config path including the value as the last segment - confirm_time: Optional rollback timeout in minutes

Returns: str: Success message or error.

Examples: - Set interface address: path=["interfaces", "ethernet", "eth0", "address", "10.0.0.1/24"] - Set hostname: path=["system", "host-name", "router01"] - Enable SSH: path=["service", "ssh"] - Set static route: path=["protocols", "static", "route", "0.0.0.0/0", "next-hop", "10.0.0.254"] - Set firewall rule: path=["firewall", "name", "WAN_IN", "rule", "10", "action", "accept"]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already indicate destructiveHint=true and idempotentHint=true. The description adds minimal extra behavioral context (e.g., returns success/error message) but does not elaborate on side effects or permissions. No contradiction with annotations.

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 description is well-structured with a clear first line, args/returns summary, and examples. It is informative but somewhat lengthy; could be trimmed without losing clarity. Still efficient overall.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single set operation, the description covers the purpose, parameters, return value, and usage examples. It is sufficient for an AI agent to understand and invoke the tool correctly, especially given the output schema.

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?

The input schema provides good descriptions for both parameters, including the path structure as an array of strings. The description adds value by clarifying that the last element is the value and by providing multiple concrete examples (e.g., setting address, hostname).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Set a single VyOS configuration path' and equates it to 'set <path>' in configure mode, providing specific verb+resource. It distinguishes from sibling tools like vyos_delete and vyos_show.

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 description explains the tool's function as equivalent to the 'set' command but does not provide explicit guidance on when to use this tool versus siblings (e.g., vyos_configure_batch for batch operations). Usage context is implied but lacks exclusionary criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alch3mistdev/vyos-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server