Skip to main content
Glama

vphone_power

Simulate pressing the power button on a virtual iOS device: a short press sleeps or wakes it, while a long press opens the power dialog.

Instructions

Press the Power button.

Simulates pressing the power button on the device. Short press: sleep/wake. Long press: power dialog. Equivalent to vphone_hid_press(HIDPage.CONSUMER, HIDUsage.POWER).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vphone_power"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/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 device-side effect (sleep/wake or power dialog). The significant gap is that it presents two distinct behaviors but the tool accepts zero parameters, so the trigger for each mode is left unexplained — an agent cannot know what a call will actually do. No mention of connection prerequisites or failure behavior.

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?

Four short lines, front-loaded with the action, then effect, then the precise HID equivalent. No filler or restated title, and every sentence carries information.

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 zero-parameter tool with an output schema, the description covers purpose, device effect, and the low-level equivalent, which is close to sufficient. The one omission is the unresolved short-press/long-press selection, which matters because it determines the observable result.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The empty schema is consistent with the description's framing of a fixed, parameterless action.

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?

Names a specific verb and resource ("Press the Power button") and follows with the exact underlying HID call, vphone_hid_press(HIDPage.CONSUMER, HIDUsage.POWER). An agent can tell this apart from volume or home tools without inspecting any schema.

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?

It states the two outcomes (sleep/wake vs power dialog) and points to vphone_hid_press as the equivalent primitive, which gives an implied alternative. However, it never explains when to prefer this tool over calling vphone_hid_press directly, nor how the caller selects short vs long press given there are no parameters.

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