Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

cable_diag

Runs a cable diagnostic (TDR) on a single port to pinpoint cabling faults; the active test may briefly drop the link.

Instructions

Run the cable diagnostic (TDR) on one port. Active test: it can drop the link for a few seconds. Protected ports are refused. The command stays denied for the show tool and only runs here. dry_run=true by default.

SWITCH_PROTECTED_PORTS is unset or invalid: port writes that check it are refused on every port (fail-closed). Caution ports (SWITCH_CAUTION_PORTS): none.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "port": "<port>"
    },
    "name": "cable_diag"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYes
dry_runNo
confirm_caution_portNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses that this is an active test that can drop the link for a few seconds, that protected ports are refused, and that the tool fails closed when SWITCH_PROTECTED_PORTS is unset or invalid. Gaps remain around whether dry_run avoids the link disruption and what a successful/refused result looks like, but the destructive-risk disclosure is genuinely useful.

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 its disruption risk are front-loaded, and most sentences carry real information. The trailing environment-state paragraph (SWITCH_PROTECTED_PORTS unset/invalid, caution ports none) is valuable but reads like a config dump and slightly blurs the earlier 'protected ports are refused' statement.

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 an unannotated, disruptive single-port operation with an output schema available, the description covers the essential risks, refusals, and defaults. Missing details are port naming format and the semantics of the confirmation flag, which an agent would still have to guess.

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% for three parameters, so the description must compensate. It covers 'port' implicitly (one port, protected ports refused) and states dry_run defaults to true, but it never explains what confirm_caution_port means (only that caution ports are currently 'none') or what format the port string takes, leaving meaningful gaps.

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?

States a specific verb and resource ('Run the cable diagnostic (TDR) on one port') and immediately distinguishes itself from the sibling 'show' tool, which cannot run this command. An agent knows exactly what the tool does and its scope without opening the schema.

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?

Explicitly routes the agent here rather than to 'show' ('the command stays denied for the show tool and only runs here') and states the refusal conditions (protected ports, fail-closed protected-port config). It does not clarify when dry_run should be set to false or when confirm_caution_port is required, so guidance is strong but not complete.

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