Skip to main content
Glama

press_power

Toggles an Android device screen on or off by simulating a POWER button press via ADB.

Instructions

Press the POWER button (toggles screen on/off).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description carries the full behavioral burden, and it does disclose the important toggle semantics (it turns the screen both on and off rather than a fixed direction). However, it omits device-state prerequisites, side effects, and whether it affects sleep/wake state beyond the screen.

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?

A single, tightly-worded sentence that front-loads the action and immediately qualifies the effect. Nothing is wasted.

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?

For a trivial single-action tool with an output schema already covering return values, the description covers the essential action and its toggle behavior. It falls short only on device-state preconditions and the undocumented serial parameter.

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

Parameters2/5

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

The single 'serial' parameter has 0% schema description coverage and the description says nothing about it, so an agent gets no clarification of its meaning or default behavior. The only saving grace is that serial is a widely understood optional targeting parameter.

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 (press) and resource (POWER button), plus the functional effect 'toggles screen on/off'. This is clear and distinct from the neighboring press_home/press_back/press_recents buttons, though it never explicitly distinguishes itself from those siblings.

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 use this versus wake_and_unlock, keyevent, or other power-related siblings. The agent gets no conditions, prerequisites, or alternatives to route on.

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