Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

get_qos_config

Retrieves the switch's QoS configuration, including scheduling mode (port-based, 802.1p, or DSCP) and per-port priority queues, to verify traffic prioritization settings.

Instructions

Get the QoS configuration: scheduling mode and per-port priority queues.

mode: PORT_BASED (priority set per port), DOT1P_BASED (from 802.1p VLAN tag), or DSCP_BASED (from IP header DSCP field). Per-port priority (PORT_BASED only): LOWEST, NORMAL, MEDIUM, HIGHEST.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose meaningful behavioral context: the three mutually exclusive modes, where each derives its value (port, 802.1p tag, IP DSCP), and the crucial constraint that per-port priority applies only in PORT_BASED mode. It stops short of stating side-effect-free/read-only behavior or any permission or device-state requirements.

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?

Four short lines, front-loaded with the summary sentence and then structured as mode definitions plus a scoped note on per-port priority. Every sentence supplies information the agent cannot get elsewhere, and the conditional scope is flagged inline.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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, yet the description still decodes the key enum fields—exactly the interpretation help an agent needs for a simple zero-parameter read tool. Nothing required to invoke or interpret this tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there are no parameter semantics to convey; the baseline for a parameterless tool is a 4 and the description goes further by defining the enum vocabularies (LOWEST/NORMAL/MEDIUM/HIGHEST) that a caller needs to interpret the result.

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 (get) and resource (QoS configuration) and enumerates exactly what is returned: scheduling mode plus per-port priority queues. This clearly separates it from siblings such as set_qos_mode, set_port_qos_priority, and get_bandwidth_limits without the agent needing to open any schema.

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 only implied by the 'Get' verb and the read-only nature of the call; there is no explicit when-to-use statement, no mention of when the config must first be set via set_qos_mode, and no named alternatives. Adequate for a zero-parameter getter, but the agent gets no routing guidance.

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