Skip to main content
Glama
MauricePutinas

Android Studio MCP

as_gradle_stop

Idempotent

Stop all Gradle daemons for an Android project to free memory and clear stuck build states.

Instructions

Stop all Gradle daemons for the project (frees memory, clears stuck state).

Args: params (GradleProjectInput): project_dir, timeout.

Returns: str: JSON with command output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations indicate idempotentHint=true, destructiveHint=false. The description adds behavioral context: 'frees memory, clears stuck state' explains benefits, and 'Stop all Gradle daemons' clarifies the effect. 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 extremely concise: one line for purpose, a short Args/Returns block, and no unnecessary text. Front-loaded with the tool's core action.

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's simplicity, the description covers the main action and benefit. However, it does not detail the output format beyond 'JSON with command output,' and lacks guidance on when to use in relation to other gradle operations. Still mostly complete for this specific tool.

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

Parameters2/5

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

Schema description coverage is 0% per context, so description must compensate. The description only lists parameter names ('project_dir, timeout') without explaining their purpose or format, failing to add meaning beyond the schema's property 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 stops all Gradle daemons for the project, specifying the verb 'Stop' and resource 'Gradle daemons'. The parenthetical 'frees memory, clears stuck state' adds context. It distinguishes from other gradle siblings that build, test, or run tasks.

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 scenarios via 'frees memory, clears stuck state' but does not explicitly state when to use this tool vs alternatives or provide exclusions. No direct comparison with other gradle tools.

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