Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

set_bandwidth_limit

Configure per-port ingress and egress bandwidth rate limits on a TP-Link SG1016 switch; set rates in kbps or 0 for unlimited to control traffic.

Instructions

Set per-port ingress and egress bandwidth rate limits.

Args: port: Port number (1-16). ingress_rate: Max incoming traffic rate in kbps. 0 for unlimited. egress_rate: Max outgoing traffic rate in kbps. 0 for unlimited.

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>",
      "ingress_rate": "<ingress_rate>",
      "egress_rate": "<egress_rate>"
    },
    "name": "set_bandwidth_limit"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYes
egress_rateYes
ingress_rateYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does add real behavioral detail — the 1-16 port range and the 0-means-unlimited sentinel — but says nothing about persistence across reboots, whether applying a limit disrupts traffic, required privileges, or interaction with storm control.

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 tool action is stated first in a single sentence, followed by a compact Args block with one line per parameter. Nothing is padded, though the Args formatting is docstring boilerplate rather than agent-optimized prose.

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 need no explanation, and the parameter semantics are well covered. However, for a mutation tool with zero annotation coverage, missing side-effect and permission information leaves a meaningful gap.

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 entirely, and it does for all three parameters: port range 1-16, kbps units, and the 0=unlimited convention for both rates. A 5 is withheld only because it doesn't bound the acceptable rate values or note device-specific maxima.

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 first sentence names a specific verb and resource: setting per-port ingress and egress bandwidth rate limits. That clearly separates it from read-side siblings like get_bandwidth_limits and from adjacent setters such as set_storm_control or set_port_qos_priority, though the definition never names an alternative itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of prerequisites such as the port needing to be enabled. An agent must infer from the name and the 'per-port' wording that this applies to individual switch ports rather than global settings.

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