Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

set_device_name

Change the switch's system name shown in its web UI and device information, making the device easy to identify on your network.

Instructions

Change the switch's system name (shown in the web UI and device info).

Args: name: New device name/description.

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

Input Schema

NameRequiredDescriptionDefault
nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does add useful context that the name is user-visible in the web UI and device info, which tells the agent the change is externally observable. It says nothing about persistence across reboots, required permissions, name-length or character restrictions, or whether the previous name is recoverable.

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 purpose sentence is front-loaded and the Args block is short and to the point, with no filler. The Args section partly restates the schema but earns its place by adding the 'description' nuance.

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 one-parameter setter with an output schema present, the description covers what changes and where it is visible; return values need not be explained. The remaining gaps (validation rules, persistence, permissions) are modest for a tool of this simplicity but are not fully addressed.

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 must supply the meaning, and it does partially: 'name: New device name/description' clarifies that the single string is both a label and a description and is not an IP/hostname. It stops short of any validation constraints (max length, allowed characters), leaving the agent to guess what values will be accepted.

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 ('Change the switch's system name') plus where that name surfaces (web UI, device info), so the effect is unambiguous. It does not explicitly name a sibling such as get_device_info as the read counterpart, but the mutation intent is clear enough to separate it from the surrounding get_*/set_* tools.

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?

The description gives no when-to-use or when-not-to-use guidance and names no alternatives; the only usage signal is implicit in the verb 'Change'. An agent must infer that this is the write-side counterpart to get_device_info and that it overwrites rather than appends.

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