Skip to main content
Glama

Robot Actions — Remote Device Control

Android DevTools navigate

android_devtools_navigate

Navigate a page running on the device to a URL via CDP (Page.navigate). If waitMs > 0, waits up to that many milliseconds for a Page.frameStoppedLoading event before returning. Returns { url (the requested URL), finalUrl (the ACTUAL post-redirect URL — non-null only when waitMs > 0, so redirects are visible), loaderId?, errorText?, frameStoppedLoading? }. Omit pageId to auto-select the visible/active page. On success the page it landed on becomes this device's current page, so you can call the other android_devtools_* tools straight afterwards WITHOUT pageId and stay on this tab — no list_pages round trip needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to navigate to
udidYesDevice serial number (UDID)
pageIdNoTarget page id (auto-picked when omitted)
socketNoAbstract unix socket name (default: chrome_devtools_remote)
waitMsNoMilliseconds to wait for Page.frameStoppedLoading after navigating (default: 0 = do not wait)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, destructive=false, openWorld=true) by spelling out the waitMs gating rule, that waiting blocks on a Page.frameStoppedLoading event, that finalUrl is only populated when waitMs>0, and that success mutates device page state affecting later calls. Redirect visibility and the auto-select default are exactly the behavioral traits an agent needs.

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?

Front-loaded with the action and mechanism, then behavior and return shape; every sentence carries information. It is dense with parentheticals and would read faster split into shorter lines, but there is no filler.

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, the description fully documents the return shape (url, finalUrl, loaderId, errorText, frameStoppedLoading) plus the conditional that governs finalUrl. Together with the 100%-covered input schema and annotations, an agent has everything needed to call it correctly and chain follow-up calls.

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 semantics on top: the waitMs>0 condition that makes finalUrl observable, the consequence of omitting pageId, and the fact that the selected page becomes current for later calls. Only 'socket' is left unelaborated beyond its schema default.

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 (navigate) and resource (a page running on the device) and pins the mechanism via CDP Page.navigate, which cleanly separates it from device_navigate_url, web_navigate and webpage_navigate. An agent can tell exactly what it does without opening the 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?

Gives clear usage context: omit pageId to auto-select the visible/active page, and after success the landed page becomes the device's current page so subsequent android_devtools_* calls need no pageId and no list_pages round trip. It does not explicitly contrast with the non-CDP navigation siblings (device_navigate_url, web_navigate), so the 'when not to use this' half is missing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources