Skip to main content
Glama

previewapk_device

Control a cloud Android device for QA: set timezone, locale, and mock location; push, pull, list, or delete files; and reboot the phone to test real-device behavior.

Instructions

Device controls for realistic QA. action='set_timezone' (IANA tz, e.g. America/New_York) — verified on the device. action='set_locale' (BCP 47 tag, e.g. de-DE; package optional, defaults to the session app) — per-app language, Android 13+ style; relaunch the app if it doesn't switch live. action='set_location' (lat, lon) — GPS reports a mock fix until cleared. action='clear_location'. action='push_file' (local_path on this machine, remote_path under /sdcard, max 10 MB) — test fixtures, seed files. action='pull_file' (remote_path, local_path, max 10 MB). action='list_files' (remote_path folder, default Download). action='delete_file' (remote_path). action='reboot' — restarts the phone (same phone, same data: app, files and settings survive; ~a minute; a running recording is saved first). There is NO clipboard control: not available on these phones.

Input Schema

NameRequiredDescriptionDefault
tzNoIANA timezone (set_timezone)
latNo
lonNo
actionYes
deviceNo
localeNoBCP 47 tag (set_locale)
packageNoapp package (set_locale; default: session app)
local_pathNofile on this machine (push_file: source; pull_file: destination)
remote_pathNopath on the device, under /sdcard (e.g. Download/fixture.json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.1

TDQS

A4.3/5.0
Behavior5/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 does so well: it discloses the 10 MB file limit, /sdcard restriction, mock location persistence until cleared, locale relaunch need, reboot duration and data survival, recording-save behavior, and the absence of clipboard control.

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 compact for a nine-action tool and front-loads the overall purpose before listing each action with only the details needed to use it correctly. The final clipboard exclusion is also useful and wastes no space.

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 the absence of annotations and output schema, the description covers nearly all operational behavior an agent needs, including limits and side effects. It does not describe return values for actions like list_files or pull_file, and it leaves the device parameter unexplained, which are minor but real gaps.

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 description adds substantial meaning beyond the 56%-covered schema: timezone examples, BCP 47 locale examples, default package behavior, location mock semantics, file size limits, list_files default folder, and reboot side effects. The only notable gap is the 'device' parameter, which is never explained.

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 frames the tool as device controls for QA and enumerates the specific supported actions, including timezone, locale, location, file operations, and reboot. It is highly distinguishable from interaction siblings like tap or swipe, though it does not explicitly contrast itself with previewapk_use_device or other device-management tools.

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?

Usage context is clear for each action: push_file for test fixtures, set_location creates a mock fix until cleared, set_locale is Android 13+ per-app language and may require app relaunch. It provides practical when-to-use cues but does not explicitly state when to choose this tool over sibling tools.

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