Skip to main content
Glama

vyos_save_config

Persist the running VyOS configuration to disk so it survives a reboot; the configure endpoint commits changes but does not save them. Optionally specify a target file path.

Instructions

Save the running configuration to disk so it survives a reboot.

The /configure endpoint commits but never saves; call this to persist.

Args: file: Optional target path. Defaults to /config/config.boot.

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_save_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden well: it discloses that this is a persistence/mutation action, explains why it is needed relative to commit-only endpoints, and notes where the config is written. It does not mention failure modes (e.g., what happens with no pending changes) or permission requirements, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences plus a short arg note; the persistence rationale is front-loaded and every sentence adds information an agent needs. Nothing is redundant with the tool name.

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?

For a one-optional-parameter mutation tool with an output schema present, the description covers purpose, persistence semantics, and the parameter default. The only remaining gap is operational detail such as permissions or behavior when there is nothing to save, which is a minor omission at this complexity level.

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

Parameters5/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: the single parameter is described as an optional target path with the concrete default /config/config.boot, which the schema itself only shows as null. An agent knows exactly what to pass and what happens if it omits the argument.

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 gives a specific verb and resource (save the running configuration to disk) and immediately states the outcome (survives a reboot). It also distinguishes the tool from the /configure endpoint, which commits but does not persist, so an agent can tell it apart from siblings like vyos_load_config or vyos_merge_config.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly states the condition that should trigger this call: after committing via /configure, since that endpoint never persists changes. There are no explicit exclusions or prerequisites such as required permissions, but the when-to-use context is unambiguous.

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