Skip to main content
Glama

Karagöz

npm version CI License: MIT Node.js npm downloads Glama score

Website · Docs

Device automation for mobile apps. One tool for four targets: Android emulator, Android physical device, iOS simulator, iOS physical device. It is a CLI, and karagoz mcp serves the same commands to an AI agent as an MCP server.

Contents


Related MCP server: mobile-mcp

Why karagoz

adb, simctl and devicectl run the command; karagoz tells you what the command actually did.

  • What happened, as a code. am force-stop on an app that is not installed says nothing, simctl and devicectl report success for uninstalling an app that is not there, and Android answers a missing package with the code it gives a package it will not remove. karagoz checks first and returns APP_NOT_FOUND. A refused install is INSTALL_FAILED with the platform's own code in reason, not text to parse.

  • One contract on four targets. The same commands, flags, device selection, output and error codes on an Android emulator, an Android phone, an iOS simulator and an iPhone. The MCP server returns the CLI's JSON line unchanged.

  • The accessibility tree first. To see the screen, read ui-tree before taking a screenshot. The tree is text a program can search, costs a few hundred to a few thousand tokens, and gives the bounds needed to tap. A screenshot is written to disk at full resolution and returned as a path, with its pixel size, logical size and scale (and safe area on Android) to measure against; the CLI never prints the image.

  • It installs only what you ask and starts no daemon of its own. Each command exits when it answers, and karagoz mcp exits with its client. Only karagoz's runner stays up between calls, and it stops 10 minutes after its last use. The one thing karagoz installs unasked is that runner, on a simulator of a Mac that never had Xcode 27 (FAQ).


Scope

karagoz is the primitive layer. Each command does one thing and exits.

  • Not a test framework. No assertions, no test runner, no recorded flows, no retry policy, no reports. tap --timeout waits for a node to appear; it never repeats an action.

  • Not a design comparison tool. Figma diffing, measurement and reporting belong a layer above. karagoz produces the raw input, and the metadata to measure it with, but does not interpret it.


Status

Early development. Every command runs on all four targets, except install-runner, which runs only on iPhones, and uninstall-runner, which runs on iPhones and on simulators of a Mac that never had Xcode 27. For Windows and Linux, see the FAQ.


Getting started

Requirements

  • Node 22 or newer.

  • Android: adb from Android platform-tools, and a running emulator or a phone with USB debugging on.

  • iOS simulator (macOS): Xcode, opened once, and a booted simulator. tap, long-press, double-tap, swipe, text and key need Xcode 27 or newer, or a Mac that never had Xcode 27, where they go through karagoz's runner.

  • iPhone (macOS): Xcode 15 or newer (27 for screenshot), the iPhone paired with the Mac, and Developer Mode on. ui-tree and the input commands also need a USB cable, UI Automation on, and karagoz's runner, which install-runner installs.

What each command needs, and how karagoz finds adb and Xcode.

Install

npm install -g karagoz-mcp
karagoz devices

Or without installing: npx -y karagoz-mcp devices. To build from source: Development.

Quick start

$ karagoz devices
Found 1 device:
  Medium_Phone_API_37.0 • emulator-5554 • emulator • Android 17 (API 37) • device

Missing a device? Run karagoz doctor.

When stdout is not a terminal, as in a pipe or Claude Code's shell, every command prints one line of JSON, shown here; at a terminal the other commands indent it.

$ karagoz tap --text Chrome
{"device":"emulator-5554","x":667.5,"y":2002.5,"element":{"class":"android.widget.TextView","text":"Chrome","contentDesc":"Chrome","clickable":true,"longClickable":true,"focusable":true,"bounds":[581,1905,754,2100]}}

$ karagoz key HOME
{"device":"emulator-5554","key":"KEYCODE_HOME","code":3}

$ karagoz screenshot --out home.png
{"path":"/Users/me/home.png","device":"emulator-5554","pixels":{"width":1080,"height":2400},"logical":{"width":411.42857142857144,"height":914.2857142857143},"scale":2.625,"safeArea":{"top":63,"right":0,"bottom":63,"left":0},"rotation":0}

karagoz ui-tree prints the screen's accessibility tree; tap --text above found its target in that tree.

Claude Code with the MCP server on an iOS simulator, in real time. The right side lists each karagoz call and part of the JSON it returned.

An iOS simulator next to a list of tool calls. Asked to open Settings on the iOS simulator and turn on dark mode, Claude Code calls devices, launch, ui_tree, tap on the Appearance row by id, ui_tree, tap on Dark by text, and ui_tree, and the simulator switches to dark mode.


MCP server

karagoz mcp

Starts an MCP server for an AI agent on stdin and stdout. It opens no port: the client starts the process and talks to it over stdio. The 18 commands are its tools, and each tool returns the JSON line the CLI prints.

Claude Code

claude mcp add karagoz -- npx -y karagoz-mcp mcp

Claude Desktop

Download karagoz.mcpb from the latest release and open it. Desktop installs it as an extension.

Cursor

Add to Cursor

Or in .cursor/mcp.json:

{"mcpServers":{"karagoz":{"type":"stdio","command":"npx","args":["-y","karagoz-mcp","mcp"]}}}

