Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

port_enable

Enables a switch port (no shutdown) on a Linksys LGS-series switch; dry run is default and only previews commands/current state without saving.

Instructions

Enable a switch port (no shutdown). Allowed on protected ports. dry_run=true (default) only shows commands and current state. Does not save.

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

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

B3.2/5.0
Behavior3/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 deliver real value: dry_run shows commands plus current state and does not save, and the fail-closed refusal when SWITCH_PROTECTED_PORTS is unset/invalid is a genuinely useful disclosure. However, it never states what happens when a port actually IS in the caution list, nor that confirm_caution_port must be set to override — a material behavioral gap for a mutation tool.

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?

Front-loaded with the action and kept to three short sentences; the dry_run caveat follows immediately. The trailing 'Caution ports (SWITCH_CAUTION_PORTS): none.' line reads like injected runtime state and is slightly awkward, but nothing is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 no explanation, and the dry-run and fail-closed behavior are covered. What remains missing for a three-parameter mutation is the semantics of confirm_caution_port and the implicit follow-up with save_config, so an agent could still invoke it incorrectly.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must document all three parameters. It explains dry_run well ('only shows commands and current state. Does not save') and the port parameter is self-evident, but confirm_caution_port is never explained — the 'Caution ports: none' line reports current state rather than telling the agent what the parameter does or when to set it.

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?

States a specific verb and resource ('Enable a switch port (no shutdown)'), making it clearly distinguishable from the sibling port_disable and from poe_enable. It stops short of naming an explicit alternative, but the operation is unambiguous.

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 rather than stated: the agent learns that dry_run=true is the default and that enabling is 'allowed on protected ports,' but there is no explicit when-to-use vs. when-not guidance, and no pointer telling the agent to call save_config afterward to persist the change.

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