Skip to main content
Glama
MauricePutinas

Android Studio MCP

as_ui_invoke_action

Destructive

Invoke any Android Studio IDE action via Find Action (Ctrl+Shift+A). Access commands like Sync Project with Gradle Files or Rebuild Project, with verification screenshot.

Instructions

Invoke any IDE action via Find Action (Ctrl+Shift+A). Requires confirm=true.

This opens Find Action, types the action name and presses Enter — giving access to essentially any IDE command (e.g. 'Sync Project with Gradle Files', 'Rebuild Project', 'Reformat Code'). It is a best-effort UI path; verify the result with the returned screenshot. Prefer dedicated tools where they exist.

Args: params (InvokeActionInput): action (name), confirm, screenshot_after.

Returns: str: JSON with the result and a verification screenshot path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations indicate destructiveHint=true and openWorldHint=true. The description adds context: it drives IDE via UI (Find Action), best-effort, and needs verification. No contradiction with annotations.

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 clear structure: summary, mechanism, usage note, and structured args/returns. Every sentence adds value.

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

Completeness5/5

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

Given the tool's complexity (single parameter with nested object, output schema present), the description fully explains behavior, requirements, and verification process. It is complete for effective use.

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?

The input schema already fully describes each parameter with detailed descriptions. The description only adds 'Requires confirm=true' which is already in schema as default=false but with description stating it must be true. Minimal additional value.

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 invokes IDE actions via Find Action, provides specific examples like 'Sync Project with Gradle Files', and distinguishes itself by recommending dedicated tools where available.

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?

It explicitly requires confirm=true, describes when to use (any IDE command), and advises preferring dedicated tools. It also notes it's a best-effort UI path and to verify with screenshot.

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