Skip to main content
Glama
appium

MCP Appium

Official
by appium

appium_generate_tests

Generates test code by executing specified steps, observing interactions, and returning a reusable workflow for mobile app testing.

Instructions

Return a workflow to execute the scenario with MCP tools, then generate test code from observed interactions. Prefer appium_find_element; generate_locators is for broad inspection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsYesThe steps of the test

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.92.11

TDQS

A3.9/5.0
Behavior3/5

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

The description discloses that the tool executes a scenario via MCP tools, observes interactions, and then produces test code, which is meaningful behavioral context. However, with sparse annotations it omits side-effect details, session or device prerequisites, and whether the generated code is returned inline or written elsewhere.

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?

Two short sentences, both information-dense: the first explains the workflow and output, and the second provides actionable locator-selection guidance. There is no filler or redundant repetition of the schema.

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 one-parameter tool with a documented schema, the description is mostly adequate: an agent can infer the expected input and output. The main gaps are missing prerequisites such as an active Appium session or device, and the expected granularity of the steps input.

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 already fully documents the single steps parameter as the steps of the test, and the description only alludes to it via the word scenario. No additional formatting, granularity, or example guidance is provided, so this stays at the schema-coverage baseline.

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 first sentence states a specific outcome: return a workflow to execute a scenario and then generate test code from observed interactions. The second sentence differentiates the tool from appium_find_element and generate_locators, making the purpose largely unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit routing guidance: prefer appium_find_element for targeted element location and reserve generate_locators for broad inspection. It does not enumerate all exclusion cases or alternative tools, but the context is clear enough for an agent to decide when to use this tool.

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