Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

save_config

Save a Linksys LGS switch’s running configuration to startup configuration, with a dry-run default that previews masked changes and save status before committing.

Instructions

Copy running-config to startup-config (privileged exec 'save').

The LGS CLI cannot show the startup-config. dry_run=true (default): masked diff from the running-config stored at the last save through this server to the current running-config, plus the Config Save Status; nothing is saved. dry_run=false: stores the masked running-config that is saved (SWITCH_BACKUP_DIR, tag pre-save; required unless SWITCH_PRE_WRITE_SNAPSHOT=best-effort/off), saves, returns the diff to the previous save copy and the Config Save Status. The running-config copy uses the same background dump as config_read: a slow dump answers Pending first; the next call saves. Gate with hub unlock.

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": "save_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.1
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": true,
      +  "title": "Dry Run",
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so: it discloses that the default saves nothing, what the masked diff covers, where the pre-save copy is written (SWITCH_BACKUP_DIR, tag pre-save), that the snapshot is required unless best-effort/off, and the slow-dump/Pending-then-retry behavior. These are exactly the operational side effects an agent needs before invoking a write.

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 core action and the two modes are front-loaded, and there is essentially no filler. Some sentences are dense and clause-stacked (the dry_run=false sentence carries several conditions), which costs a little readability but every sentence contributes information.

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?

An output schema exists, so return values need not be spelled out, yet the description still signals what comes back (masked diff, Config Save Status). Combined with prerequisites (env vars, hub unlock) and the Pending retry path, it is complete for a one-parameter, irreversible-write tool.

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 coverage is 0% and the single parameter is documented only as a bare boolean with a default, so the description must compensate. It fully defines both branches of dry_run — masked diff plus status when true, actual store-then-save plus rollback diff when false — well beyond anything the schema conveys.

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?

Opens with a specific verb and resource pair ('Copy running-config to startup-config') plus the underlying CLI command, so the action is unambiguous. It implicitly separates itself from config_read by stating 'the LGS CLI cannot show the startup-config' and noting the shared background dump, though it never names a sibling as an explicit alternative.

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?

Makes clear that the default call is a non-destructive preview and that real saves require dry_run=false plus the snapshot env-var prerequisite, and it adds a gating condition ('Gate with hub unlock'). It stops short of explicit when-to-use-this-instead-of-config_backup/config_diff guidance, leaving the sibling choice to inference.

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