Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

clear_counters

Reset interface counters for a single port or all ports, refresh the counters delta baseline, and run in dry-run mode by default; protected ports are refused.

Instructions

Reset interface counters for one port or all ports (port omitted). Protected ports are refused when named. Also resets the counters_delta baseline. 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

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

Input Schema

NameRequiredDescriptionDefault
portNo
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
Behavior4/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: it discloses that this is a destructive-ish reset, that protected ports are refused, that the counters_delta baseline is also cleared, and that dry_run is on by default. It still does not state whether prior counter values are recoverable or what a successful reset returns, leaving some behavioral risk unaddressed.

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 core action and scope in the first sentence, with each subsequent sentence adding operational detail. The SWITCH_PROTECTED_PORTS sentence is dense and reads like a configuration status dump, which slightly dilutes the structure.

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 no explanation, and the mutation semantics, scope, and dry-run behavior are covered. The remaining gap is confirm_caution_port and the interaction with caution ports if that list were non-empty, but the description does report the current state ('none').

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 description coverage is 0%, so the description must compensate. It explains port (null means all) and dry_run (default true), but never mentions confirm_caution_port or what happens if a caution port is supplied, so one of three parameters is undocumented in both places.

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?

States a specific verb and resource ('Reset interface counters') plus its scope ('for one port or all ports (port omitted)'), and notes the side effect on the counters_delta baseline, which distinguishes it from the read-only counters_delta sibling.

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?

Gives concrete usage signals: omit port for all ports, dry_run defaults to true, protected ports are refused when named. It never says when an agent should set dry_run=false or how to handle a refusal, and it does not name alternatives such as port_counters for reading counters.

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