Skip to main content
Glama

reset_density

Restore Android device display density to its original physical default setting. Fixes UI scaling issues by resetting DPI values to factory specifications.

Instructions

Reset density to physical default

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_serialNo

Implementation Reference

  • The handler function for the 'reset_density' tool. It resets the Android device's screen density to its physical default by executing the ADB shell command 'wm density reset'. Supports optional device_serial parameter.
    @mcp.tool() def reset_density(device_serial: str | None = None) -> str: """Reset density to physical default""" return run_adb(["shell", "wm", "density", "reset"], 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