Skip to main content
Glama

act

Destructive

Do one thing on the phone, then wait until the screen settles. Prefer element numbers from observe over coordinates; tap_text taps the element whose text contains text. Typing goes into the focused field (tap it first) and works in any language. Returns what happened; "the screen did not change" means the action probably missed - observe again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNox in screenshot pixels (tap, long_press, swipe start)
yNoy in screenshot pixels
msNoswipe / long_press duration in ms
x2Noswipe end x
y2Noswipe end y
textNotype: the text; key: home|back|recents|enter|tab|del|menu; scroll: down|up; open_app/close_app: package; open_url: https://...; tap_text/wait_text: text on screen; settings: wifi|bluetooth|display|sound|apps|location|about|battery|...; intent: a URI to view (geo:, tel:, https:...) or JSON {action,data,package,component,extras}; clipboard_set: the text
actionYesone of: tap long_press swipe scroll tap_text wait_text type key open_app close_app open_url installed intent settings clipboard_set notifications_open notifications_close notifications_clear
deviceYesDevice name from devices (op=list), e.g. dev_04f2
elementNoelement number from the last observe (tap, long_press)
timeoutNowait_text: seconds to wait, up to 120

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / action / description
      Added value: +"one of: tap long_press swipe scroll tap_text wait_text type key open_app close_app open_url installed intent settings clipboard_set notifications_open notifications_close notifications_clear"
    • addedInput schema / properties / device / description
      Added value: +"Device name from devices (op=list), e.g. dev_04f2"
    • addedInput schema / properties / element
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "element number from the last observe (tap, long_press)",
      +  "title": "Element"
      +}
    • addedInput schema / properties / ms / description
      Added value: +"swipe / long_press duration in ms"
    • addedInput schema / properties / text / description
      Added value: +"type: the text; key: home|back|recents|enter|tab|del|menu; scroll: down|up; open_app/close_app: package; open_url: https://...; tap_text/wait_text: text on screen; settings: wifi|bluetooth|display|sound|apps|location|about|battery|...; intent: a URI to view (geo:, tel:, https:...) or JSON {action,data,package,component,extras}; clipboard_set: the text"
    • addedInput schema / properties / timeout / description
      Added value: +"wait_text: seconds to wait, up to 120"
    • addedInput schema / properties / x / description
      Added value: +"x in screenshot pixels (tap, long_press, swipe start)"
    • addedInput schema / properties / x2 / description
      Added value: +"swipe end x"
    • addedInput schema / properties / y / description
      Added value: +"y in screenshot pixels"
    • addedInput schema / properties / y2 / description
      Added value: +"swipe end y"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.