Skip to main content
Glama

get_ui

Retrieve the current UI hierarchy to identify interactive elements with text, IDs, and coordinates for mobile device automation on Android and iOS platforms.

Instructions

Get the current UI hierarchy (accessibility tree). Shows all interactive elements with their text, IDs, and coordinates. Note: Limited on iOS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
showAllNoShow all elements including non-interactive ones
platformNoTarget platform. If not specified, uses the active device.

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/AlexGladkov/claude-in-mobile'

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