Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

counters_delta

Calculate the change in interface counters since the previous call to detect new errors without clearing counters; the first run stores a baseline.

Instructions

Difference of the interface counters since the last counters_delta call (state kept in SWITCH_STATE_DIR). The first call stores the baseline. Detects new errors without clear counters.

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

Input Schema

NameRequiredDescriptionDefault
portNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A3.8/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 the tool is stateful, where state lives (SWITCH_STATE_DIR), and that the first call only establishes a baseline rather than returning a delta. It omits edge behavior such as what happens if the saved baseline is missing or stale, or whether a port filter changes the stored baseline scope.

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?

Three short sentences, front-loaded with the core semantics and followed by the statefulness caveat and the motivating use case. Nothing is padded and the ordering matches the order in which an agent needs the information.

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?

The tool is simple (one optional param) and an output schema exists, so return values need no explanation; the stateful delta semantics are the critical thing to convey and are conveyed. The only real gap is the unexplained 'port' parameter and the behavior when prior state is absent.

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 coverage is 0% for the single optional 'port' parameter, so the description must compensate and does not mention it at all. An agent cannot tell from the text whether omitting port yields an aggregate across all ports or errors, nor what port identifier format is expected.

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?

Names the resource (interface counters) and the exact computation (difference since the last counters_delta call), which is specific enough to separate it from a raw-counter read or a reset. It stops short of naming the sibling tools it differs from (e.g. port_counters, clear_counters), so the differentiation is inferential.

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 clause 'Detects new errors without clear counters' gives a concrete use case and implicitly contrasts with the disruptive alternative of clearing counters. No explicit exclusions or named alternatives are given, but the condition for choosing this approach is clear.

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