Skip to main content
Glama
Starlordzz

multi_uiautomator2

by Starlordzz

ai_debug_screen

Diagnose Android screen for crashes, ANRs, permission blockers, or overlays and report findings; optionally auto-fix by setting auto_fix=true.

Instructions

Diagnose the current screen for crashes, ANRs, permission blockers or unexpected overlays and report findings; with auto_fix=true it also attempts recovery. Requires OPENAI_API_KEY (or LLM_* env).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
auto_fixNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

The description discloses that it reports findings and optionally attempts recovery when auto_fix=true, which is useful transparency. However, it does not explain what recovery actions may be taken, whether they can modify app state, or what the default read-only behavior entails, leaving side effects partially unspecified.

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 compact and well-structured, using two sentences to cover purpose, output, optional behavior, and a prerequisite. Every sentence contributes useful information with no redundant or vague filler.

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 simple parameter list and no output schema, the description covers the tool's purpose, optional configuration, and prerequisite. 'Report findings' is somewhat vague about the exact output format, and 'attempts recovery' lacks detail, but the overall context is sufficient for basic invocation.

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

Parameters4/5

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

The only parameter, auto_fix, has schema title and default but no schema description. The tool description supplies meaning by stating that auto_fix=true enables recovery attempts, effectively covering the parameter's role. It could be more explicit about the default false behavior, but the semantic gap is mostly filled.

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 states a specific verb ('diagnose'), a clear resource ('current screen'), and specific conditions being detected (crashes, ANRs, permission blockers, unexpected overlays), followed by reporting findings. This clearly distinguishes it from sibling tools like ai_understand_screen or find_element.

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?

The description gives a prerequisite (requires OPENAI_API_KEY or LLM_* env) and behavior for auto_fix=true, but provides no explicit guidance on when to choose this tool over related siblings such as ai_understand_screen or ai_execute_goal. It lacks when-to-use and when-not-to-use direction.

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