Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

set_poe_port

Enable or disable PoE power on a specific switch port and set its power priority and wattage limit. Use it to control which devices receive power when the PoE budget is constrained.

Instructions

Configure PoE on a specific port.

Args: port: Port number (1-8 on the SG1016PE). enabled: True to supply power, False to cut PoE power. priority: Power allocation priority when budget is constrained. HIGH, MIDDLE, or LOW. power_limit: Max power class. AUTO (negotiated), CLASS_1 (4W), CLASS_2 (7W), CLASS_3 (15.4W), CLASS_4 (30W), or a float 0.1-30.0 for custom wattage.

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

Input Schema

NameRequiredDescriptionDefault
portYes
enabledYes
priorityNoHIGH
power_limitNoAUTO

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses that enabled=False cuts power (which will drop attached devices) but says nothing about whether settings persist across reboots, whether changing priority takes effect immediately, what permissions or device state are required, or that cutting/re-applying power disrupts connected equipment.

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?

Front-loaded one-line purpose followed by four tight parameter lines, each adding new information. No filler, no restatement of the title or schema types.

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 explained, and the parameter semantics are excellent. However, for an unannotated mutating tool that can cut power to a port, the absence of any note about disruption, persistence, or prerequisites leaves a real completeness gap.

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

Parameters5/5

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

Schema description coverage is 0%, and the description compensates fully: port range (1-8 on SG1016PE), boolean meaning, priority enum values HIGH/MIDDLE/LOW with the constraint context, and power_limit options with concrete wattages plus a custom-float alternative. This is meaningfully more than the bare string/integer types in the schema.

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: 'Configure PoE on a specific port.' An agent can tell this writes PoE port settings, but the description never distinguishes it from the sibling repower_poe_port (a power-cycle action) or from the read-only get_poe_port_states, so routing among near-neighbors is left to inference.

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 only implied by the name and the 'True to supply power, False to cut PoE power' note. There is no explicit when-to-use or when-not-to-use guidance, and no mention of when to prefer repower_poe_port or how this relates to set_poe_global_limit when a budget is constrained.

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