Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

config_diff

Compares the current masked running-config against the last server-saved backup to reveal unsaved changes and reports the device's Config Save Status.

Instructions

Unsaved changes, as far as this device allows: the startup-config cannot be read, so the masked running-config is diffed against the copy save_config stored at the last save through this server (tag pre-save in SWITCH_BACKUP_DIR). Also returns the Config Save Status from show system information. Saves done outside this server are not seen.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

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 supplied, the description carries the full behavioral burden and does it well: it discloses the fallback mechanism (startup-config unreadable, so running-config is diffed against the tagged pre-save backup in SWITCH_BACKUP_DIR), a side-effect return (Config Save Status from show system information), and a real limitation (external saves invisible). It does not mention permission requirements, but for a read-only diff tool that is a minor 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?

The core result (unsaved changes) is front-loaded, then the mechanism and caveats follow in a compact paragraph. Every clause carries information, though the mechanism detail in the first sentence is dense enough that a reader must parse it twice.

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 the description need not explain return values, yet it still flags the secondary Config Save Status output and the comparison baseline — the two things an agent most needs in order to interpret the diff. The main remaining omission is how the masked running-config affects what the diff can reveal.

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 tool takes zero parameters, so there is no parameter semantics to add and the baseline of 4 applies. The description correctly implies no input is needed.

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 states a concrete verb and resource: it diffs the (masked) running-config against the copy stored by save_config to produce a list of unsaved changes. It also names the related sibling save_config, giving partial differentiation from config_read/config_backup. It falls short of a 5 only because it doesn't sharply contrast with those other config siblings.

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?

Usage is implied: call this when you need to know whether configuration changes are pending. The caveats (startup-config unreadable; saves made outside this server are not visible) tell the agent when the answer will be unreliable, but there is no explicit when-to-use-instead-of guidance and no prerequisites stated.

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