Skip to main content
Glama

DroidMind

android-app

Manage Android apps with actions like install, uninstall, start, stop, clear data, and retrieve app details. Supports package-specific operations via a unified interface for streamlined application control and analysis.

Instructions

Perform various application management operations on an Android device.

This single tool consolidates various app-related actions. The 'action' parameter determines the operation.

Args: serial: Device serial number. action: The specific app operation to perform. ctx: MCP Context for logging and interaction. package (Optional[str]): Package name for the target application. Required by most actions. apk_path (Optional[str]): Path to the APK file (local to the server). Used by install_app. reinstall (Optional[bool]): Whether to reinstall if app exists. Used by install_app. grant_permissions (Optional[bool]): Whether to grant all requested permissions. Used by install_app. keep_data (Optional[bool]): Whether to keep app data and cache directories. Used by uninstall_app. activity (Optional[str]): Optional activity name to start. Used by start_app. include_system_apps (Optional[bool]): Whether to include system apps. Used by list_packages.

Returns: A string message indicating the result or status of the operation.


Available Actions and their specific argument usage:

  1. action="install_app"
    • Requires: apk_path
    • Optional: reinstall, grant_permissions
  2. action="uninstall_app"
    • Requires: package
    • Optional: keep_data
  3. action="start_app"
    • Requires: package
    • Optional: activity
  4. action="stop_app"
    • Requires: package
  5. action="clear_app_data"
    • Requires: package
  6. action="list_packages"
    • Optional: include_system_apps
  7. action="get_app_manifest"
    • Requires: package
  8. action="get_app_permissions"
    • Requires: package
  9. action="get_app_activities"
    • Requires: package
  10. action="get_app_info"
    • Requires: package

Input Schema

NameRequiredDescriptionDefault
actionYes
activityNo
apk_pathNo
grant_permissionsNo
include_system_appsNo
keep_dataNo
packageNo
reinstallNo
serialYes

Input Schema (JSON Schema)

{ "$defs": { "AppAction": { "description": "Defines the available sub-actions for the 'android-app' tool.", "enum": [ "install_app", "uninstall_app", "start_app", "stop_app", "clear_app_data", "list_packages", "get_app_manifest", "get_app_permissions", "get_app_activities", "get_app_info" ], "title": "AppAction", "type": "string" } }, "properties": { "action": { "$ref": "#/$defs/AppAction" }, "activity": { "default": "", "title": "Activity", "type": "string" }, "apk_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Apk Path" }, "grant_permissions": { "default": true, "title": "Grant Permissions", "type": "boolean" }, "include_system_apps": { "default": false, "title": "Include System Apps", "type": "boolean" }, "keep_data": { "default": false, "title": "Keep Data", "type": "boolean" }, "package": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Package" }, "reinstall": { "default": false, "title": "Reinstall", "type": "boolean" }, "serial": { "title": "Serial", "type": "string" } }, "required": [ "serial", "action" ], "title": "app_operationsArguments", "type": "object" }

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/hyperb1iss/droidmind'

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