VS Code

In .vscode/mcp.json:

{"servers":{"karagoz":{"type":"stdio","command":"npx","args":["-y","karagoz-mcp","mcp"]}}}

Codex

codex mcp add karagoz -- npx -y karagoz-mcp mcp

Then add these two lines under [mcp_servers.karagoz] in ~/.codex/config.toml. The command cannot write them, and without them Codex hides ANDROID_HOME from karagoz and cuts long calls short:

env_vars = ["ANDROID_HOME", "ANDROID_SDK_ROOT", "KARAGOZ_DEVICE", "ANDROID_SERIAL", "DEVELOPER_DIR"]
tool_timeout_sec = 600

Other ways to register each client, running from a clone, and the tools' arguments, results and behavior.

Agent instructions

Optional. Add this to your CLAUDE.md, AGENTS.md or your agent's rules, or ask your agent to add it, and it uses karagoz for a request about a device without being told to:

## Mobile devices

For anything on an Android emulator or phone, an iOS simulator or an iPhone (reading the screen, tapping, typing, screenshots, installing or launching an app, logs), use karagoz instead of calling adb, xcrun simctl, devicectl or xcodebuild yourself. Use the karagoz MCP tools when they are available; otherwise run `npx -y karagoz-mcp <command>`. Read the screen with ui-tree before taking a screenshot, tap by text or id, and branch on error.code.

Token cost

What the server adds to a Claude Code session, measured on 2026-10-30 with Claude Code 2.1.306 and claude-opus-5-5: input tokens of the first API call with karagoz registered, minus the same call with no MCP server.

Case

Tokens

Every session, tool search on (the default): the 18 tool names and instructions

410

All 18 definitions, loaded by one ToolSearch call

3,634

Every session, tool search off (ENABLE_TOOL_SEARCH=false): every definition and instructions

3,476

The tools/list result is 9,547 characters, instructions 398. One ui_tree of the launcher home screen is 5,127 characters (11,767 with detail: full).


Things to ask your agent

Once the server is registered, describe the task to your agent. It reads the screen with ui_tree and calls one tool per step.

  • "Open Settings on the emulator and turn on dark mode."

  • "Install ./build/app-debug.apk, open it, and tell me what the first screen shows."

  • "On the sign-in screen, type test@example.com into the email field and tap Continue."

  • "Open myapp://orders/42 on the iOS simulator and take a screenshot."

  • "The app closes right after launch on the emulator. Show me its last 50 log lines."


Commands

Command

Does

devices

List connected devices

screenshot

Save a full-resolution PNG and return its path with scale metadata

ui-tree

Return the accessibility tree of the focused window

tap

Tap a point, or a node found by text or id

long-press

Press and hold a point or a node

double-tap

Tap a point or a node twice

swipe

Swipe between two points

text

Type text into the focused field

key

Press a key

install

Install or replace an app

launch

Start an app as its launcher icon does

open-url

Open a URL or deep link in the app that handles it

terminate

Stop every process of an app

uninstall

Remove an app

logs

Read the device log

doctor

Report which adb and Xcode karagoz uses

install-runner

Build karagoz's runner and install it on an iPhone

uninstall-runner

Remove karagoz's runner from an iPhone or a simulator

mcp

Start the MCP server on stdio

Every command except devices, doctor and mcp works on one device. When more than one is listed, pick it with --device <id or name> or KARAGOZ_DEVICE: Device selection.


Output and errors

Every command prints one line of JSON on stdout: its result with exit code 0, or {"error":{"code":"<CODE>","message":"<text>"}} with exit code 1. Branch on error.code, not on the message. At a terminal, devices and doctor print a summary instead and the other commands indent their JSON; when stdout is not a terminal, as in a pipe, the line is printed.

Output, arguments and coordinates · Error codes · Known limitations


How it works

A command finds the device, runs the platform's own tool for the job, and turns the answer into one JSON line. karagoz mcp calls the same code.

Target

Screen

Accessibility tree

Input

Apps

Logs

Android emulator and phone

adb screencap

uiautomator dump

input; text outside ASCII and double-tap through a helper copied to the device for the call

adb install, am, pm, cmd package

logcat

iOS simulator

simctl io screenshot

karagoz's Swift helper, compiled on first use with Xcode's swiftc

The helper: the simulator's input service, and XCUIAutomation for text (Xcode 27). On a Mac that never had Xcode 27, karagoz's runner inside the simulator

simctl

log show inside the simulator

iPhone

devicectl

karagoz's runner, an XCUITest bundle that xcodebuild starts and karagoz reaches over USB

karagoz's runner

devicectl

The phone's log relay over USB, read with macOS's log


FAQ

Nothing by itself, with one exception: on a Mac that never had Xcode 27, the first tap, long-press, double-tap, swipe, text or key on a simulator installs karagoz's runner there (Requirements). Typing text outside ASCII on Android copies a small helper to /data/local/tmp and deletes it when the call ends (text).

A Mac with Xcode and the iPhone paired, with Developer Mode on. Reading the screen and input also need a USB cable, UI Automation on, and karagoz's runner, installed once with install-runner. A free Apple ID signs the runner for 7 days (Known limitations).

