Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

set_vlan_enabled

Enable or disable 802.1Q VLAN mode on a TP-Link SG1016 switch. Use it to control VLAN separation; disabling 802.1Q removes all VLAN separation, leaving only one active VLAN mode.

Instructions

Enable or disable 802.1Q VLAN mode on the switch.

WARNING: Disabling 802.1Q removes all VLAN separation. Only one VLAN mode (802.1Q, MTU, or port-based) can be active at a time.

Args: enabled: True to enable 802.1Q VLANs, False to disable.

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": {
      "enabled": "<enabled>"
    },
    "name": "set_vlan_enabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and delivers real behavioral context: disabling removes all VLAN separation, and enabling this mode implicitly deactivates the other two modes. Gaps remain on whether existing VLAN definitions survive a disable, whether the change persists across reboots, and whether traffic is disrupted.

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?

Purpose is front-loaded in one sentence, followed by the risk warning and then the argument explanation. The Args line largely restates the opening sentence, which is mild redundancy, but the whole definition is short and skimmable.

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 no explanation, and the single parameter is covered. What is missing for a mode-switching configuration tool is the fate of existing VLAN configuration on disable and any permission or disruption caveats, which an agent would need before invoking it.

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

Parameters3/5

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

Schema coverage is 0% and the schema has no description for 'enabled', so the Args block ('True to enable 802.1Q VLANs, False to disable') is doing necessary work and fully resolves the boolean's meaning. It adds no edge-case semantics, but for a single unambiguous boolean that is close to sufficient.

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?

States a specific verb pair (enable/disable) and a specific resource (802.1Q VLAN mode on the switch), which distinguishes it from VLAN-entry tools like create_vlan or delete_vlan. It does not explicitly name those siblings, but the 'mode' framing makes the scope legible.

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 exclusivity note ('Only one VLAN mode (802.1Q, MTU, or port-based) can be active at a time') implies when this tool is applicable, and the WARNING hints at caution before disabling. However, it never states prerequisites, when an agent should call get_vlan_config first, or which sibling to use for actual VLAN membership changes.

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