Skip to main content
Glama

inspect-and-act

Identify mobile app UI elements and perform actions like tapping, typing, or long-pressing to automate testing and interaction workflows.

Instructions

Inspect UI to identify element locators and then perform an action

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform on the element
elementIdentifierNoText, partial resource-id, or other identifier to search for
textNoText to input if action is sendKeys
longPressMsNoDuration in ms if action is longPress
timeoutMsNoTimeout in milliseconds (default: 10000)
strategyNoInitial strategy to try if provided: id, accessibility id, xpath
refreshSourceNoWhether to refresh page source before inspection
saveLocatorsNoWhether to save found locators for future reference
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions inspecting UI and performing actions but fails to describe critical behaviors like error handling, performance implications, or what happens if elements are not found. For a tool with 8 parameters and no annotations, this is a significant gap in transparency.

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

Conciseness4/5

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

The description is a single, concise sentence that efficiently states the tool's purpose. It is front-loaded and wastes no words, though it could benefit from more detail given the tool's complexity. The structure is clear but minimal.

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

Completeness2/5

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

Given the tool's complexity (8 parameters, no annotations, no output schema), the description is incomplete. It lacks details on behavioral traits, return values, error cases, and how it integrates with sibling tools. For a multi-step tool involving UI inspection and actions, more context is needed to guide effective use.

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?

The schema description coverage is 100%, meaning all parameters are documented in the input schema. The description does not add any additional meaning or context beyond what the schema provides, such as explaining parameter interactions or usage examples. With high schema coverage, the baseline score of 3 is appropriate as the description adds no extra value.

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

Purpose3/5

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

The description states the tool's purpose as inspecting UI to identify element locators and then performing an action, which is clear but vague. It specifies the general function but lacks specificity about what types of actions or how it distinguishes from similar sibling tools like 'inspect-and-tap' or 'perform-element-action'. The description is not tautological but could be more precise.

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 provides no explicit guidance on when to use this tool versus alternatives. It mentions 'inspect UI' and 'perform an action' but does not specify scenarios, prerequisites, or exclusions compared to sibling tools such as 'inspect-element' or 'tap-element'. This leaves the agent without clear usage context.

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/Rahulec08/appium-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server