The tree answers most questions about a screen as text. karagoz keeps the PNG at full resolution on disk, with the scale needed to measure against it. Over MCP, inline: true also returns the image, which the client scales down, so take coordinates from the tree (MCP results).

iOS targets need macOS. Android targets need only Node and adb, and karagoz looks for adb in the Windows and Linux SDK folders too. No device command has been run on either system yet. On Linux, CI runs the type check, lint, build and the smoke tests that need no device.

On Android only one UiAutomation client can be connected, so ui-tree, and a tap by --text or --id, return AUTOMATION_BUSY while another holds it. On an iOS simulator, text fails the same way while a UI test runs (Error codes).


Contributing

Bug reports and pull requests are welcome. CONTRIBUTING.md covers what to put in an issue, the checks a pull request needs, and what device data must never be posted.


License

MIT © 2026 Yılmaz Yağız Dokumacı

Available Tools

18 tools
devicesList devicesA
Read-only

List Android devices and emulators, running iOS simulators, and iPhones connected to this Mac.

NameRequiredDescriptionDefault

No parameters

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful scope beyond that: it enumerates which device classes are discovered and limits the scope to devices on this Mac, which tells the agent what a result set will contain.

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?

A single front-loaded sentence that enumerates the returned device categories with no filler. Every clause earns its place.

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?

With no params, no output schema, and annotations covering read-only/local behavior, the description does enough: it tells the agent what kinds of devices are reported. It stops short of saying what happens when nothing is connected or what fields each entry has, which keeps it just below full completeness.

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?

Zero parameters, so the baseline is 4; there is no parameter semantics to explain and the description correctly spends no words on arguments.

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?

Clear verb+resource ('List devices') with an explicit enumeration of the three device classes it covers: Android devices/emulators, running iOS simulators, and connected iPhones. It's distinguishable from siblings like doctor or launch, though it never names them.

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 only implied — an agent can infer this is the discovery step before launch/install/tap — but there is no explicit statement of when to use this versus doctor or screenshot, nor any preconditions.

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

doctorCheck adb and XcodeA
Read-only

Report which adb and Xcode tools karagoz uses, their versions, and how to fix one that is missing, old or broken.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior4/5

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

Consistent with readOnlyHint=true and openWorldHint=false, so no contradiction. It adds genuine context beyond annotations: the tool reports tool presence, versions, and remediation advice for missing/old/broken tools. No rate-limit or auth details, but with annotations covering the safety profile this is reasonably transparent.

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?

A single front-loaded sentence with no filler; the resource, the returned information, and the remediation purpose are all stated efficiently.

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?

With no parameters, no output schema, and annotations covering the read-only/open-world profile, the description conveys enough to call it correctly. What it returns (versions and fix guidance) is outlined, though the return shape is unspecified, which is minor for a zero-param diagnostic.

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?

Zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies since no parameter semantics are required.

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?

Specific verb (Report) plus specific resources (adb and Xcode tools, their versions) and a remediation outcome. An agent can immediately recognize this as a diagnostic/preflight tool distinct from functional siblings like devices, install, or launch.

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 intent is implied as an environment health check, but the description never states when to call it (e.g., before install/launch) or when sibling tools are the right choice instead. No explicit alternatives or exclusions are given.

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

double_tapDouble-tapA

Double-tap x, y in physical pixels, or the center of the node whose text or contentDesc (iOS: label or value) equals text, or whose resource id (iOS: identifier) matches id. An iPhone needs install_runner once.

NameRequiredDescriptionDefault
xNo
yNo
idNoResource id, full or the part after :id/ (iOS: identifier).
textNoExact text or contentDesc (iOS: label or value), case-sensitive.
deviceNoId or name.
timeoutNoWith text or id: ms to keep reading the tree until the node appears; the call can run up to 6 s longer.

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare non-readOnly, non-destructive, closed-world, so safety is covered. The description adds useful context (physical pixel unit, iPhone runner prerequisite) but is silent on multi-match behavior, ambiguity when both xy and text/id are given, and failure modes.

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?

Two dense sentences, front-loaded with the action and targeting modes; the iPhone prerequisite is a useful trailing note. Slightly run-on but every clause 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?

With no output schema and no required params, the description covers the targeting semantics and setup prerequisite adequately. Gaps are minor: device selection and behavior when a target isn't found are unaddressed.

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?

Adds real meaning beyond the schema: x/y are physical pixels, text matches contentDesc/label/value, id matches identifier on iOS. This compensates for the 67% coverage gap. The device parameter is never explained in the description.

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?

States a specific verb (double-tap) and the three targeting modes (coordinates, node text/contentDesc, resource id) with iOS equivalents. Clear what it does, but never distinguishes itself from the sibling tap/long_press 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?

Explains the alternative targeting strategies (xy vs text vs id) and adds a concrete prerequisite for iPhone (install_runner once). Lacks any 'when to use vs tap/long_press' guidance, so the alternative-selection guidance is implied rather than explicit.

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

installInstall an appA
Destructive

Install an .apk, or a .app or .ipa on an iOS simulator or iPhone, or replace the installed version of the same app. An iPhone takes only a build signed for it; karagoz does not re-sign. Times out after 30 s plus 1 s per MB.

