Skip to main content
Glama

Android Component Status Validator

android_component_status
Read-only

Check Android, Kotlin, and Jetpack API stability to avoid deprecated or removed components. Get replacement API, migration notes, and documentation links.

Instructions

Checks whether an Android/Kotlin API, class, or library is stable, deprecated, or removed. ALWAYS call this before using any class from android., androidx., or kotlin.*. This tool exists because AI tools confidently generate removed and deprecated APIs. Known failures without this check: AsyncTask (removed API 33), TestCoroutineDispatcher (removed coroutines-test 1.8+), ContextualFlowRow (deprecated Compose 1.8), IntentService (deprecated API 30), Handler(Looper.main()) (deprecated API 30), onBackPressed() (deprecated API 33), ProgressDialog (deprecated API 26). Returns status, replacement API, migration notes, and official documentation link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
component_nameYesFull or short class name to validate. E.g. 'AsyncTask', 'android.widget.ProgressDialog', 'LiveData'.
Behavior5/5

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

Read-only annotation is consistent with description. Description adds valuable behavioral context: it prevents use of removed/deprecated APIs, and lists known failures. No contradictions.

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?

Single paragraph with clear front-loading of purpose and usage. Could be slightly more structured (e.g., bullet points) but no unnecessary sentences.

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?

Covers purpose, usage, examples, and return info (status, replacement, migration notes, link). Lacks details on return format or error handling, but sufficient for a simple validation 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 already fully describes parameter with 100% coverage. Description reinforces example values but does not add new semantic information beyond schema.

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?

Clearly states it checks stability/deprecation/removal of Android/Kotlin components. Distinguishes from sibling tools like android_api_level_check by focusing on API status rather than API level. Provides specific examples of known failures.

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

Usage Guidelines5/5

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

Explicitly instructs to call before using any class from android.*, androidx.*, or kotlin.*. Provides context about AI tool failures and lists specific examples of removed/deprecated APIs.

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/VIKAS9793/AndroJack-mcp'

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