Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

delete_vlan

Removes an 802.1Q VLAN by VLAN ID from a TP-Link switch; VLAN 1 is protected and cannot be deleted.

Instructions

Delete an 802.1Q VLAN. VLAN 1 (Default) cannot be deleted.

Args: vid: VLAN ID to delete (2-4094).

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>"
    },
    "name": "delete_vlan"
  }
}

Input Schema

NameRequiredDescriptionDefault
vidYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 burden. It usefully discloses that VLAN 1 is protected, which the agent could not know otherwise. However, it does not say whether deletion is irreversible, what happens to ports currently assigned to the VLAN, or what error is returned when the target does not exist.

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?

Two front-loaded sentences plus a one-line argument note; nothing is redundant and the protection rule follows immediately after the action statement. Size is proportionate to a one-parameter tool.

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?

An output schema exists, so return values need not be explained, and the single parameter is fully characterized. What is missing is the destructive/write profile: without annotations the agent is told deletion exists but not that it is permanent or what it does to dependent port configuration.

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 coverage is 0% (bare integer), so the description must compensate: it defines vid as the 'VLAN ID to delete' and supplies the valid range 2-4094, which the schema does not express. That range is the key call-correctness detail for this parameter.

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 and resource: 'Delete an 802.1Q VLAN.' This clearly separates it from create_vlan, add_vlan_members, and remove_vlan_members, which operate on membership rather than the VLAN object itself. It does not name a sibling, but the action is 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?

The only guidance is the exclusion 'VLAN 1 (Default) cannot be deleted,' which is a constraint rather than a when-to-use rule. It never tells the agent what to do instead if VLAN 1 must be changed, nor does it contrast with remove_vlan_members. Usage is implied by the verb.

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