Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

port_disable

Disable a switch port by issuing shutdown, with protected ports refused fail-closed. Use dry_run to preview commands and current state without saving changes.

Instructions

Disable a switch port (shutdown). Protected ports are refused (fail-closed). 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_disable"
  }
}

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

A3.9/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 well on the essentials: this is a fail-closed mutation, protected ports are refused, and the default is a non-mutating preview. However, the environment-state sentences about SWITCH_PROTECTED_PORTS being unset and 'Caution ports: none' are dense operational notices without explaining consequences for the caller beyond refusal.

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 behavior is front-loaded in the first two short sentences, which is exactly right. The trailing environment-state sentences are denser and less scannable, reading like a status dump rather than call guidance.

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 values need not be described, and the description covers the mutation's safety profile, fail-closed behavior, and non-persistence. What remains missing is the port identifier format and any note on required authorization to perform the write.

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 coverage is 0%, so the description must compensate for all three parameters. It fully explains dry_run's default and effect, and the caution-port note gives context for confirm_caution_port being currently unnecessary, but it never states the expected format of the required 'port' argument or what confirm_caution_port actually does.

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?

The description opens with a specific verb and resource, 'Disable a switch port (shutdown)', which is unambiguous and self-differentiating against the sibling port_enable. The parenthetical removes any doubt about what disabling means at the device level.

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?

It makes the dry-run-first workflow explicit (dry_run=true is default and only previews commands and state), and 'Does not save' tells the agent a separate persistence step is required. It does not explicitly name port_enable as the inverse or say when to skip the preview, so it stops short of a full when/when-not rubric.

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