Skip to main content
Glama

Launch dev client

launch_dev_client

Launches an Expo dev build directly at a Metro dev server by opening the expo-development-client deep link, bypassing the Dev Launcher's server-picker screen. Run adb_reverse first so the device can reach Metro.

Instructions

Launch an Expo dev build straight at a Metro dev server, skipping the Dev Launcher's server-picker screen. Builds the "://expo-development-client/?url=http://host:port" deep link and opens it. Pass scheme (your app.json "scheme"); host/port default to localhost:8081. PREREQUISITE: run adb_reverse {device_port: 8081} first so the device can reach Metro, otherwise the dev client falls back to its embedded bundle. For plain Expo Go (not a dev build) use open_url with the exp:// URL instead.

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": {
      "scheme": "<scheme>"
    },
    "name": "launch_dev_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNoMetro dev-server host as the DEVICE sees it. Default localhost (works once adb_reverse {device_port: 8081} is set).
portNoMetro dev-server port. Default 8081.
schemeYesThe app's URL scheme from app.json (e.g. "myapp") — used to build the expo-development-client deep link.
serialNoTarget device serial (adb -s). Optional when exactly one device is attached.
packageNoOptional package to target the intent at (disambiguates if multiple apps claim the scheme).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.24.3
    • changedInput schema / properties / host / description
      Previous value: -"Metro dev-server host as the DEVICE sees it. Default localhost (works once adb_reverse tcp:8081 is set)."New value: +"Metro dev-server host as the DEVICE sees it. Default localhost (works once adb_reverse {device_port: 8081} is set)."
  2. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only cover title, openWorldHint=false and destructiveHint=false, so the description must carry the behavioral load — and it does: it discloses the deep-link construction, the localhost:8081 defaults, the adb_reverse prerequisite, and the specific failure mode if the prerequisite is skipped (falls back to the embedded bundle). That fallback consequence is exactly the kind of non-obvious behavior an agent needs before invoking.

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 action and its mechanism come first, prerequisites second, and the sibling alternative last — a logical order with no filler sentences. Quoted deep-link template and the `{device_port: 8081}` invocation are dense, high-value content rather than padding.

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

Completeness5/5

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

With no output schema and a simple open-a-deep-link action, the description covers everything needed: what gets opened, what the caller must set up beforehand, what happens if they don't, and where to go for the Expo Go case. Nothing material is missing for correct invocation.

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 all five parameters including defaults and the device-serial semantics; the baseline here is 3. The description mostly restates scheme/host/port rather than adding new constraints (e.g. whether serial is required when multiple devices are attached is only implied by the schema's own wording).

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 ('Launch an Expo dev build straight at a Metro dev server') and explains the concrete mechanism (building and opening a `<scheme>://expo-development-client/?url=...` deep link). It is clearly distinguished from nearby siblings launch_app and open_url, the latter of which is explicitly named as the wrong tool for dev builds.

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

Usage Guidelines5/5

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

Gives explicit when-to-use (dev build + Metro), an explicit prerequisite ('run adb_reverse {device_port: 8081} first'), and an explicit alternative for the other case ('For plain Expo Go ... use open_url with the exp:// URL instead'). An agent can route correctly without consulting any other tool.

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