Skip to main content
Glama

nanokvm_power

Control server power via NanoKVM hardware with short press, long press, or reset actions for BIOS-level management.

Instructions

Control the target machine's power.

Args:
    action: Power action to perform
        - "power": Short press power button (800ms) - normal on/off
        - "power_long": Long press power button (5000ms) - force off
        - "reset": Press reset button (DEPRECATED for Pi 5 - use power_cycle)

Note: Raspberry Pi 5 has NO hardware reset button. The "reset" action
will not work on Pi 5. Use nanokvm_power_cycle() instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNopower

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It effectively discloses behavioral traits: it describes what each action does (e.g., short press vs. long press durations), notes hardware limitations (Pi 5 has no reset button), and warns about deprecated usage. This adds valuable context beyond basic functionality.

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?

The description is appropriately sized and front-loaded: the first sentence states the purpose, followed by a structured breakdown of the 'action' parameter with bullet points and critical notes. Every sentence earns its place by providing essential information without redundancy.

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?

Given 1 parameter with no schema descriptions, no annotations, and an output schema present, the description is largely complete. It explains the parameter thoroughly and covers key behavioral aspects. A minor gap is the lack of explicit mention of what the tool returns, though the output schema may handle that.

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?

The schema has 0% description coverage, so the description must compensate. It fully explains the single parameter 'action' with detailed semantics: defines each enum value, specifies button press durations, clarifies normal vs. force off behaviors, and warns about deprecation and hardware compatibility. This adds significant meaning beyond the bare enum 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?

The description clearly states the tool's purpose: 'Control the target machine's power.' This specifies the verb ('control') and resource ('target machine's power'), making it easy to understand. However, it doesn't explicitly differentiate from sibling tools like 'nanokvm_power_cycle' beyond the note about Pi 5 compatibility.

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?

The description provides clear context for when to use specific actions (e.g., 'power' for normal on/off, 'power_long' for force off) and when not to use 'reset' on Raspberry Pi 5, suggesting 'nanokvm_power_cycle' as an alternative. It lacks explicit guidance on when to choose this tool over other power-related siblings in broader scenarios.

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/scgreenhalgh/nanokvm-mcp'

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