Skip to main content
Glama

Open dev menu

open_dev_menu

Opens the React Native dev menu on the foreground Android app so you can access Reload, Debug JS Remotely, and other dev options, then tap a menu item.

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.

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

Input Schema

NameRequiredDescriptionDefault
serialNoTarget device serial (adb -s). Optional when exactly one device is attached.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, so the description carries the real burden and delivers: it discloses the mechanism (a synthesized MENU key event), the target (foreground app), and the resulting UI state that must be navigated afterwards. It stops short of stating failure behavior — e.g., what happens when the foreground app is not a dev build and no menu appears — which is the one gap an agent might hit.

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: the action and mechanism come first, the contrast with the sibling second, the follow-up step last. Every clause carries information that changes how an agent calls it.

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 one-optional-param, no-output-schema tool this is close to complete — it explains the triggering mechanism and the required follow-up interaction. Only the no-menu/failure case is unaddressed, a minor omission given the tool's simplicity.

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% and the single 'serial' parameter is fully documented in the schema, including the optional-when-one-device-attached rule. The description adds nothing about the parameter, so the baseline of 3 applies.

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?

Names a specific verb and resource ('Open the React Native dev menu') and even the underlying mechanism (KEYCODE_MENU on the foreground app), which makes it immediately distinguishable from generic input tools like press_key or input_key_combo.

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?

Explicitly names the alternative (reload_app) and the condition under which this tool wins ('when reload_app's broadcast doesn't apply'), and then routes the agent forward to tap_on_text or describe_ui to select a menu item. Both when-to-use and what-to-do-next are covered with no inference required.

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