Skip to main content
Glama

Android Debug Bridge MCP

by TiagoDanin
definitions.ts3.08 kB
export const toolDefinitions = [ { name: 'create_test_folder', description: 'Create a test folder with the specified name', inputSchema: { type: 'object', properties: { test_name: { type: 'string', description: 'Name of the test folder to create', }, }, required: ['test_name'], }, }, { name: 'list_apps', description: 'List installed apps matching a name pattern', inputSchema: { type: 'object', properties: { app_name: { type: 'string', description: 'Name pattern to search for in app packages', }, }, required: ['app_name'], }, }, { name: 'open_app', description: 'Open an app using its package name and activity', inputSchema: { type: 'object', properties: { package_name: { type: 'string', description: 'Full package name of the app (e.g., com.example.app)', }, }, required: ['package_name'], }, }, { name: 'capture_screenshot', description: 'Capture a screenshot and save it to the test folder', inputSchema: { type: 'object', properties: { test_name: { type: 'string', description: 'Name of the test folder where to save the screenshot', }, step_name: { type: 'string', description: 'Name of the step for the screenshot file (e.g., "001_login")', }, }, required: ['test_name', 'step_name'], }, }, { name: 'capture_ui_dump', description: 'Capture UI hierarchy dump from the device', inputSchema: { type: 'object', properties: {}, }, }, { name: 'input_keyevent', description: 'Send key events (BACK, HOME, ENTER, DELETE)', inputSchema: { type: 'object', properties: { key: { type: 'string', enum: ['BACK', 'HOME', 'ENTER', 'DELETE'], description: 'Key event to send', }, }, required: ['key'], }, }, { name: 'input_tap', description: 'Tap at specific coordinates', inputSchema: { type: 'object', properties: { x: { type: 'number', description: 'X coordinate for tap', }, y: { type: 'number', description: 'Y coordinate for tap', }, }, required: ['x', 'y'], }, }, { name: 'input_text', description: 'Input text into the current field', inputSchema: { type: 'object', properties: { text: { type: 'string', description: 'Text to input', }, }, required: ['text'], }, }, { name: 'input_scroll', description: 'Perform scroll action', inputSchema: { type: 'object', properties: { direction: { type: 'string', enum: ['up', 'down', 'left', 'right'], description: 'Direction to scroll', }, }, required: ['direction'], }, }, ];

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/TiagoDanin/Android-Debug-Bridge-MCP'

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