Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

get_port_mirror_config

Retrieve port mirroring configuration to see which source ports copy ingress or egress traffic to a monitoring port for packet capture and analysis.

Instructions

Get port mirroring configuration.

Port mirroring copies traffic from source ports to a destination (monitoring) port for packet capture or analysis. Shows which ports are mirrored for ingress (incoming) and/or egress (outgoing) traffic.

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_port_mirror_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

A3.6/5.0
Behavior3/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 hints at the returned content ('shows which ports are mirrored for ingress and/or egress') but never states that it is a non-mutating read, whether it requires authentication, or whether the switch must support mirroring. For a zero-parameter read this is low risk, but the explicit safety/behavior statement is absent.

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 answer is front-loaded in the first sentence, with the explanatory sentences following as supporting context. It is appropriately short, though the middle sentence explains port mirroring generically rather than adding tool-specific 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?

With zero parameters and an output schema present, the return values need not be described, so the remaining gaps are minor: the description does not state read-only safety or point to set_port_mirror as the mutation counterpart. For a simple getter this is largely complete.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description also correctly implies that the entire mirroring configuration is returned rather than a filtered subset.

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 ('Get port mirroring configuration'), and the following sentences define the domain concept so an agent knows what configuration is being retrieved. It is not explicitly differentiated from sibling set_port_mirror, but the 'Get' vs 'set' framing makes the read direction unambiguous.

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: an agent can infer this is the tool to inspect mirroring settings, but the description never states when to use it (e.g., before calling set_port_mirror) or any alternatives or prerequisites. No exclusions or when-not guidance is given.

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