Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

create_lag

Creates or modifies a link aggregation group (LAG/port trunk) by bonding member ports into one logical link on TP-Link SG1016 switches; ports must share identical speed and duplex.

Instructions

Create or modify a link aggregation group (LAG / port trunk).

Member ports are bonded into a single logical link. Ports in a LAG must have identical speed and duplex settings.

Args: group_id: LAG group ID (1-8). ports: Member port numbers to bond together.

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": {
      "group_id": "<group_id>",
      "ports": "<ports>"
    },
    "name": "create_lag"
  }
}

Input Schema

NameRequiredDescriptionDefault
portsYes
group_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/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 does disclose the 'identical speed and duplex' precondition and hints at overwrite semantics via 'create or modify', but says nothing about what happens to an existing LAG on the same group_id, whether applying it disrupts traffic, or whether it is reversible — significant gaps for a network configuration mutation.

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 tight paragraphs plus an args list; purpose is front-loaded in the first sentence and the operational constraint follows immediately. Every sentence carries information an agent needs, with no filler.

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?

The tool is simple (2 required params) and an output schema exists, so return values need not be explained. What remains missing is behavioral context around modifying an existing group and the effect on live traffic, which matters for a switch configuration write tool.

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 description coverage is 0%, so the description is the only source of parameter meaning, and it does document both: group_id as 'LAG group ID (1-8)' — adding a range constraint the schema lacks — and ports as the member ports to bond. However, it gives no valid port range, no note about array size or duplication behavior, and no format detail, so compensation is partial.

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 states a specific verb and resource ('Create or modify a link aggregation group (LAG / port trunk)') and glosses LAG with the familiar 'port trunk' term. It is clear enough to distinguish from delete_lag and get_lag_config, though it doesn't explicitly name those siblings or state that it is the write counterpart.

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 implied rather than stated: an agent can infer this is the tool for bonding ports into a LAG, and the speed/duplex constraint tells it when the operation is valid. There is no explicit guidance on when to use this versus delete_lag or get_lag_config, nor any stated prerequisite such as checking existing LAG membership first.

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