Skip to main content
Glama

Find an element and act

find
Destructive

Locate UI elements by text, label, value, role, or ID, then run an action such as click, focus, or type; actions default to click.

Instructions

Find by text/label/value/role/id and run action; the action defaults to click. The role locator matches snapshot kind vocabulary (button, text, text-field, switch, ...); pre-reconciliation leaf spellings (statictext, edittext, textview) stay accepted on the nodes that carried them during a deprecation window. The focus and type actions aim at a text field: the match or the field holding it, even beside other fields, or else the one enabled on-screen field inside the match. Several enabled on-screen fields inside the match refuse with AMBIGUOUS_MATCH and the field candidates, and a disabled target refuses with reason target_disabled. Web text boxes are not recognized as text fields. Times out after 90s.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "find"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNo
lastNo
udidNoApple device or simulator UDID.
depthNo
firstNo
queryYes
valueNo
actionNo
deviceNoDevice name; ids go in udid or serial.
recordNoForce-record this out-of-band observation into a repair-armed heal (mutually exclusive with noRecord). Authored replay steps are recorded automatically and never need this. On find, valid only for a read-only action.
serialNoAndroid, HarmonyOS, or Vega VVD serial.
locatorNo
sessionNoSession name.
noRecordNoDo not record this action.
platformNoDevice platform.
timeoutMsNo
deviceTargetNoDevice form factor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.21.38
    • removedInput schema / properties / debug
      Removed value: -{
      -  "description": "Enable debug diagnostics.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / includeCost
      Removed value: -{
      -  "description": "Add agent cost (cost.wallClockMs, …) to the result, returned as JSON text.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / mcpOutputFormat
      Removed value: -{
      -  "description": "Result text: compact optimized (default) or the full result as JSON (larger).",
      -  "enum": [
      -    "optimized",
      -    "json"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / responseLevel
      Removed value: -{
      -  "description": "Result detail: digest (smallest) or full (largest), as JSON; default is compact text.",
      -  "enum": [
      -    "digest",
      -    "default",
      -    "full"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / target
      Removed value: -{
      -  "description": "Alias for deviceTarget.",
      -  "enum": [
      -    "mobile",
      -    "tv",
      -    "desktop"
      -  ],
      -  "type": "string"
      -}
  2. Changed15 schema fields changedv0.21.37
    • removedInput schema / properties / androidDeviceAllowlist
      Removed value: -{
      -  "description": "Android serial allowlist used for device resolution.",
      -  "type": "string"
      -}
    • changedInput schema / properties / device / description
      Previous value: -"Device name selector (a UDID belongs in udid, a serial in serial)."New value: +"Device name; ids go in udid or serial."
    • changedInput schema / properties / deviceTarget / description
      Previous value: -"Device target form. Maps to the CLI --target flag."New value: +"Device form factor."
    • changedInput schema / properties / includeCost / description
      Previous value: -"Include per-command agent-cost (cost.wallClockMs, …) in structuredContent. Defaults to off; the default response shape is unchanged."New value: +"Add agent cost (cost.wallClockMs, …) to the result, returned as JSON text."
    • removedInput schema / properties / leaseId
      Removed value: -{
      -  "description": "Existing lease identifier.",
      -  "type": "string"
      -}
    • changedInput schema / properties / mcpOutputFormat / description
      Previous value: -"MCP text content format. Defaults to optimized agent-friendly text; use json for JSON text. Structured content is always returned separately."New value: +"Result text: compact optimized (default) or the full result as JSON (larger)."
    • changedInput schema / properties / platform / description
      Previous value: -"Platform selector used to resolve a device."New value: +"Device platform."
    • changedInput schema / properties / responseLevel / description
      Previous value: -"Response verbosity: token-cheap digest / default (today) / full. Defaults to default; the default response shape is unchanged."New value: +"Result detail: digest (smallest) or full (largest), as JSON; default is compact text."
    • removedInput schema / properties / runId
      Removed value: -{
      -  "description": "Lease run identifier.",
      -  "type": "string"
      -}
    • changedInput schema / properties / serial / description
      Previous value: -"Android, HarmonyOS, or Vega VVD serial selector."New value: +"Android, HarmonyOS, or Vega VVD serial."
    • changedInput schema / properties / session / description
      Previous value: -"Agent-device session name."New value: +"Session name."
    • changedInput schema / properties / target / description
      Previous value: -"Alias for deviceTarget on commands without a UI target field. Interaction commands reserve target for the UI element."New value: +"Alias for deviceTarget."
    • removedInput schema / properties / tenant
      Removed value: -{
      -  "description": "Remote tenant identifier.",
      -  "type": "string"
      -}
    • changedInput schema / properties / udid / description
      Previous value: -"Apple device or simulator UDID; the selector that pins one device when several share a name."New value: +"Apple device or simulator UDID."
    • changedOutput schema / (root)
      Previous value: -{
      -  "description": "Daemon response data for the find command.",
      -  "properties": {
      -    "cost": {
      -      "properties": {
      -        "nodeCount": {
      -          "description": "Number of nodes in the original node tree when the response carries one.",
      -          "type": "number"
      -        },
      -        "runnerRoundTrips": {
      -          "description": "Number of real runner round-trips made while serving the request.",
      -          "type": "number"
      -        },
      -        "wallClockMs": {
      -          "description": "Total wall-clock time for the request in milliseconds.",
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "wallClockMs",
      -        "runnerRoundTrips"
      -      ],
      -      "type": "object"
      -    },
      -    "found": {
      -      "description": "Whether a wait/exists/read-only find satisfied its condition.",
      -      "type": "boolean"
      -    },
      -    "locator": {
      -      "description": "Locator kind used for the find action.",
      -      "type": "string"
      -    },
      -    "matches": {
      -      "description": "Every match for the read-only find list action (#1625): { ref, node } each.",
      -      "items": {
      -        "additionalProperties": true,
      -        "description": "One listed match with its snapshot ref and node.",
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "message": {
      -      "description": "Diagnostic message for mutating find actions.",
      -      "type": "string"
      -    },
      -    "node": {
      -      "additionalProperties": true,
      -      "description": "Snapshot node for find get_attrs/get_text.",
      -      "type": "object"
      -    },
      -    "query": {
      -      "description": "Query argument used for the find action.",
      -      "type": "string"
      -    },
      -    "ref": {
      -      "description": "Snapshot ref without the @ prefix when the find action returns one.",
      -      "type": "string"
      -    },
      -    "refsGeneration": {
      -      "description": "ADR 0014 ref frame epoch for read-only find actions.",
      -      "type": "number"
      -    },
      -    "text": {
      -      "description": "Text value returned by find get_text.",
      -      "type": "string"
      -    },
      -    "waitedMs": {
      -      "description": "Milliseconds waited for a read-only find condition.",
      -      "type": "number"
      -    },
      -    "x": {
      -      "description": "Resolved x coordinate for mutating find actions.",
      -      "type": "number"
      -    },
      -    "y": {
      -      "description": "Resolved y coordinate for mutating find actions.",
      -      "type": "number"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. Changed3 schema fields changedv0.21.0
    • changedInput schema / properties / device / description
      Previous value: -"Device name selector."New value: +"Device name selector (a UDID belongs in udid, a serial in serial)."
    • changedInput schema / properties / serial / description
      Previous value: -"Android device or Vega VVD serial selector."New value: +"Android, HarmonyOS, or Vega VVD serial selector."
    • changedInput schema / properties / udid / description
      Previous value: -"iOS device UDID selector."New value: +"Apple device or simulator UDID; the selector that pins one device when several share a name."
  4. Changed9 schema fields changedv0.20.10
    • removedInput schema / properties / cwd
      Removed value: -{
      -  "description": "Working directory for command execution.",
      -  "type": "string"
      -}
    • removedInput schema / properties / daemonAuthToken
      Removed value: -{
      -  "description": "Remote daemon auth token.",
      -  "type": "string"
      -}
    • removedInput schema / properties / daemonBaseUrl
      Removed value: -{
      -  "description": "Remote daemon base URL.",
      -  "type": "string"
      -}
    • removedInput schema / properties / iosSimulatorDeviceSet
      Removed value: -{
      -  "description": "iOS simulator device-set path used for device resolution.",
      -  "type": "string"
      -}
    • removedInput schema / properties / iosXctestDerivedDataPath
      Removed value: -{
      -  "description": "Derived data path for external iOS XCTest runner execution.",
      -  "type": "string"
      -}
    • removedInput schema / properties / iosXctestEnvDir
      Removed value: -{
      -  "description": "Writable directory for iOS XCTest runner env overlays.",
      -  "type": "string"
      -}
    • removedInput schema / properties / iosXctestrunFile
      Removed value: -{
      -  "description": "Externally built iOS XCTest runner .xctestrun artifact path.",
      -  "type": "string"
      -}
    • removedInput schema / properties / stateDir
      Removed value: -{
      -  "description": "Agent-device state directory.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / settle
      Removed value: -{
      -  "properties": {
      -    "captures": {
      -      "type": "number"
      -    },
      -    "diff": {
      -      "description": "Settled diff vs the pre-action tree (changed lines only).",
      -      "properties": {
      -        "lines": {
      -          "items": {
      -            "properties": {
      -              "kind": {
      -                "enum": [
      -                  "added",
      -                  "removed"
      -                ],
      -                "type": "string"
      -              },
      -              "ref": {
      -                "description": "Plain ref body (e12) for added lines.",
      -                "type": "string"
      -              },
      -              "text": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "kind",
      -              "text"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "summary": {
      -          "properties": {
      -            "additions": {
      -              "type": "number"
      -            },
      -            "removals": {
      -              "type": "number"
      -            },
      -            "unchanged": {
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "additions",
      -            "removals",
      -            "unchanged"
      -          ],
      -          "type": "object"
      -        },
      -        "truncated": {
      -          "description": "Lines were capped to the response bound.",
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "summary",
      -        "lines"
      -      ],
      -      "type": "object"
      -    },
      -    "hint": {
      -      "type": "string"
      -    },
      -    "quietMs": {
      -      "type": "number"
      -    },
      -    "refs": {
      -      "items": {
      -        "properties": {
      -          "ref": {
      -            "description": "Plain ref body (e12) minted from the stored settled tree.",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "ref"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "refsGeneration": {
      -      "description": "Snapshot generation of the stored settled tree; refs on added diff lines were minted from it.",
      -      "type": "number"
      -    },
      -    "settled": {
      -      "description": "Whether the UI held the quiet window before the deadline. false is advisory, not failure.",
      -      "type": "boolean"
      -    },
      -    "tail": {
      -      "description": "Unchanged interactive refs tail: still-present, actionable elements from the settled tree, attached only when diff carries zero added-line refs (a modal-dismiss/toast-only diff).",
      -      "items": {
      -        "properties": {
      -          "label": {
      -            "type": "string"
      -          },
      -          "ref": {
      -            "description": "Plain ref body (e12) minted from the stored settled tree.",
      -            "type": "string"
      -          },
      -          "role": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "ref",
      -          "role"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "tailTruncated": {
      -      "description": "Present (true) when tail candidates exceeded the response cap.",
      -      "type": "boolean"
      -    },
      -    "timeoutMs": {
      -      "type": "number"
      -    },
      -    "waitedMs": {
      -      "type": "number"
      -    }
      -  },
      -  "required": [
      -    "settled",
      -    "waitedMs",
      -    "captures",
      -    "quietMs",
      -    "timeoutMs"
      -  ],
      -  "type": "object"
      -}
  5. Changed1 schema field changedv0.20.9
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "apple",
      -  "android",
      -  "vega",
      -  "linux",
      -  "web",
      -  "ios",
      -  "macos"
      -]New value: +[
      +  "apple",
      +  "android",
      +  "harmonyos",
      +  "vega",
      +  "linux",
      +  "web",
      +  "ios",
      +  "macos"
      +]
  6. Changed2 schema fields changedv0.20.6
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "click",
      -  "focus",
      -  "exists",
      -  "getText",
      -  "getAttrs",
      -  "wait",
      -  "fill",
      -  "type"
      -]New value: +[
      +  "click",
      +  "focus",
      +  "exists",
      +  "list",
      +  "getText",
      +  "getAttrs",
      +  "wait",
      +  "fill",
      +  "type"
      +]
    • addedOutput schema / properties / matches
      Added value: +{
      +  "description": "Every match for the read-only find list action (#1625): { ref, node } each.",
      +  "items": {
      +    "additionalProperties": true,
      +    "description": "One listed match with its snapshot ref and node.",
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  7. Changed5 schema fields changedv0.20.2
    • addedInput schema / properties / noRecord
      Added value: +{
      +  "description": "Do not record this action.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "apple",
      -  "android",
      -  "linux",
      -  "web",
      -  "ios",
      -  "macos"
      -]New value: +[
      +  "apple",
      +  "android",
      +  "vega",
      +  "linux",
      +  "web",
      +  "ios",
      +  "macos"
      +]
    • addedInput schema / properties / record
      Added value: +{
      +  "description": "Force-record this out-of-band observation into a repair-armed heal (mutually exclusive with noRecord). Authored replay steps are recorded automatically and never need this. On find, valid only for a read-only action.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / serial / description
      Previous value: -"Android serial selector."New value: +"Android device or Vega VVD serial selector."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Daemon response data for the find command.",
      +  "properties": {
      +    "cost": {
      +      "properties": {
      +        "nodeCount": {
      +          "description": "Number of nodes in the original node tree when the response carries one.",
      +          "type": "number"
      +        },
      +        "runnerRoundTrips": {
      +          "description": "Number of real runner round-trips made while serving the request.",
      +          "type": "number"
      +        },
      +        "wallClockMs": {
      +          "description": "Total wall-clock time for the request in milliseconds.",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "wallClockMs",
      +        "runnerRoundTrips"
      +      ],
      +      "type": "object"
      +    },
      +    "found": {
      +      "description": "Whether a wait/exists/read-only find satisfied its condition.",
      +      "type": "boolean"
      +    },
      +    "locator": {
      +      "description": "Locator kind used for the find action.",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "Diagnostic message for mutating find actions.",
      +      "type": "string"
      +    },
      +    "node": {
      +      "additionalProperties": true,
      +      "description": "Snapshot node for find get_attrs/get_text.",
      +      "type": "object"
      +    },
      +    "query": {
      +      "description": "Query argument used for the find action.",
      +      "type": "string"
      +    },
      +    "ref": {
      +      "description": "Snapshot ref without the @ prefix when the find action returns one.",
      +      "type": "string"
      +    },
      +    "refsGeneration": {
      +      "description": "ADR 0014 ref frame epoch for read-only find actions.",
      +      "type": "number"
      +    },
      +    "settle": {
      +      "properties": {
      +        "captures": {
      +          "type": "number"
      +        },
      +        "diff": {
      +          "description": "Settled diff vs the pre-action tree (changed lines only).",
      +          "properties": {
      +            "lines": {
      +              "items": {
      +                "properties": {
      +                  "kind": {
      +                    "enum": [
      +                      "added",
      +                      "removed"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "ref": {
      +                    "description": "Plain ref body (e12) for added lines.",
      +                    "type": "string"
      +                  },
      +                  "text": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "kind",
      +                  "text"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "summary": {
      +              "properties": {
      +                "additions": {
      +                  "type": "number"
      +                },
      +                "removals": {
      +                  "type": "number"
      +                },
      +                "unchanged": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "additions",
      +                "removals",
      +                "unchanged"
      +              ],
      +              "type": "object"
      +            },
      +            "truncated": {
      +              "description": "Lines were capped to the response bound.",
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "summary",
      +            "lines"
      +          ],
      +          "type": "object"
      +        },
      +        "hint": {
      +          "type": "string"
      +        },
      +        "quietMs": {
      +          "type": "number"
      +        },
      +        "refs": {
      +          "items": {
      +            "properties": {
      +              "ref": {
      +                "description": "Plain ref body (e12) minted from the stored settled tree.",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "ref"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "refsGeneration": {
      +          "description": "Snapshot generation of the stored settled tree; refs on added diff lines were minted from it.",
      +          "type": "number"
      +        },
      +        "settled": {
      +          "description": "Whether the UI held the quiet window before the deadline. false is advisory, not failure.",
      +          "type": "boolean"
      +        },
      +        "tail": {
      +          "description": "Unchanged interactive refs tail: still-present, actionable elements from the settled tree, attached only when diff carries zero added-line refs (a modal-dismiss/toast-only diff).",
      +          "items": {
      +            "properties": {
      +              "label": {
      +                "type": "string"
      +              },
      +              "ref": {
      +                "description": "Plain ref body (e12) minted from the stored settled tree.",
      +                "type": "string"
      +              },
      +              "role": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "ref",
      +              "role"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "tailTruncated": {
      +          "description": "Present (true) when tail candidates exceeded the response cap.",
      +          "type": "boolean"
      +        },
      +        "timeoutMs": {
      +          "type": "number"
      +        },
      +        "waitedMs": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "settled",
      +        "waitedMs",
      +        "captures",
      +        "quietMs",
      +        "timeoutMs"
      +      ],
      +      "type": "object"
      +    },
      +    "text": {
      +      "description": "Text value returned by find get_text.",
      +      "type": "string"
      +    },
      +    "waitedMs": {
      +      "description": "Milliseconds waited for a read-only find condition.",
      +      "type": "number"
      +    },
      +    "x": {
      +      "description": "Resolved x coordinate for mutating find actions.",
      +      "type": "number"
      +    },
      +    "y": {
      +      "description": "Resolved y coordinate for mutating find actions.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  8. Changed3 schema fields changedv0.17.11
    • addedInput schema / properties / includeCost
      Added value: +{
      +  "description": "Include per-command agent-cost (cost.wallClockMs, …) in structuredContent. Defaults to off; the default response shape is unchanged.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "ios",
      -  "macos",
      -  "android",
      -  "linux",
      -  "web",
      -  "apple"
      -]New value: +[
      +  "apple",
      +  "android",
      +  "linux",
      +  "web",
      +  "ios",
      +  "macos"
      +]
    • addedInput schema / properties / responseLevel
      Added value: +{
      +  "description": "Response verbosity: token-cheap digest / default (today) / full. Defaults to default; the default response shape is unchanged.",
      +  "enum": [
      +    "digest",
      +    "default",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  9. Changed1 schema field changedv0.17.7
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "ios",
      -  "macos",
      -  "android",
      -  "linux",
      -  "apple"
      -]New value: +[
      +  "ios",
      +  "macos",
      +  "android",
      +  "linux",
      +  "web",
      +  "apple"
      +]
  10. Changed5 schema fields changedv0.17.6
    • addedInput schema / properties / iosXctestDerivedDataPath
      Added value: +{
      +  "description": "Derived data path for external iOS XCTest runner execution.",
      +  "type": "string"
      +}
    • addedInput schema / properties / iosXctestEnvDir
      Added value: +{
      +  "description": "Writable directory for iOS XCTest runner env overlays.",
      +  "type": "string"
      +}
    • addedInput schema / properties / iosXctestrunFile
      Added value: +{
      +  "description": "Externally built iOS XCTest runner .xctestrun artifact path.",
      +  "type": "string"
      +}
    • addedInput schema / properties / mcpOutputFormat
      Added value: +{
      +  "description": "MCP text content format. Defaults to optimized agent-friendly text; use json for JSON text. Structured content is always returned separately.",
      +  "enum": [
      +    "optimized",
      +    "json"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "ios",
      -  "android",
      -  "macos",
      -  "linux",
      -  "apple"
      -]New value: +[
      +  "ios",
      +  "macos",
      +  "android",
      +  "linux",
      +  "apple"
      +]
  11. First observedv0.16.9

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=true; the description adds real behavioral context beyond that, including AMBIGUOUS_MATCH with field candidates, target_disabled refusals, the 90s timeout, and the deprecation window for legacy role spellings. It is consistent with destructiveHint=true since the default action is click, though it does not spell out what click does to the app state.

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 purpose is front-loaded and no sentence is pure filler, but the body is a single dense block of run-on clauses, with the deprecation-window detail consuming significant space relative to its niche relevance and the timeout fact buried at the end.

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 17-parameter, destructive, no-output-schema tool, the definition covers matching and error semantics well but omits the return shape and the meaning of several control flags. An agent can call it correctly for the common text/role lookup but must guess at the traversal and recording options.

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?

With 17 parameters and only 47% schema description coverage, the description carries a real burden and partially meets it: it enumerates the locator vocabulary, defaults the action to click, explains focus/type targeting, and implies timeoutMs=90000. It says nothing about raw, last, first, depth, record/noRecord, or session, leaving roughly half the surface undocumented anywhere.

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?

States a specific verb and resource: 'Find by text/label/value/role/id and run action; the action defaults to click.' This tells the agent it is a locate-then-act tool, distinct from the sibling click/focus/type tools, though it never names those siblings to draw the line explicitly.

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 is implied rather than stated: the agent learns that focus/type target text fields and that the action defaults to click, but there is no explicit 'use this instead of click/focus/type' or 'use snapshot first when...' guidance. The reader must infer when this tool beats the dedicated sibling tools.

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