Skip to main content
Glama

start_activity_root

Launches private or unexported Android Activities, deep links, or an app’s default screen with root access, bypassing splash ads and multi-level menus for direct navigation.

Instructions

【Root 页面直达工具】利用 Root 权限强行穿透拉起任意内部私有 Activity (exported=false) 或 DeepLink Scheme, 直接一步跨越繁琐的开屏广告与多级菜单跳转!

Input Schema

NameRequiredDescriptionDefault
actionNo可选:Intent Action(如 'android.intent.action.VIEW')
extrasNo可选:Intent Extras 键值对(自动识别 str/int/bool 转换为 --es/--ei/--ez)
packageNo应用包名(如 'com.example.app' 或 'com.android.settings')
activityNo目标 Activity 名称(支持未导出的私有 Activity,如 '.map.main.MainActivity'),留空则启动应用默认主页
data_uriNo可选:DeepLink URI / Scheme(如 'baidumap://map/direction?...' 或 'https://...')
return_ui_afterNo启动后是否附带界面 UI 树。默认 False——启动本身有耗时,重抓全树会让等待翻倍;需要确认落地页再 ui_snapshot
force_stop_firstNo启动前是否先强行停止该应用以确保冷启动,默认 False

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose the two most important behavioral facts — root privilege is required and the normal exported=false restriction is bypassed. It says nothing about failure behavior (missing package, non-existent Activity), whether root absence causes an error or fallback, or side effects of the launch on app state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with a bracketed label and the core capability, which is good structure. However the exclamation marks and promotional phrasing ('强行穿透', '繁琐的开屏广告与多级菜单跳转') trade precision for marketing tone rather than stating constraints.

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

Completeness3/5

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

An output schema exists and all seven parameters are documented in the schema, so return-value explanation is not required. For a root-level, security-bypassing launcher with zero annotations, the description is thin on preconditions (root availability, app installed) and on what the caller should do after launch.

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 parameters (action, extras, package, activity, data_uri, return_ui_after, force_stop_first) are already fully self-documenting. The description adds conceptual context about targeting private activities and DeepLinks but no syntax, format, or precedence rules beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete action (force-launch an Activity via root) and a concrete target class (internal private activities with exported=false, or DeepLink schemes), so an agent knows exactly what the tool does. It does not differentiate itself from closely related siblings such as send_intent or app_action, which leaves ambiguity about which tool owns plain intent dispatch.

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

Usage Guidelines3/5

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

Usage is only implied through the benefit statement about skipping splash ads and multi-level menu navigation, which hints at the 'reach a deep screen fast' scenario. There is no explicit when-to-use / when-not-to-use rule and no named alternative (e.g. send_intent for normal exported intents, ui_snapshot to verify the landing page).

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