get_gpu_info
Retrieve GPU rendering data from Android devices to identify performance bottlenecks and debug graphics issues during development.
Instructions
Get GPU rendering information - useful for performance debugging
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_serial | No |
Implementation Reference
- src/adb_mcp_server/server.py:802-805 (handler)The get_gpu_info tool handler function. It runs 'adb shell dumpsys gfxinfo' to retrieve GPU rendering information. The @mcp.tool() decorator registers it with the MCP server.@mcp.tool() def get_gpu_info(device_serial: str | None = None) -> str: """Get GPU rendering information - useful for performance debugging""" return run_adb(["shell", "dumpsys", "gfxinfo"], device_serial)