NameRequiredDescriptionDefault
apkYesAbsolute path to the .apk, .app or .ipa.
deviceNoId or name.

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the overwrite behaviour, the no-re-signing constraint, and the timeout formula (30 s + 1 s per MB), which an agent cannot infer from structured fields. However it says nothing about failure/return signalling after a failed install.

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?

Two dense sentences with no filler, leading with the primary action and artifact types. The middle clause ('a .app or .ipa on an iOS simulator or iPhone') is slightly tangled but still parses.

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 two-parameter tool with no output schema, it covers the essentials an agent needs: accepted formats, overwrite semantics, signing prerequisite, and timeout budget. The main missing piece is guidance on the install_runner sibling.

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 both parameters are already documented, making 3 the baseline. The description restates the accepted file extensions but adds no meaning beyond the schema and never explains the device parameter (id vs name).

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?

States a specific verb (install) plus the accepted artifact types (.apk, .app, .ipa) and the replacement behaviour. It does not distinguish itself from the sibling install_runner, so an agent cannot tell which of the two install paths to pick from the description alone.

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?

Gives concrete conditions: use for .apk/.app/.ipa on a simulator or iPhone, and it will replace the same app if already present. It also flags the prerequisite that an iPhone only accepts a build signed for it. It stops short of naming the alternative (install_runner) or the when-not case.

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

install_runnerInstall karagoz's iPhone runnerA

Build karagoz's runner with your Apple team and install it on a paired iPhone over USB; ui_tree, tap, swipe, text and key need it there.

NameRequiredDescriptionDefault
teamNoApple team ID; needed only when Xcode lists several.
deviceNoId or name.

TDQS

A4/5.0
Behavior4/5

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

The annotations already establish that this is a non-destructive mutating operation with open-world characteristics. The description adds useful behavioral context beyond annotations: it builds via an Apple team and installs over USB to a paired iPhone, and it explains downstream tool dependency. It does not mention idempotency, replacement behavior, or provisioning side effects.

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 definition is a single front-loaded sentence with no wasted wording. It packs the action, environment, and dependency information efficiently.

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 build-and-install operation with an output schema absent, the description covers the key prerequisites, environment, and dependency on UI automation tools. It leaves out secondary details such as expected duration or whether an existing runner is replaced, but the core call context is present.

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 team and device parameters are already fully documented. The description mentions Apple team and paired iPhone in natural language, but does not add syntax, format, or selection guidance beyond the schema.

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 uses specific verbs and resource: it builds and installs karagoz's runner on a paired iPhone over USB. It clearly identifies the runner as distinct from generic app installation, though it does not explicitly name the sibling tool install or state how it differs from uninstall_runner.

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?

It gives clear usage context by stating that ui_tree, tap, swipe, text, and key need the runner installed. It does not explicitly state when not to use it or name an alternative tool, but the operational context is clear.

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

keyPress a keyB

Press one key.

NameRequiredDescriptionDefault
keyYesKeyEvent name (HOME, BACK, KEYCODE_7) or code 1-340; "7" is code 7 (KEYCODE_0), not the digit. iOS takes HOME, POWER, VOLUME_UP/DOWN and keyboard keys; an iPhone only keys that type a character, and needs install_runner once.
deviceNoId or name.

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare the safety profile: not read-only, not destructive, and closed-world. The description adds almost no behavioral context beyond the title, such as whether it simulates a physical keypress, affects app state, or has platform-specific side effects.

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 a single front-loaded sentence with no wasted words. It is maximally concise for what it attempts to convey.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter tool with a fully documented schema and annotations, the description is minimally adequate. However, it omits usage context and does not mention how this action relates to sibling tools.

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?

The input schema has 100% description coverage and provides rich details for the key parameter, including platform caveats and examples. The description adds no additional parameter meaning, so the schema does the heavy lifting and baseline 3 is appropriate.

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 and resource: pressing a key. It is clear enough to distinguish from text entry or tapping, but it does not explicitly differentiate itself from siblings such as text or tap.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no guidance on when to use this tool versus alternatives such as text or tap. It simply states the action without context, conditions, or exclusions.

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

launchLaunch an appA

Start an app as its launcher icon does. On iOS it returns before the app is in front.

NameRequiredDescriptionDefault
deviceNoId or name.
packageYes

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already establish that this is not read-only but also not destructive, and the description adds important behavioral context: on iOS it returns before the app is actually in the foreground. That async/platform-specific detail is valuable for an agent, though other details such as foregrounding behavior or failure modes are omitted.

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?

Two tightly written sentences. The core purpose is front-loaded and the platform caveat follows without any filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a low-complexity tool with annotations and no output schema, the description is adequate but leaves meaningful gaps: whether the app must be installed, how `device` defaults, and what launch success/failure looks like. It provides helpful iOS timing context but could be more complete for an agent invoking it.

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

Parameters2/5

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

Schema coverage is only 50%, with the required `package` parameter lacking any schema description. The tool description does not explain that this should be an app package identifier or clarify default device behavior, so it does not compensate for the schema gap.

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 gives a specific verb and resource: start an app, with the useful semantic equivalent of behaving like its launcher icon. It is clear what the tool does, though it does not explicitly contrast itself with siblings such as install, terminate, or uninstall.

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 launcher-icon analogy: use this to start an installed app. However, there is no explicit guidance on when to use this versus alternatives, nor on prerequisites such as whether the app must already be installed.

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

