Skip to main content
Glama

analyze_vhal_implementation

Analyze Android source code to reveal how a vHAL property is implemented, including code, file paths, and usage examples for a specified Android version.

Instructions

Analyze Android source code to show how a vHAL property is implemented, including actual source code, file locations, and usage examples.

Args:
    property_name: The vHAL property name to analyze (e.g., "HVAC_STEERING_WHEEL_HEAT", "SEAT_MEMORY_SELECT")
    android_version: Optional Android version to analyze (e.g., "android13", "android14", "android15", "android16")
                    If not specified, uses Android 15 as default. Supported versions:
                    - android13: Android 13 (first vHAL introduction)
                    - android14: Android 14 (major vHAL changes)
                    - android15: Android 15 (current stable, default)
                    - android16: Android 16 (latest)

Returns:
    Comprehensive analysis of the property implementation including source code, dependencies, and usage examples

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
property_nameYes
android_versionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool analyzes source code and returns comprehensive analysis including source code, dependencies, and usage examples. However, it does not mention read-only behavior, potential errors (e.g., property not found), or any limitations (e.g., network access). For a read-only analysis tool, the lack of explicit safety disclosure is a slight gap.

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 and well-structured with separate sections for Args and Returns. Every sentence adds value: main purpose, parameter details, and return overview. No fluff or redundancy.

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 tool has an output schema (not shown) and two parameters with exhaustive description coverage, the description is mostly complete. It doesn't explain behavior for invalid property names or missing versions, but the Args section is thorough. Slightly more context on edge cases would push it to 5.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates. It explains property_name with concrete examples (HVAC_STEERING_WHEEL_HEAT, SEAT_MEMORY_SELECT) and android_version with all supported values, default, and context (e.g., 'first vHAL introduction'). This adds meaning far beyond the bare schema field names.

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 purpose: to analyze Android source code and show how a vHAL property is implemented, including source code, file locations, and usage examples. This is a specific verb+resource+scope and differentiates from siblings like summarize_vhal (which likely summarizes) and lookup_android_source_code (which likely looks up generic source code).

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 implies usage: use when you need detailed implementation analysis of a vHAL property. However, it does not explicitly state when to prefer this over alternatives like summarize_vhal or generate_vhal_implementation_code, nor does it provide exclusions. The arg descriptions give some context (e.g., default Android version), but no when/when-not guidance.

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/feevlic/vhal-mcp-server'

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