Skip to main content
Glama
MauricePutinas

Android Studio MCP

as_apk_info

Read-onlyIdempotent

Extracts and summarizes APK details: package name, version code and name, minimum and target SDK levels, permissions, label, and launchable activity using aapt2 badging with fallback to apkanalyzer.

Instructions

Summarise an APK: package, version, SDK levels, permissions, label.

Uses aapt2 badging (most reliable) and falls back to apkanalyzer.

Args: params (ApkInput): apk_path.

Returns: str: JSON with package, version_code/name, min_sdk, target_sdk, label, launchable_activity and permissions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already provide readOnlyHint, destructiveHint, idempotentHint. The description adds context: it uses aapt2 badging as the primary method and falls back to apkanalyzer, which informs reliability and behavior beyond what annotations convey.

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 with a front-loaded summary of purpose, followed by technical method and structured Args/Returns. Every sentence adds value; no wasted words.

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?

Given the strong annotations (readOnly, idempotent) and the presence of an output schema, the description covers the core functionality well. It could mention error handling for invalid APKs, but overall is sufficient for a straightforward read tool.

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

Parameters3/5

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

Schema description coverage is 0% per context, but the schema itself includes a description for apk_path. The tool description merely mentions 'apk_path' without additional details. It lists return fields but does not compensate for limited parameter documentation.

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 it summarizes an APK and lists key output fields (package, version, SDK levels, etc.). It distinguishes from sibling tools like as_apk_compare or as_apk_filesize by focusing on manifest metadata extraction.

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

Usage Guidelines3/5

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

The description does not explicitly state when to use this tool versus alternatives like as_apk_compare or as_apk_verify_signature. It implies usage for general APK info extraction but lacks exclusions or guidance on when not to use.

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/MauricePutinas/Android-Studio-MCP-Claude-Code'

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