Skip to main content
Glama

power_cycle

Reboot hardware attached to a smart plug by power-cycling the outlet: turn it off briefly, then on again. Useful for restarting development boards or other connected devices.

Instructions

Power-cycle whatever is plugged into an outlet: switch it off, wait, switch it back on.

Intended for rebooting hardware attached to a smart plug, such as a development board. Power is restored even if the wait is interrupted. Keep off_seconds short -- the call blocks for that long and must finish inside the MCP client's tool-call timeout.

Args: outlet_id: The outlet's id, as returned by list_outlets. off_seconds: How long to stay powered off, in seconds (0.5 to 300).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
outlet_idYes
off_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses blocking behavior, timeout constraint, and guarantees power restoration even if the wait is interrupted. It also notes off_seconds range. These are meaningful behavioral traits beyond the schema; however it omits error conditions or what happens on failure, but output schema may cover returns.

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 description is well-structured: a clear one-line definition, followed by use-case context, a timeout warning, and a compact Args list. Every sentence adds information; no filler, though it is longer than the minimal example.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and minimal schema, the description covers purpose, usage context, blocking/timeout behavior, interruption guarantee, and parameter semantics. An output schema exists, so return values needn't be explained. It is sufficiently complete for an agent to select and invoke the tool correctly.

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%, so the description must compensate. The Args section explains both parameters: outlet_id sourced from list_outlets, and off_seconds as a range (0.5 to 300) and as the powered-off duration. This adds meaning the schema lacks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Power-cycle whatever is plugged into an outlet: switch it off, wait, switch it back on.' This clearly distinguishes it from sibling tools like toggle_outlet or set_outlet by naming the off-wait-on sequence and intended use for rebooting hardware.

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

Usage Guidelines4/5

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

It states the intended scenario: 'Intended for rebooting hardware attached to a smart plug, such as a development board.' This gives clear context, though it does not explicitly contrast with alternatives like toggle_outlet or set_outlet. Thus clear context but no explicit exclusionary guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/david-s-svedberg/ikea-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server