logsRead device logsA
Read-only

Read the newest device log records, oldest first. On iOS without since: the last minute, or the last hour with package. An iPhone read takes about 10 s.

NameRequiredDescriptionDefault
linesNoNumber of newest records. Default 30.
sinceNoUnix seconds on the device clock; only later records. Pass a record's time to continue.
deviceNoId or name.
packageNoOnly this app's records.

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint=false, so safety is covered; the description adds useful operational context annotations cannot: platform-dependent default windows and a ~10 s latency on iPhone reads. It stops short of saying whether output is truncated or how large results are bounded.

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?

Three short sentences, front-loaded with the verb and resource, then defaults, then latency. Nothing is wasted or repeated from the schema.

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 four-param, read-only tool with no output schema, the description covers defaults, platform behavior, and cost. A brief note on what a returned record contains (fields, truncation) would close the remaining gap.

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 coverage is 100%, so the per-parameter text is already documented. The description goes beyond it by describing the cross-parameter interaction between `since`, `package`, and platform (last minute vs last hour with package), which the schema does not express.

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?

States a specific verb and resource ('Read the newest device log records') plus the ordering ('oldest first'). It is clearly distinct from the control-plane siblings (tap, launch, screenshot), though it never names an alternative for log-related tasks such as `text`.

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 only implied by the purpose; there is no explicit statement of when to prefer this over `text` or `devices`. The description does clarify the default time window behavior, which is the most likely source of misuse, but gives no exclusions.

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

long_pressLong-pressA

Long-press x, y in physical pixels, or the center of the node whose text or contentDesc (iOS: label or value) equals text, or whose resource id (iOS: identifier) matches id. An iPhone needs install_runner once.

NameRequiredDescriptionDefault
xNo
yNo
idNoResource id, full or the part after :id/ (iOS: identifier).
textNoExact text or contentDesc (iOS: label or value), case-sensitive.
deviceNoId or name.
timeoutNoWith text or id: ms to keep reading the tree until the node appears; the call can run up to 6 s longer.
durationNoHold time in ms. Default 1000.

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds genuinely new behavior: coordinates are in physical pixels, the press is centered on the resolved node, and iOS requires a prior install_runner call. It omits what happens when the node is never found (the schema hints at a ~6 s extension but the description does not say whether it errors or is a no-op).

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?

Two sentences, no filler. Primary targeting modes come first, with the platform caveat and installer prerequisite trailing where it belongs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter gesture tool with no output schema and no description of return values or failure behavior, gaps remain: nothing says what is returned, what happens on a node-not-found or timeout, or how the targeting modes interact. Adequate to invoke correctly in the happy path, but thin on edge-case behavior.

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 coverage is 71%, and crucially x and y carry no schema description at all — the description supplies the physical-pixel unit, which is the single most error-prone detail for this tool. It restates the text/id match semantics that the schema already documents, so the marginal value is concentrated in the coordinate explanation.

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?

States a specific verb (long-press) plus the three mutually exclusive target-resolution modes (x/y coordinates, text/contentDesc match, resource id/identifier match), which an agent can act on directly. It never names tap or double_tap as alternatives, so differentiation from siblings is left to the reader even though the action itself is unambiguous.

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 description of the targeting modes, and it adds one useful prerequisite ("An iPhone needs install_runner once"). There is no explicit when-to-use/when-not guidance, no statement of precedence if both x/y and text/id are supplied, and no pointer to tap/double_tap for shorter gestures.

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

open_urlOpen a URLA

Open a URL in the app that handles it, or in the app named by app. On iOS it returns before the app is in front, and a simulator may first ask "Open in ?".

NameRequiredDescriptionDefault
appNoPackage name or bundle id; not on an iOS simulator.
urlYes
deviceNoId or name.

TDQS

A3.8/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: on iOS it returns before the app is foregrounded, and simulators may show an 'Open in <app>?' confirmation. That is genuinely useful for interpreting results and timing. It does not describe failure behavior or what the call returns, keeping it short of 5.

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?

Two sentences with no filler, and the primary behavior is front-loaded before the platform caveats. Every clause carries information the agent would otherwise have to guess.

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?

With annotations covering the safety profile and no output schema to explain, the description supplies the key non-obvious platform behaviors an agent needs. Missing only error/return expectations and whether the target app must be installed, which are secondary for a fire-and-forget open action.

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 67% and the description only touches the 'app' parameter indirectly ('the app named by app'). The 'url' parameter has no schema description and the description never says which schemes (http, custom deep links) are acceptable, so the agent gains little beyond structured fields.

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?

States a specific verb and resource ('Open a URL') and clarifies the default routing behavior ('in the app that handles it'), which separates it from device-control siblings like launch or tap. It does not explicitly name an alternative tool, so it stops short of a 5.

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 platform-specific notes (iOS simulator prompt) but there is no explicit when-to-use/when-not guidance or comparison to launch/install. The agent must infer that this is for deep links or custom URL schemes rather than app startup.

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

