Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

set_ip_settings

Configure the switch management IP address via DHCP or static settings, including IP, netmask, and gateway, to control how the device is reached on the network.

Instructions

Change the switch management IP configuration.

WARNING: This may make the switch unreachable if misconfigured.

Args: dhcp: True for DHCP (auto), False for static IP. ip: Static IP address (only used when dhcp=False). netmask: Subnet mask (only used when dhcp=False). gateway: Default gateway (only used when dhcp=False).

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": {
      "dhcp": "<dhcp>"
    },
    "name": "set_ip_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipNo
dhcpYes
gatewayNo
netmaskNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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, and it does disclose the key risk that a misconfiguration can make the switch unreachable — valuable, non-obvious behavioral context. It omits other operational facts: whether the change applies immediately, whether the session drops or the device reboots, permission/auth requirements, and whether the previous configuration can be recovered.

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?

The warning is front-loaded ahead of the parameter list, and every line earns its place with no filler. Formatting is plain but functional; the Args block reads cleanly.

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 not be described, and all four parameters plus the main hazard are covered. However, for an unannotated network-mutating tool with zero schema descriptions, an agent still lacks guidance on prerequisites (reading current settings), the immediate effect on the connection, and recovery options.

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, and it does: it explains each of the four parameters, marks dhcp as the selector, and states that ip, netmask and gateway are only used when dhcp=False — a conditional relationship the schema does not express. It does not give format examples (dotted-quad vs CIDR prefixes, IPv4 vs IPv6), which keeps it below a 5.

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 ('Change the switch management IP configuration'), which clearly separates it from the get_ip_settings sibling and from the many port/VLAN setters. It stops short of naming the read counterpart or the scope boundary explicitly, so it is clear but not maximally differentiated.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance: nothing says to read current settings with get_ip_settings first, when DHCP should be preferred, or what conditions make this safe to call. Usage is only implied by the verb 'Change'.

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