Skip to main content
Glama

reload_app

Trigger a Metro/JS reload on React Native debug builds by broadcasting a RELOAD_APP_ACTION intent to a specified package. If the app fails to reload, use the open_dev_menu and tap_on_text methods as a fallback.

Instructions

Best-effort: trigger a Metro/JS reload on a React Native dev-client build via the classic .RELOAD_APP_ACTION broadcast. Only works on debug builds of classic (non-bridgeless) RN architectures that register the receiver — on newer RN/Expo dev clients it may silently no-op with no error. If the app doesn't visibly reload, use open_dev_menu then tap_on_text("Reload") instead. PREREQUISITE: the app must be able to reach Metro at all — run adb_reverse {device_port: 8081} first, or a reload lands you back on the EMBEDDED bundle and your edits still won't appear (app_state tells you which bundle the running process is actually serving).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialNoTarget device serial (adb -s). Optional when exactly one device is attached.
packageYesApplication package name (e.g. com.example.app).
Behavior5/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It honestly states 'best-effort', 'may silently no-op with no error', and details the exact conditions under which the tool works (debug builds, classic non-bridgeless architectures). This provides excellent transparency about limitations 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?

The description is front-loaded with the core purpose ('Best-effort: trigger a Metro/JS reload...') and then efficiently covers prerequisites, limitations, and alternatives. Every sentence adds value, though the prerequisites section is slightly lengthy. Still, it remains focused and avoids redundancy, earning a high score for conciseness.

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 complexity of the tool (best-effort, silent failures, strict environment requirements) and the absence of an output schema, the description is remarkably complete. It covers prerequisites, failure modes, conditions for effectiveness, and fallback alternatives. No additional information is needed for an agent to use this tool correctly.

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 both parameters adequately. The description does not add new semantic information about the parameters beyond what the schema provides (e.g., serial optional when one device, package format). Baseline score of 3 is appropriate as the description adds no extra value for parameter understanding.

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 clearly states the tool triggers a Metro/JS reload on React Native dev-client builds. It specifies the verb 'trigger', the resource 'Metro/JS reload', and the context 'RN dev-client build'. It also distinguishes from sibling tools like open_dev_menu and tap_on_text by providing alternative steps, making the purpose unambiguous.

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 states when to use this tool ('debug builds of classic RN architectures') and when not to ('newer RN/Expo dev clients may silently no-op'). It provides a direct alternative ('use open_dev_menu then tap_on_text("Reload")') and a prerequisite ('run adb_reverse {device_port: 8081} first'), offering complete guidance on usage.

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