Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

get_pvid_config

Retrieves each switch port's PVID (native VLAN) assignment so you can verify which VLAN untagged incoming frames are classified into.

Instructions

Get the per-port PVID (Port VLAN ID / native VLAN) assignments.

Each port has a PVID that determines which VLAN incoming untagged frames are classified into. Defaults to VLAN 1 for all ports.

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_pvid_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?

With no annotations, the description must carry behavioral disclosure. It usefully explains domain semantics (PVID classifies incoming untagged frames, defaults to VLAN 1 on all ports), but it never explicitly states that the call is side-effect free, nor does it hint at return format or scale (per-port array) beyond what the output schema supplies.

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?

Front-loaded with the verb and resource, followed by two short sentences of genuinely useful domain context. The middle sentence is somewhat educational for a network-savvy reader but earns its place by defining PVID for an agent that may not know the term.

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?

For a zero-parameter read tool with an output schema, the description supplies enough: what is fetched, what a PVID means, and the default. It is not exhaustive about the response shape, but the output schema covers that.

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 zero parameters, so there is no parameter meaning to convey; the baseline of 4 applies. The description correctly implies a device-wide read with no filtering arguments.

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 description opens with a specific verb and resource ('Get the per-port PVID ... assignments') and even disambiguates PVID as 'Port VLAN ID / native VLAN'. An agent can distinguish this from set_port_pvid by the read verb, but the description never names the setter counterpart, so it stops short of explicit sibling differentiation.

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?

There is no explicit when-to-use or when-not-use guidance and no alternative tool is named. Usage is only implied by the 'Get' verb and zero-parameter schema, which is adequate for a simple read tool but leaves the read/write pairing with set_port_pvid to inference.

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