screenshotTake a screenshotA

Save a full-resolution PNG of the screen and return its path with size, scale and safe area. Use ui_tree to read the screen; inline only to look at the image.

NameRequiredDescriptionDefault
outNoAbsolute PNG path, ending in .png. Default: a new temp file.
deviceNoId or name.
inlineNoAlso return the image. Take coordinates from ui_tree, not from the image.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations mark it non-read-only, and the description fills in what writes occur: a PNG saved to an explicit path or a new temp file by default, which signals low blast radius. It also warns to take coordinates from ui_tree rather than the image, a real behavioral caveat. Overwrite behavior for an existing 'out' path is unstated, which keeps this short of 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.

Conciseness5/5

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

Two sentences, front-loaded with the action and return values, then the sibling routing. No filler.

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?

With no output schema, the description correctly specifies the return shape (path plus size, scale, safe area) and the default output location. Only file-overwrite semantics for 'out' are missing, a minor gap for a capture tool.

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%, so the baseline is 3; the schema already documents 'out', 'device' and 'inline' fully. The description adds only the caution not to derive coordinates from inline images, which reinforces rather than extends parameter meaning.

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 ('Save'), resource ('a full-resolution PNG of the screen') and the returned payload (path, size, scale, safe area). It clearly distinguishes itself from ui_tree, the sibling that reads rather than captures.

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?

Routes the agent explicitly to ui_tree for reading the screen, and scopes 'inline' to visual inspection only. It doesn't spell out when capturing a screenshot is preferable to other observation paths or note any prerequisites, but the key exclusion is stated.

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

swipeSwipeA

Swipe from x1, y1 to x2, y2 in physical pixels. An iPhone needs install_runner once.

NameRequiredDescriptionDefault
x1Yes
x2Yes
y1Yes
y2Yes
deviceNoId or name.
durationNoms from start to end. Default 300.

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the mutation/safety profile is covered structurally. The description adds the valuable detail that coordinates are in physical rather than logical pixels and surfaces the install_runner prerequisite, but says nothing about what the swipe does to app state or how failures behave.

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?

Two short sentences with no waste, and the coordinate semantics are front-loaded so the agent can construct the call immediately. The prerequisite is tacked on second, which is the right order.

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 simple gesture action with no output schema and annotations covering safety, the essential calling information — coordinate space, required points, default duration via schema, and the iOS prerequisite — is present. Only the post-call behavior/return value is left unstated, which is minor.

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 coverage is only 33%, and the four required coordinate parameters have no schema descriptions at all; the description compensates by defining them as physical-pixel start and end points. Device and duration are covered by the schema, so all six parameters end up interpretable.

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?

States a specific verb (swipe) and the exact resource/geometry (from x1,y1 to x2,y2 in physical pixels), which distinguishes it from the sibling 'tap' gesture tool. It is clear what the tool does, though it does not explicitly contrast itself with 'tap' or 'key'.

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?

'An iPhone needs install_runner once' gives a real prerequisite for one platform, but there is no guidance on when to swipe versus tap, nor any note on choosing a duration. Usage is implied by the tool name rather than explained.

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

tapTapA

Tap x, y in physical pixels, or the center of the node whose text or contentDesc (iOS: label or value) equals text, or whose resource id (iOS: identifier) matches id. An iPhone needs install_runner once.

NameRequiredDescriptionDefault
xNo
yNo
idNoResource id, full or the part after :id/ (iOS: identifier).
textNoExact text or contentDesc (iOS: label or value), case-sensitive.
deviceNoId or name.
timeoutNoWith text or id: ms to keep reading the tree until the node appears; the call can run up to 6 s longer.

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: coordinates are interpreted as physical pixels (not logical points or percentages), and the timeout path can extend the call by up to 6 seconds. It does not say how a tap resolves when both coordinates and a node selector are given.

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?

Two sentences, both front-loaded with the action modes followed by the platform caveat; no filler. The first sentence is dense but every clause carries distinct targeting information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter, zero-required-parameter tool with no output schema, the description covers targeting and the iOS prerequisite but leaves open what a bare call does, whether coordinates take precedence over text/id, and what evidence of success is returned. Adequate to invoke correctly in the common case, incomplete at the edges.

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 coverage is 67%; the description adds the key missing semantic that x/y are in physical pixels, which the schema leaves bare. For id and text it mostly restates what the schema already documents (partial id matching, exact case-sensitive text), so the gain is concentrated on the coordinate pair.

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?

States a specific verb (tap) plus three mutually exclusive targeting modes: physical pixel coordinates, exact text/contentDesc, or resource id. It's clear what the tool does, though it never names the adjacent siblings (long_press, double_tap) that an agent might confuse it with.

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 description effectively explains the three invocation strategies an agent can pick from and adds a real prerequisite ('An iPhone needs install_runner once'), which tells the agent when this call will fail. It stops short of stating exclusions (e.g., use double_tap/long_press for repeated or held touches) or what happens if multiple selectors are supplied.

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

terminateStop an appB

Force-stop every process of an app.

NameRequiredDescriptionDefault
deviceNoId or name.
packageYes

TDQS

