Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

remove_vlan_members

Removes specified ports from an existing 802.1Q VLAN by reading current VLAN state and setting only those ports to non-member, leaving other members unchanged.

Instructions

Remove ports from an existing 802.1Q VLAN.

Reads the current VLAN state and removes the specified ports (sets them to non-member) without affecting other existing members.

Args: vid: VLAN ID of the existing VLAN to modify. ports: Port numbers to remove from the VLAN.

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": {
      "vid": "<vid>",
      "ports": "<ports>"
    },
    "name": "remove_vlan_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
vidYes
portsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully explains that the tool reads current VLAN state, sets the specified ports to non-member, and leaves other members unaffected. However, it omits permission requirements, error behavior for invalid VLANs or non-member ports, and reversibility/idempotency details.

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?

The description is front-loaded with the action and effect, followed by a compact Args section. Every sentence adds useful information, and there is no redundant filler.

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 two-parameter mutation with an output schema, the description provides enough to understand what the tool does, which VLAN it modifies, and how affected ports are treated. It could be more complete by noting prerequisites or failure cases, but the core operational context is present.

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. It does so for both parameters: vid is explained as the VLAN ID of an existing VLAN to modify, and ports as port numbers to remove. It does not specify valid ranges or formats, but the core meaning of each parameter is covered.

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?

The description states a specific verb and resource: 'Remove ports from an existing 802.1Q VLAN.' It also clarifies the mutation target and scope ('existing VLAN', 'sets them to non-member'), making it distinguishable from add/create/delete VLAN operations.

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

Usage Guidelines4/5

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

It gives clear context for when to use the tool: modifying an existing VLAN by removing specified ports. It does not explicitly name alternatives or exclusions, but the 'remove ports' framing naturally separates it from add_vlan_members and create/delete VLAN tools.

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