Skip to main content
Glama

DroidMind

shell_command

Execute shell commands on Android devices via DroidMind, specifying device serial, command, and output limits for precise control and efficient response handling.

Instructions

Run a shell command on the device.

Args: serial: Device serial number command: Shell command to run max_lines: Maximum lines of output to return (default: 1000) Use positive numbers for first N lines, negative for last N lines Set to None for unlimited (not recommended for large outputs) max_size: Maximum output size in characters (default: 100000) Limits total response size regardless of line count

Returns: Command output

Input Schema

NameRequiredDescriptionDefault
commandYes
max_linesNo
max_sizeNo
serialYes

Input Schema (JSON Schema)

{ "properties": { "command": { "title": "Command", "type": "string" }, "max_lines": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 1000, "title": "Max Lines" }, "max_size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 100000, "title": "Max Size" }, "serial": { "title": "Serial", "type": "string" } }, "required": [ "serial", "command" ], "title": "shell_commandArguments", "type": "object" }

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/hyperb1iss/droidmind'

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