Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

set_qos_mode

Set the switch's global QoS scheduling mode to prioritize traffic by port, 802.1p tag, or DSCP/IP header value.

Instructions

Set the global QoS scheduling mode.

Args: mode: PORT_BASED (manual per-port priority), DOT1P_BASED (from 802.1p tag), or DSCP_BASED (from IP header).

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": {
      "mode": "<mode>"
    },
    "name": "set_qos_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not say whether the setting persists across reboots, whether changing the mode resets derived per-port priorities, or whether it disrupts traffic — all material for a global mutation on a switch.

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 purpose leads in one short sentence and the argument breakdown follows immediately; nothing is padded. The only structural quibble is that the allowed values live in a docstring-style Args block rather than being front-loaded with the purpose.

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 not be explained, and the single parameter is fully covered. However, for an unannotated global mutation on network equipment, the absence of any side-effect, persistence, or permission context leaves a real 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 coverage is 0% and the schema declares only a bare string with no enum, so the description is the sole source of meaning. It compensates well by enumerating the three allowed values and glossing each (PORT_BASED manual per-port priority, DOT1P_BASED from 802.1p tag, DSCP_BASED from IP header), which is exactly what an agent needs to pick a value.

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?

"Set the global QoS scheduling mode" gives a specific verb (set) and resource (global QoS scheduling mode), with "global" scoping it away from per-port settings. It stops short of naming the per-port sibling set_port_qos_priority, so differentiation relies on the adjective rather than an explicit contrast.

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?

The word "global" implies this is the device-wide setting rather than a per-port override, which is useful context, but there is no explicit statement of when to choose this over set_port_qos_priority or set_port_pvid. No prerequisites (e.g. whether QoS must be enabled first) are given.

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