Skip to main content
Glama

open_dev_menu

Open the React Native dev menu on the foreground Android app to access Reload, Debug JS Remotely, and other build options when reload_app's broadcast is not applicable.

Instructions

Open the React Native dev menu (KEYCODE_MENU) on the foreground app — the reliable way to reach a dev build's Reload/Debug JS Remotely/etc. options when reload_app's broadcast doesn't apply. Follow with tap_on_text or describe_ui to pick a menu item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialNoTarget device serial (adb -s). Optional when exactly one device is attached.
Behavior4/5

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

With no annotations provided, the description carries the full burden for behavioral disclosure. It clearly states the tool opens the dev menu via KEYCODE_MENU, implies it's reliable, and hints it may be non-destructive by mentioning follow-up inspection/selection rather than direct result. However, it could be slightly more explicit about whether it waits for the menu to appear or returns immediately.

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, zero waste. Every sentence serves a purpose: the first states the action and reliability, the second gives follow-up guidance. No filler, perfectly front-loaded.

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?

Given the tool's low complexity (1 optional param, no output schema), the description is complete. It explains what it does, when to use it, and what to do after. The sibling list contains many UI tools, and the description clarifies its unique role among them.

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 description coverage is 100%, so the schema already documents the `serial` parameter well. The description doesn't add parameter-specific details but does set broader context (target device from foreground app). Baseline 3, bumped to 4 because the description effectively compensates by contrasting with a sibling tool and explaining the tool's purpose, adding value beyond the schema's dry field description.

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?

The description uses a specific verb+resource: 'Open the React Native dev menu (KEYCODE_MENU) on the foreground app', clearly differentiating it from sibling tools like `reload_app` or `launch_app`. It directly states what the tool does and unlike the sibling tools, it's tailored for a specific use case.

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?

The description explicitly tells when to use this tool ('the reliable way to reach a dev build's Reload/Debug JS Remotely/etc. options when reload_app's broadcast doesn't apply') and provides follow-up instructions ('Follow with tap_on_text or describe_ui to pick a menu item'), giving clear context on when it's appropriate vs alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iksnerd/adb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server