Skip to main content
Glama
tplink-sg1016-mcp

tplink-sg1016-mcp

by daniel-k

set_loop_prevention

Enable or disable loop detection and blocking on the switch to prevent network loops from disrupting traffic.

Instructions

Enable or disable loop prevention.

Args: enabled: True to enable loop detection and blocking.

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

Input Schema

NameRequiredDescriptionDefault
enabledYes

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 disclose what 'enabled' actually does — activates loop detection and blocking — which is real behavioral context beyond the schema. It omits what blocking entails (e.g., whether ports get disabled or traffic dropped), whether the change is immediate or persistent, and whether it can disrupt traffic.

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 short lines, front-loaded with the action, with no wasted prose. The 'Args:' boilerplate is slightly stylized but harmless and helps map the parameter.

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. For a no-annotation mutation toggle, the description is minimally sufficient — it states the action and what enabling does — but says nothing about state persistence, side effects on live traffic, or the current-state read alternative, which an agent would want before flipping this on a production port.

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?

The single parameter has 0% schema description coverage, so the description must compensate. It explains that enabled=True turns on loop detection and blocking, but does not say what False does (presumably disable detection/blocking) or any caveats, leaving a partial gap on a one-param tool.

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+resource: enable or disable loop prevention, which is clearly distinguishable from the sibling get_loop_prevention (read) and from other set_* tools. It never names or references the read counterpart, but the purpose itself is unambiguous.

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?

No guidance on when to enable versus disable, no prerequisites, and no mention that get_loop_prevention exists for reading current state. The agent must infer usage entirely from the tool name and boolean.

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