Skip to main content
Glama

start_app_activity

Launch an Android app or a specific activity on a connected device. Provide the package name to open the default launcher, or include the full activity path to target a particular screen.

Instructions

Launch an app or a specific activity on the device. If activity is not provided, launches the default launcher activity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialNoSpecific device serial number
packageNameYesPackage name of the app (e.g. 'com.example.app')
activityNameNoFull main activity path name (e.g. '.MainActivity' or 'com.example.app/.MainActivity')
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden of behavioral disclosure. It adds useful context about the default launcher activity behavior, but it does not mention failure cases (e.g., app not installed), whether the call blocks, or any prerequisites. This is partial transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise: two sentences with no redundant information. It front-loads the core purpose and immediately follows with a useful behavioral detail. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple launch tool with three well-documented parameters and no output schema, the description covers the essential function and the key nuance of default activity behavior. It could mention error handling or prerequisites, but the level of detail is appropriate for this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers all parameters at 100% coverage, so the baseline is 3. The description adds value by explaining the optionality of activityName and what happens if it is omitted, which is not explicitly clear from the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function with a specific verb and resource: 'Launch an app or a specific activity on the device.' This distinguishes it from sibling tools like install_app or force_stop_app, which serve different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use the tool (to launch an app or specific activity) and even mentions the fallback behavior when no activity is provided. However, it does not explicitly mention exclusions or alternative tools, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/abhinav7895/adb-mcp-server'

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