Skip to main content
Glama

previewapk_status

Check the current PreviewAPK device state: attached app, session status, driver, links, plus any pending handoff request or handback note. Use it to learn when the human has returned control.

Instructions

State of the owner's PreviewAPK device(s): attached app, session status, driver, links. Also carries the handoff block (a pending request for the human: reason + when), the agent's finish_report once filed, and — exactly once, on the first status read after the human hands the wheel back — handback_note + resumed:true: that is how you learn the handback happened, no chat message needed.

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": "previewapk_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNodevice name or id (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 it does so well, disclosing non-obvious state transitions: the handoff block appears while a request is pending, finish_report appears only once filed, and handback_note + resumed:true appear exactly once on the first read after handback. That 'exactly once' consumption semantics is critical and would otherwise cause agents to miss the handback. What it lacks is any statement of whether the read itself is side-effecting or what happens if you poll before a handoff exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the core purpose and contains no filler sentences. However, the second half is a single dense chain of colons, em-dashes and parentheticals that takes real effort to parse; splitting the handoff / finish_report / handback semantics into short statements would cost nothing and read far better.

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?

No output schema exists, so the description must explain the return payload — and it covers the important parts (session status, driver, links, handoff block contents, finish_report, handback_note). Minor gaps remain: the meaning of session status values is not defined, and 'links' is left for the agent to reconcile with previewapk_get_links.

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 coverage is 100% (the single optional `device` param is documented in-schema), so baseline is 3. The description's only addition is the plural 'device(s)', which hints that omitting `device` returns all devices — useful but marginal, and it never confirms scoping behavior.

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?

It names a specific resource (the owner's PreviewAPK device state) and enumerates the fields returned: attached app, session status, driver, links. The purpose is unambiguous, but the heavy emphasis on the handoff/handback payload obscures the simple 'read current status' framing that would separate it most cleanly from siblings like previewapk_device or previewapk_list_devices.

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?

The description gives one concrete trigger: call it to learn that a handback happened ('no chat message needed'). It never states when to use this instead of previewapk_device, previewapk_list_devices, or the handoff/finish tools, and offers no exclusions or ordering guidance, so usage is only implied for most cases.

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