Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

rate_limit_set

Configure or remove an input/output rate limit in kbps on a Linksys LGS-series switch port; protected ports are refused and dry_run defaults to true.

Instructions

Set an input or output rate limit in kbps (1..80000000), or remove it (kbps omitted). Protected ports are refused. 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>",
      "direction": "<direction>"
    },
    "name": "rate_limit_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
kbpsNo
portYes
dry_runNo
directionYes
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 behavioral burden. It usefully discloses that dry_run defaults to true, protected ports are refused, and invalid SWITCH_PROTECTED_PORTS causes fail-closed port writes, but it omits whether changes persist, what confirm_caution_port does, and how direction values are interpreted.

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 description is compact and front-loads the main operation and removal behavior. The fail-closed environment warning is dense but relevant, and most sentences earn their place.

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 do not need explanation. However, for a five-parameter mutation tool with no annotations and no schema parameter descriptions, the definition still leaves important gaps around confirm_caution_port, direction values, and persistence.

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 description coverage is 0%, so the description must explain the five parameters. It clarifies kbps range and omission behavior plus dry_run defaulting, but direction is only hinted at as input/output, port format is unspecified, and confirm_caution_port is left unexplained.

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?

The description states a specific action and resource: set an input or output rate limit in kbps, or remove it by omitting kbps. It is clear enough to distinguish this as the rate-limit mutation tool, though it does not explicitly compare it with sibling setters.

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 by the set/remove semantics and the dry-run default, but there is no explicit guidance on when to use this tool versus related port or security tools. The protected-port refusal and fail-closed warning are useful constraints, not alternative-selection guidance.

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