Skip to main content
Glama

playtest

Runs a one-call app smoke test: installs or resets, launches, handles popups, executes scripted steps with screenshots, backgrounds and reopens, then scans logs for crashes and exceptions.

Instructions

Run a standard smoke test of an app in one call and return a report with screenshots: (optionally install and) reset it to first-launch state, launch it, press through system popups, run your steps, send it to the background and bring it back, then scan its log for exceptions and crashes. Steps are other tools' calls, for example {"tool":"tap","x":0.5,"y":0.87} or {"tool":"wait","ms":3000}; a screenshot is taken after each.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "device": "<device>",
      "app": "<app>"
    },
    "name": "playtest"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesApp id: Android package, Apple bundle identifier; on "mac" the bundle identifier or app name (required there)
pathNoA build to install first (.apk, or .app built for the simulator)
freshNoReset the app to first-launch state before launching, which deletes its data on that device. Default true
stepsNoActions after launch, each {"tool": "tap" | "swipe" | "key" | "gamepad" | "pinch" | "type_text" | "tap_element" | "wait", ...that tool's arguments}. device and app are filled in
deviceYesDevice id (or exact name) from the devices tool
popupsNoLabels to press on system popups after launch, tried in order. Default: Allow, While using the app, OK, Continue, Accept
maxSizeNoLong edge of the screenshots in the report. Default 800
logFilterNoWhat counts as a problem in the app's log. Default: exceptions, crashes, fatal errors, ANRs and failed assertions
backgroundNoSend the app to the background and bring it back at the end (Android, iOS, tvOS). Default true
launchWaitMsNoHow long to wait after launch before looking at the screen. Default 6000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that a build may be installed, that the app is reset to first-launch state (with the data-deletion implication also in the schema), press-through of system popups, background/foreground cycling, and a log scan for exceptions and crashes. It leaves out runtime expectations, failure/partial-completion behavior, and whether the report embeds full log text, which keeps it from a 5.

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?

The purpose and deliverable are front-loaded in the first clause, followed by the ordered sequence of phases and the step syntax, so nothing is buried. It is dense and readable, though the single long run-on sentence with parentheticals could be broken more cleanly.

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 10-parameter orchestration tool with no output schema and no annotations, the description covers the pipeline, side effects, and step encoding well enough to invoke it correctly. Gaps remain around expected duration, behavior on step failure, and how much log detail the report contains, which matter for a tool that runs many operations at once.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents every parameter and its defaults, establishing a baseline of 3. The description adds real meaning for the complex one — the steps array — by giving concrete example objects and noting device/app are filled in and a screenshot follows each step, but it does not clarify ordering or interaction between fresh, path, and launchWaitMs.

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?

States a specific verb and resource ('Run a standard smoke test of an app') and immediately names the deliverable ('return a report with screenshots'). The enumerated flow (reset, launch, popups, steps, background, log scan) makes it unmistakably distinct from the single-action siblings like tap, app_launch, or logs.

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 'in one call' framing plus the explicit note that 'Steps are other tools' calls' tells the agent this is the orchestration path rather than repeated individual calls, with concrete examples of the step shape. It stops short of an explicit when-not statement (e.g. use the individual tools when you need a single action or iterative inspection).

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