Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

port_set_description

Set or clear a switch interface description, with a dry run by default. Refused on protected ports; caution ports require explicit confirmation.

Instructions

Set an interface description, or clear it when text is omitted.

Refused on protected ports (SWITCH_PROTECTED_PORTS; unset or invalid list refuses every port); caution ports (SWITCH_CAUTION_PORTS) need confirm_caution_port=true. dry_run=true (default) only shows the 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_set_description"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYes
textNo
dry_runNo
confirm_caution_portNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.1
    • addedInput schema / properties / confirm_caution_port
      Added value: +{
      +  "default": false,
      +  "title": "Confirm Caution Port",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": true,
      +  "title": "Dry Run",
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it names the two policy refusal paths, states the fail-closed default when the protected-port list is unset or invalid, discloses that dry_run defaults to true and only previews commands plus current state, and warns the change is not persisted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core content is front-loaded and useful, but the trailing paragraph restates the protected-port fail-closed rule and the caution-port condition already given above, and ends with a context-injected line ('Caution ports (SWITCH_CAUTION_PORTS): none.') that reads as template noise rather than guidance.

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

Completeness5/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 explained, and the description covers the safety gates, the preview default, and non-persistence. An agent has everything needed to decide whether the call will be refused or applied.

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 explains three of four parameters meaningfully: omitting text clears the description, dry_run previews rather than applies, and confirm_caution_port overrides the caution-port block. Only the 'port' parameter itself gets no elaboration, presumably because its meaning is obvious.

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 opening sentence gives a specific verb and resource ('Set an interface description') and immediately covers the inverse operation ('clear it when text is omitted'), so the agent knows both the primary action and the null-text edge case 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?

It spells out the conditions that block invocation — protected ports, fail-closed behavior when SWITCH_PROTECTED_PORTS is unset/invalid, and the confirm_caution_port requirement for caution ports. What it lacks is any routing guidance to alternatives (e.g., use save_config to persist), leaving the follow-up step implied rather than stated.

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