Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

config_backup

Back up a switch's masked running-config to a dated file with SHA256 and a diff against the previous backup, so you can track configuration changes over time.

Instructions

Store the masked running-config under SWITCH_BACKUP_DIR as YYYY-MM-DD_HHMM_running[_tag].cfg; returns path, SHA256 and the diff to the previous running backup. source='startup' is not available on this device. Like config_read, a slow dump answers 'Pending' first.

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

Input Schema

NameRequiredDescriptionDefault
tagNo
sourceNorunning

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that secrets are masked, that output includes path, SHA256 and a diff against the previous backup, and that slow dumps return 'Pending' asynchronously rather than blocking. Remaining gaps are privilege requirements and what happens when a backup with the same timestamp and tag already exists.

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 action and artifact are front-loaded in the first clause, then two short sentences cover the source restriction and the async 'Pending' behavior. Dense but every sentence carries information; the filename template is the only mildly cluttered element.

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?

An output schema exists, so return structure need not be spelled out, yet the description still names the key return values and adds the non-obvious asynchronous 'Pending' outcome. For a two-parameter, non-destructive backup tool this is nearly complete, with only overwrite/error semantics missing.

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: the '[_tag]' filename placeholder explains exactly how the optional tag parameter is used, and the statement about source='startup' constrains the source parameter. It stops short of stating the default for source or the allowed values explicitly.

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+resource ('Store the masked running-config') and gives the exact filename convention, so the agent knows precisely what artifact is produced. It clarifies its relationship to config_read's pending behavior but never explicitly differentiates itself from save_config, the obvious sibling for persisting configuration.

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?

It provides one useful exclusion ('source="startup" is not available on this device'), which prevents a bad call. However, it never says when to choose config_backup over save_config or config_diff, leaving the primary selection question to inference.

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