Skip to main content
Glama

get_anr_traces

Retrieve ANR traces to diagnose Application Not Responding issues on Android devices for debugging and performance analysis.

Instructions

Get ANR (Application Not Responding) traces

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_serialNo

Implementation Reference

  • The main handler function for the 'get_anr_traces' tool. It is registered via the @mcp.tool() decorator and implements the logic by executing an ADB shell command to read the ANR traces file (/data/anr/traces.txt) using the run_adb utility function.
    @mcp.tool() def get_anr_traces(device_serial: str | None = None) -> str: """Get ANR (Application Not Responding) traces""" return run_adb(["shell", "cat", "/data/anr/traces.txt"], device_serial)

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/rahulkr/r_adb_mcp_server'

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