Skip to main content
Glama

Robot Actions — Remote Device Control

Device screen

device_screen

Control device screen power state and rotation. action="on": wake the screen if asleep (idempotent — checks current wakefulness first). action="off": put the screen to sleep (idempotent). action="rotate": set orientation to portrait/landscape/portrait-reverse/landscape-reverse; auto-rotation gets disabled so the new orientation sticks. Returns { ok, action, screenState, orientation? }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidYesDevice serial number (UDID)
actionYeson/off toggles screen power; rotate sets orientation
orientationNoRequired when action="rotate"; ignored otherwise

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior1/5

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

The description explicitly asserts 'action="on" ... (idempotent — checks current wakefulness first)' and 'action="off" ... (idempotent)', while the annotations declare idempotentHint: false. That is a direct clash between the prose and the structured hint, so per the rubric this is scored 1 and flagged as an annotation contradiction.

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?

It is front-loaded with the tool's purpose, then proceeds action-by-action with no filler, and closes with the return shape. It is slightly long but essentially every clause carries information (idempotency, side effect, return fields) rather than restating the title.

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?

There is no output schema, so the description usefully supplies the return shape ({ ok, action, screenState, orientation? }) and covers all three parameters and actions. The remaining gap is that it does not address overlap with device_rotate/device_orientation, but an agent has everything needed to invoke it correctly.

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?

Schema description coverage is 100% and both enums are documented, so the baseline is 3. The description adds real meaning beyond the schema: it explains the conditional requirement of orientation only for action='rotate', lists the orientation values, and discloses the side effect that auto-rotation is disabled so the new orientation sticks.

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 states a specific verb+resource ('Control device screen power state and rotation') and enumerates the three actions with their precise effects. It is clear on its own, but it never distinguishes itself from the sibling tools device_rotate, device_orientation, or ios_rotate/ios_orientation, which overlap with the 'rotate' action, so sibling differentiation is missing.

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?

Usage is implied by the per-action breakdown (use action='on' to wake, 'off' to sleep, 'rotate' to set orientation), which is enough to pick an action. However, there is no guidance on when to call device_screen versus the dedicated device_rotate or device_orientation tools, nor any stated prerequisites (e.g., needing an active session/connected device identified by udid).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources