Skip to main content
Glama
Android Use
by JackCaow

aua_tap

Tap once on an Android screen by selector, x/y coordinates, or visual target; return candidates when ambiguous and optionally wait for a selector state without replaying the action.

Instructions

Tap once by selector OR x/y display pixels OR visual (aua_locate args: Jev Box with the images opt-in). visual taps the box center only when located, after rechecking the pixels around the box, never in batch. Ambiguity returns candidates and a screenshot. Optional wait_for waits for visible/gone selector after action; timeout never replays it. Optional observation_id checks same runtime/app/display context. No automatic replay.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "aua_tap"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
visualNo
observeNonone
selectorNo
wait_forNo
observation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.0
    • addedInput schema / $defs / LocateArgs
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "description": {
      +      "maxLength": 300,
      +      "minLength": 1,
      +      "title": "Description",
      +      "type": "string"
      +    },
      +    "masks": {
      +      "items": {
      +        "$ref": "#/$defs/Region"
      +      },
      +      "maxItems": 8,
      +      "title": "Masks",
      +      "type": "array"
      +    },
      +    "min_confidence": {
      +      "default": 0.5,
      +      "maximum": 1,
      +      "minimum": 0,
      +      "title": "Min Confidence",
      +      "type": "number"
      +    },
      +    "min_presence": {
      +      "default": 0.7,
      +      "maximum": 1,
      +      "minimum": 0.5,
      +      "title": "Min Presence",
      +      "type": "number"
      +    },
      +    "package": {
      +      "pattern": "^[a-zA-Z][a-zA-Z0-9_]*(\\.[a-zA-Z0-9_]+)+$",
      +      "title": "Package",
      +      "type": "string"
      +    },
      +    "region": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/Region"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null
      +    },
      +    "timeout_seconds": {
      +      "default": 20,
      +      "exclusiveMinimum": 0,
      +      "maximum": 60,
      +      "title": "Timeout Seconds",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "package",
      +    "description"
      +  ],
      +  "title": "LocateArgs",
      +  "type": "object"
      +}
    • addedInput schema / $defs / Region
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "height": {
      +      "exclusiveMinimum": 0,
      +      "title": "Height",
      +      "type": "integer"
      +    },
      +    "width": {
      +      "exclusiveMinimum": 0,
      +      "title": "Width",
      +      "type": "integer"
      +    },
      +    "x": {
      +      "minimum": 0,
      +      "title": "X",
      +      "type": "integer"
      +    },
      +    "y": {
      +      "minimum": 0,
      +      "title": "Y",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "x",
      +    "y",
      +    "width",
      +    "height"
      +  ],
      +  "title": "Region",
      +  "type": "object"
      +}
    • addedInput schema / properties / visual
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/LocateArgs"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. Changed2 schema fields changedv0.5.2
    • addedInput schema / $defs / WaitCondition
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "selector": {
      +      "$ref": "#/$defs/Selector"
      +    },
      +    "state": {
      +      "default": "visible",
      +      "enum": [
      +        "visible",
      +        "gone"
      +      ],
      +      "title": "State",
      +      "type": "string"
      +    },
      +    "timeout_seconds": {
      +      "default": 5,
      +      "maximum": 20,
      +      "minimum": 0,
      +      "title": "Timeout Seconds",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "selector"
      +  ],
      +  "title": "WaitCondition",
      +  "type": "object"
      +}
    • addedInput schema / properties / wait_for
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/WaitCondition"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  3. First observedv0.2.1

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-idempotent, open-world mutation. The description adds real value beyond that: ambiguity returns candidates plus a screenshot, the visual mode rechecks pixels around the box before tapping, wait_for timeouts never replay the action, and observation_id enforces same runtime/app/display context. These are genuine failure-mode and safety disclosures, though the jargon-heavy phrasing blunts their usefulness.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The three targeting modes are correctly front-loaded in the first clause, which is good structure. But the prose is telegraphic and overloaded with unexplained shorthand ('Jev Box', 'images opt-in'), so several clauses cost the reader more than they return.

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

Completeness3/5

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

For a 7-parameter, all-optional mutation tool with no output schema, the description covers the risky behaviors (no replay, no batch, ambiguity returns candidates) reasonably well. It is still missing the observe parameter and any hint of what a successful tap returns, leaving a meaningful gap for an agent composing a call.

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 description coverage is 0%, so the description must carry the load. It explains selector, x/y, visual, wait_for, and observation_id at a high level, but the 'observe' enum (none/tree/screenshot/both) — the only enum in the top-level schema — goes completely unmentioned, and no parameter semantics are given beyond naming.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (tap once) and three distinct targeting modes: selector, x/y display pixels, or visual locate args. It ties the visual mode to a sibling (aua_locate args) which helps orientation, but 'Jev Box with the images opt-in' is opaque jargon that an agent cannot reliably decode, and the neighbouring aua_double_tap / aua_long_press are never distinguished from it.

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?

Usage context is implied by the three modes and the constraint that visual taps are 'never in batch', plus 'No automatic replay.' However, it never says when to pick selector over x/y over visual, nor when to use this instead of aua_double_tap, aua_long_press, or aua_batch, so the agent must infer routing.

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