B3/5.0
Behavior3/5

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

Annotations establish this is a non-read-only but non-destructive mutation, and 'Force-stop' adds the meaningful nuance that processes are killed rather than gracefully shut down (implying loss of unsaved state). Beyond that the description says nothing about idempotency, what happens if the app is not running, or whether other apps are affected. There is mild tension with destructiveHint=false, but force-stopping does not itself destroy persisted data, so this is not a 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?

A single front-loaded sentence with zero filler; nothing redundant is present. It is arguably too terse given the unexplained required parameter, but there is no structural waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter tool with no output schema the scope is small, but the description leaves the required 'package' argument undefined and gives no signal about the result of the operation (success confirmation, error when the app is absent). Adequate as a minimum, with clear gaps.

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

Parameters2/5

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

Schema coverage is only 50%: 'device' is documented as 'Id or name', but 'package' has no schema description and the tool description never clarifies its expected format (bundle id, app id, or a display name). With a low-coverage schema, the description should compensate and does not.

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?

States a specific verb ('force-stop') and resource ('every process of an app'), which is more informative than the generic title 'Stop an app'. It implicitly separates itself from 'uninstall' and 'launch', but never names a sibling to sharpen the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No indication of when to choose terminate over uninstall, launch, or a restart flow, and no prerequisites (device connectivity, app installed, permissions). The agent must infer the usage context entirely.

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

textType textA

Type into the focused field. Any text; on Android, text beyond ASCII is pasted through the clipboard and the old clip put back. An iPhone needs install_runner once.

NameRequiredDescriptionDefault
textYes
deviceNoId or name.

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), it discloses the Android non-ASCII clipboard path and that the previous clipboard is restored, plus the iPhone prerequisite. It does not describe error behavior when no field is focused or per-device return/effect details, but the side-effect disclosure is strong.

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 core action is front-loaded in the first sentence, and the platform caveats are short and relevant. There is little waste; the extra sentences earn their place by covering clipboard restoration and the iPhone prerequisite.

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 non-destructive text-entry action with annotations and no output schema, the description covers the main operational constraints: focus, Android clipboard handling, and iPhone setup. The remaining gap is minor because device identity is documented in the schema.

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 only 50%: 'device' is documented in the schema as 'Id or name,' but the required 'text' parameter has no schema description. The description adds 'Any text' and platform caveats for non-ASCII input, but does not explain the 'device' parameter's role beyond what the schema already says.

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 names a specific action ('Type') and target ('the focused field'), so the agent knows it inputs text rather than key events. It does not explicitly contrast with the sibling 'key' tool, so it is clear but not fully differentiated.

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?

It gives the key precondition (a field must already be focused) and notes the iPhone one-time install_runner prerequisite. It does not explicitly say when to use 'key' instead or how to focus a field, so some routing is left to inference.

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

ui_treeRead the UI treeA
Read-only

Return the focused window's accessibility tree as JSON, compact by default: nodes with no text, label or action and nodes off screen are left out. Node bounds [left, top, right, bottom] are the physical pixels tap and swipe take. On an iPhone it needs karagoz's runner: install it once with install_runner.

NameRequiredDescriptionDefault
detailNofull: every node.
deviceNoId or name.

TDQS

A4.6/5.0
Behavior5/5

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

The description adds substantial detail beyond readOnlyHint/openWorldHint: the default filtering rule (nodes with no text, label or action and off-screen nodes are omitted), the coordinate semantics of node bounds, and the requirement for karagoz's runner on iPhone. That is the kind of context annotations cannot express.

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?

Three front-loaded sentences with zero waste: output shape first, then coordinate semantics, then the platform prerequisite. Every sentence carries information an agent would otherwise have to guess.

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?

With no output schema, the description does the return-value work: JSON, bounds ordering, and filtering behavior. It stops short of describing what fields a returned node contains beyond bounds, which is the main remaining gap for a tree-reading tool.

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 coverage is 100%, so the baseline is 3, but the description adds real value: it states 'compact by default' (a default the schema does not) and explains what compact actually drops. The device parameter is only covered by the schema ('Id or name'), which caps this below 5.

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?

Specific verb and resource: 'Return the focused window's accessibility tree as JSON', with an explicit scope (focused window) and format. The mention that bounds are 'the physical pixels tap and swipe take' ties it clearly to the sibling tap/swipe tools, so an agent can tell it apart from screenshot without opening a schema.

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?

States the default mode and the iPhone prerequisite, routing the agent to install_runner explicitly. It never states when to prefer this over screenshot or text, so the when-not side is left inferred rather than declared.

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

uninstallUninstall an appC
Destructive

Remove an app.

NameRequiredDescriptionDefault
deviceNoId or name.
packageYes

TDQS

C2.4/5.0
Behavior2/5

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

The annotations already declare destructiveHint=true and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that: it doesn't say what happens to app data, whether the device defaults to a single connected device, or what the tool returns on failure (e.g. package not installed).

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 a single short sentence with zero waste, but its brevity comes from under-specification rather than efficiency. The core action is front-loaded, which is the only structural merit.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with no output schema and an undocumented required parameter, the definition should cover at least the package identifier format and default device behavior. Neither is present, leaving the agent to infer how to call a destructive tool safely.

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

