Skip to main content
Glama

DroidMind

android-diag

Capture bug reports or dump heap data from Android devices using this diagnostic tool. Specify output paths, include screenshots, and set timeouts for efficient device analysis.

Instructions

Perform diagnostic operations like capturing bug reports or heap dumps.

Args: ctx: MCP Context. serial: Device serial number. action: The diagnostic action to perform. output_path: Optional. Path to save the output file. For bugreport: host path for adb to write the .zip. If empty, a temp file is used & summarized. For dump_heap: local path to save the .hprof. If empty, a temp file is used. include_screenshots: For CAPTURE_BUGREPORT. Default True. package_or_pid: For DUMP_HEAP. App package name or process ID. native: For DUMP_HEAP. True for native (C/C++) heap, False for Java. Default False. timeout_seconds: Max time for the operation. If 0, action-specific defaults are used (bugreport: 300s, dump_heap: 120s).

Returns: A string message indicating the result or path to the output.

Input Schema

NameRequiredDescriptionDefault
actionYes
include_screenshotsNo
nativeNo
output_pathNo
package_or_pidNo
serialYes
timeout_secondsNo

Input Schema (JSON Schema)

{ "$defs": { "DiagAction": { "description": "Actions available for diagnostic operations.", "enum": [ "capture_bugreport", "dump_heap" ], "title": "DiagAction", "type": "string" } }, "properties": { "action": { "$ref": "#/$defs/DiagAction" }, "include_screenshots": { "default": true, "title": "Include Screenshots", "type": "boolean" }, "native": { "default": false, "title": "Native", "type": "boolean" }, "output_path": { "default": "", "title": "Output Path", "type": "string" }, "package_or_pid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Package Or Pid" }, "serial": { "title": "Serial", "type": "string" }, "timeout_seconds": { "default": 0, "title": "Timeout Seconds", "type": "integer" } }, "required": [ "serial", "action" ], "title": "android_diagArguments", "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