Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

get_poe_port_states

Retrieves PoE status for all PoE-capable switch ports (1–8), showing enablement, priority, power limit, current draw, voltage, detected PD class, and power state.

Instructions

Get PoE status for all PoE-capable ports (ports 1-8 on the SG1016PE).

Per port: enabled, priority (HIGH/MIDDLE/LOW), power_limit (AUTO or CLASS_1-4), power_watts (current draw), current_ma, voltage_v, pd_class (detected device class, NO_PD if nothing connected), power_status (OFF/TURNING_ON/ON/OVERLOAD/SHORT/etc).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_poe_port_states"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 disclosure burden; 'Get' implies a non-mutating read, and the field list (power_status values like OVERLOAD/SHORT, NO_PD) gives useful behavioral context about what states may appear. It omits anything about permissions, failure modes when the device is not PoE-capable, or how many ports are actually returned despite the fixed 1-8 claim.

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?

Two sentences, front-loaded with the action and the port scope before the per-port detail. The second sentence is a dense field list, but it earns its place by giving enum meanings (HIGH/MIDDLE/LOW, OFF/TURNING_ON/ON/OVERLOAD/SHORT) rather than bare field names.

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?

A zero-parameter read tool with an output schema and no annotations is nearly complete as described; the port-range constraint and the meaning of power_status values add context the schema likely does not. A note on behavior for non-PoE devices or unsupported firmware would close the remaining gap.

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?

The tool takes zero parameters, so the baseline of 4 applies. The description correctly presents no parameter discussion and instead spends its text on the resource and its returned attributes.

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 ('Get PoE status') plus concrete scope (all PoE-capable ports, ports 1-8 on the SG1016PE), which clearly separates it from the generic get_port_states sibling. It stops short of explicitly naming any sibling as the alternative for global PoE settings or for non-PoE port state.

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 scope line implicitly tells an agent to use this for per-port PoE readings rather than general port state, and 'AUTO or CLASS_1-4' style hints at the config tool set_poe_port. However, there is no explicit when-to-use/when-not guidance and no named alternative such as get_poe_global_state or get_port_states.

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