Skip to main content
Glama

Get application id

get_app_id
Read-only

Parses a module's build.gradle to retrieve its applicationId (package name), required for install, launch, and log operations.

Instructions

Get the applicationId (package name) of a module, parsed from its build.gradle(.kts). Needed by install/launch/log tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
moduleNoModule name (defaults to session)
variantNoVariant, used to warn about applicationIdSuffix
projectDirNoProject root (defaults to session)
Behavior3/5

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

The annotations already declare readOnlyHint=true, so the agent knows this is a safe read operation. The description adds a small behavioral detail (parsing from build.gradle) but does not disclose potential failure modes, return value structure, or other traits beyond what the annotation implies.

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 a single, well-structured sentence that front-loads the purpose and includes a brief usage note. Every word contributes value with no redundancy or extraneous information.

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?

The tool is simple with no output schema and safe read-only annotations. The description covers purpose, method, and usage context, while the schema handles parameters. It is adequately complete for the tool's complexity, missing only explicit return-value details which are implied.

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 100% (all three parameters have descriptions), so the schema already provides full parameter semantics. The description does not add any additional detail about parameters, earning the baseline score of 3.

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 ('Get') and resource ('the applicationId (package name) of a module'). It also explains the method ('parsed from its build.gradle(.kts)') and distinguishes it from siblings like get_app_info by focusing on the package name specifically.

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 by noting it is 'Needed by install/launch/log tools,' implying when to use it as a prerequisite. However, it does not explicitly list alternatives or when-not scenarios, so it stops short of the highest rating.

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/dev-jackson/androidbuild-mcp'

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