Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

mgmt_services_set

Harden a Linksys switch's management access by enabling or disabling HTTP and HTTPS and turning off Telnet, with a dry run by default so changes can be previewed before applying.

Instructions

Harden management services: HTTP on/off, HTTPS on/off, Telnet off. SSH cannot be changed and Telnet cannot be enabled. HTTP is only disabled after HTTPS was read back as Enabled (in the same session, after an HTTPS enable from this call). dry_run=true by default. Does not save.

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

Input Schema

NameRequiredDescriptionDefault
httpNo
httpsNo
dry_runNo
disable_telnetNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description supplies important safety behavior itself: SSH is immutable, Telnet cannot be enabled, HTTP disablement is gated on an HTTPS read-back in the same session, and changes are not saved. This is strong disclosure, though dry-run execution, privilege requirements, and failure or partial-application behavior remain unexplained.

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

Conciseness5/5

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

The description is compact and front-loaded with the supported operations, then uses each remaining sentence for a substantive restriction or safety behavior. There is no filler despite the relatively dense conditional safeguard.

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 a four-parameter mutation with no annotations, it covers the principal operations, safety ordering, non-persistence, and default-safe invocation; the output schema removes the need to describe return values. The main remaining gaps are null/omission semantics, dry-run effects, and how resulting changes are verified or persisted.

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?

The prose gives operational meaning to the otherwise undocumented booleans—HTTP/HTTPS on or off and Telnet disable-only—and explains the important HTTP/HTTPS dependency. It does not define nullable or omitted values as leave-unchanged, explain what dry_run actually does, or clarify an all-default invocation; repeating the dry_run default adds nothing beyond the schema.

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?

“Harden management services” is immediately narrowed to HTTP/HTTPS toggling and Telnet disablement, with SSH expressly out of scope. These concrete protocol boundaries clearly distinguish it from the sibling port, SNMP, syslog, and other configuration tools.

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?

The hardening framing establishes the relevant use case, while the SSH and Telnet restrictions provide explicit when-not guidance. It does not identify alternatives for inspection or persistence, or explain when to perform a real apply rather than use the default dry run.

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