Skip to main content
Glama
swapnilGirishPawar

QA Prompts MCP Server

Appium Inspector XML → POM Locators

xml-to-pom-locators

Convert Appium Inspector Page Source XML into POM locator declarations with optimal locator strategy priority (ID > Accessibility > XPath).

Instructions

Converts Appium Inspector Page Source XML into POM locator declarations with proper locator strategy priority (ID > Accessibility > XPath).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageSourceXmlYesThe Appium Inspector Page Source XML to convert into POM locators
Behavior4/5

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

The description discloses the locator strategy priority (ID > Accessibility > XPath), which is a key behavioral trait. No annotations are provided, so the description carries the full burden. It does not mention any side effects, authentication, or limitations, but for a conversion tool this is acceptable.

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?

The description is a single sentence that efficiently states the action, input, output, and key detail (priority strategy). It is front-loaded and contains no unnecessary words.

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

Completeness4/5

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

For a tool with one parameter and no output schema or annotations, the description covers the purpose and strategy. However, it does not specify the output format (e.g., Java, Python) or any limitations, leaving some gaps. Overall adequate but could be more complete.

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 coverage is 100% for the single parameter, and the schema description already explains it clearly. The tool description adds context about the conversion and strategy priority but does not enhance the parameter meaning beyond what the schema provides. Baseline score of 3 is appropriate.

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 title and description clearly state the tool converts Appium Inspector XML to POM locators with a specific priority strategy. The verb 'converts' and the resource 'Appium Inspector Page Source XML' are explicit, and it differentiates from sibling tools which handle analysis, bug reports, and initialization.

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?

The description implies usage when one has Appium Inspector XML and needs POM locators, but it lacks explicit guidance on when to use or not use this tool versus alternatives. No exclusions or prerequisites are mentioned.

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/swapnilGirishPawar/Custom-MCP-Server-Mobile-QA'

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