Skip to main content
Glama

Install SDK Packages

sdk_install
Idempotent

Installs Android SDK packages such as platforms, build tools, and system images so Android builds and emulators have required dependencies.

Instructions

Install Android SDK packages (system images, build tools, platforms, etc.)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "packages": "<packages>"
    },
    "name": "sdk_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
packagesYesPackage names to install, e.g. ['platforms;android-35', 'system-images;android-35;google_apis;arm64-v8a']

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare the full profile (not read-only, idempotent, open-world, non-destructive). The description adds nothing beyond that — no mention of downloads over the network, disk consumption, behavior when a package is already installed, or whether Android SDK licenses must be accepted first.

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

Conciseness4/5

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

A single front-loaded sentence with no filler. It is appropriately sized, though it spends its few words on a parenthetical list rather than on guidance the schema doesn't already provide.

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

Completeness3/5

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

For a one-parameter tool with a rich schema and annotations, the definition is minimally adequate. It omits license/prerequisite behavior and where to obtain valid package names, which matter for an open-world install operation.

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 coverage is 100% and the schema example already shows fully-qualified package identifiers like 'platforms;android-35', which is the crucial syntactic detail. The description's parenthetical adds only a category-level hint, roughly duplicating the schema. Baseline 3 applies.

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

Purpose4/5

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

States a specific verb ('Install') and resource ('Android SDK packages') and enumerates examples (system images, build tools, platforms). This clearly separates it from apk_install and sdk_list, though the name already carries most of this.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not guidance, no mention of sdk_list as the way to discover valid package names, and no statement of prerequisites such as license acceptance or network access. The caller must infer all of this.

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