Skip to main content
Glama

Run tests

run_tests

Run the project's pytest + Appium suite and capture missing-element failures with locator, line, platform, and failed-screen snapshot for locator healing.

Instructions

Run the project's pytest + Appium suite. Failures caused by a missing element include the locator, the line, the platform and the screen saved at that moment (pass it to heal_locator).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_tests"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordNo
targetsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does add real behavioral value by disclosing the failure payload shape (locator, line, platform, and a captured screen) and the follow-up tool, but it says nothing about runtime, environment requirements, whether the run mutates state or artifacts, or what a successful run reports.

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?

Two tight sentences with the primary action front-loaded and the failure-reporting detail second. No filler, though the failure-format clause is dense and could be split for readability.

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?

This is a complex execution tool with no annotations, no output schema, and fully undocumented parameters. The description covers the happy-path action and failure diagnostics but leaves out what keyword/targets do, what a passing run returns, and any environment or setup requirements an agent would need before invoking it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and both parameters (keyword, targets) are left unexplained in both the schema and the description. The description does not say whether keyword filters tests, targets selects platforms/devices, or how they interact with the suite selection. This is a substantial interpretive gap for a 2-parameter tool.

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: runs the project's pytest + Appium suite. The second sentence clarifies what the tool surfaces on failure, which further pins down its role. It does not explicitly contrast with siblings like accessibility_check, but the purpose is unambiguous.

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 ('run the project's ... suite') and there is a concrete handoff instruction to pass failure data to heal_locator. However, there is no guidance on when to prefer this over accessibility_check or check_locator, no prerequisites (device/emulator, server running), and no statement about whether partial or filtered runs are supported.

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