Parameters2/5

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

Schema coverage is only 50%: 'package' has no description and the description says nothing about its format (bundle id, app id, human name?). With low coverage, the description should compensate but instead adds no parameter meaning at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Remove an app" states a specific verb and resource, which is clearer than the bare tool name 'uninstall'. However, it just restates the title and gives no way to distinguish it from the sibling 'uninstall_runner', which by name sounds like the same operation on a different target.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus install/launch/terminate or, critically, versus uninstall_runner. An agent has to guess which of the two uninstall variants applies to its situation.

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

uninstall_runnerRemove karagoz's iPhone runnerB
Destructive

Remove karagoz's runner and its provisioning profile from an iPhone.

NameRequiredDescriptionDefault
deviceNoId or name.

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description does add real value by disclosing that the provisioning profile is removed alongside the runner — a non-obvious side effect — but it omits whether this is reversible, what happens if no runner is present, or whether the device can be resolved implicitly.

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?

A single front-loaded sentence with no filler; the side effect is attached directly to the action. Slightly undermined by the unexplained hardcoded owner name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive tool with annotations and no output schema, the description covers the essentials, but it leaves open the failure modes (no runner installed, device lookup) and the fixed 'karagoz's' qualifier is unexplained, so an agent cannot tell whether it must supply that owner.

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?

Only one parameter exists and schema description coverage is 100%, so the schema already documents 'device' as an id or name. The description adds nothing about the device argument or its fallback behavior, which is acceptable at baseline but no better.

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?

States a specific verb (Remove) and a specific resource (the runner and its provisioning profile) plus the target environment (an iPhone), which separates it from the plain 'uninstall' sibling. The hardcoded owner name 'karagoz's' reads as a template artifact rather than a meaningful scope qualifier.

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 only implied by the name pairing with install_runner; there is no statement of when to prefer this over uninstall, or what preconditions apply (runner currently installed, device reachable). An agent can infer the flow but must guess.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updatesv0.3.0
    • Addeddouble_tap
    • Addedlong_press
    • Addedopen_url
    • Changedtap1 field changed
      • removedInput schema / properties / duration
        Removed value: -{
        -  "description": "Hold time in ms.",
        -  "type": "integer"
        -}
  2. 1 tool updatev0.2.0
    • Changedui_tree1 field changed
      • addedInput schema / properties / detail
        Added value: +{
        +  "description": "full: every node.",
        +  "enum": [
        +    "compact",
        +    "full"
        +  ],
        +  "type": "string"
        +}
  3. 15 tool updates
    • First observeddevices
    • First observeddoctor
    • First observedinstall
    • First observedinstall_runner
    • First observedkey
    • First observedlaunch
    • First observedlogs
    • First observedscreenshot
    • First observedswipe
    • First observedtap
    • First observedterminate
    • First observedtext
    • First observedui_tree
    • First observeduninstall
    • First observeduninstall_runner

TDQS

B3.4/5.0

Scored across 18 tools

Disambiguation4/5

Most tools have a clearly distinct purpose: device discovery, screenshots, UI inspection, gestures, app lifecycle, logs, and setup are separated. The only plausible overlaps are install/uninstall versus install_runner/uninstall_runner and launch versus open_url, but their descriptions make the target objects clear.

Naming Consistency4/5

All tool names use lower_snake_case, making the set predictable to read. However, naming mixes bare imperative verbs (tap, swipe, install, launch) with noun/resource names (devices, screenshot, ui_tree, doctor, logs), so it is not a uniform verb_noun convention.

Tool Count4/5

18 tools is slightly above the typical 3-15 range, but each maps to a real mobile automation need. Cross-platform device setup, runner management, UI interaction, and app lifecycle operations justify the size without obvious filler.

Completeness4/5

The surface covers device discovery, UI inspection, gestures, text/key input, app install/uninstall/launch/terminate, logs, and setup. Minor gaps exist for multi-touch gestures, hardware button shortcuts beyond key, and explicit waits, but agents can generally work around them.

Maintenance

ActivityNo data
ResponsivenessOutdated data

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables AI agents to interact with Android devices through UI manipulation, screen capture, touch gestures, text input, and app management via ADB. Provides comprehensive mobile automation capabilities including element detection, navigation, and application control for Android device testing and interaction.
    9
    46 PyPI
    2
    -
  • A
    license
    A
    quality
    C
    maintenance
    Enables agents and LLMs to interact with native iOS and Android applications and devices via structured accessibility snapshots or coordinate-based taps, supporting simulators, emulators, and real devices.
    39
    55,275 npm
    Apache 2.0
  • A
    license
    C
    quality
    B
    maintenance
    Enables AI agents to control Android phones, emulators, redroid containers, iOS devices, and cloud-hosted devices through a perceive-act-verify loop of screen reading, taps, gestures, typing, and app launching. Exposes 138 tools for driving screens, elements, and files over adb, Portal APIs, and ios-portal without running ARM-only code on the device.
    94
    15 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to see and control Android devices through ADB and scrcpy, supporting screenshots, input, app management, UI automation, shell/file access, and audio/video streaming.
    374 npm
    MIT