Skip to main content
Glama

vyos_load_config

Replace a VyOS router's running configuration from a specified file or a full curly-brace config string to apply desired settings.

Instructions

Replace the running configuration from a file or a config string.

Args: file: Path to a configuration file on the router (e.g. /config/test.config). string: A full configuration in curly-brace format (alternative to file).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vyos_load_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
stringNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Replace' hints at destructiveness, but the description never says that the existing running configuration is discarded, whether the change takes effect immediately or requires a commit (relevant given the vyos_confirm_commit sibling), what permissions are required, or what happens on invalid input. For an overwrite operation with zero annotation coverage, this is a significant gap.

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?

Compact and front-loaded, with the destructive verb-resource statement first and a small Args block after. Every line earns its place; the only minor inefficiency is docstring boilerplate formatting rather than integrated prose.

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

Completeness2/5

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

This is an overwrite-of-running-config tool with no annotations and two undocumented parameters. Output schema existence excuses not explaining return values, but the definition should warn about configuration loss, the commit model, and file/string precedence. Those omissions matter more than the size of the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% (only bare titles 'File' and 'String'), so the description must compensate, and it does partially: it explains that file is a path on the router with an example (/config/test.config) and that string is a full configuration in curly-brace format as an alternative. It still does not state mutual exclusivity, precedence if both are given, or that both being optional means neither is required.

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: 'Replace the running configuration' from a file or config string. The overwrite semantics distinguish it implicitly from merge/save siblings, but it never names those alternatives, so differentiation relies on the reader already knowing what vyos_merge_config does.

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?

No when-to-use or when-not-to-use guidance, no comparison to vyos_merge_config or vyos_configure_batch, and no mention of prerequisites such as needing a subsequent commit or confirm. The only routing hint is that 'string' is an 'alternative to file', which says nothing about which to prefer or whether both may be supplied.

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