Skip to main content
Glama

Run UI test suite

computer_run_ui_test

Run one or more YAML UI test cases and get PASS/FAIL/SKIP/BLOCKED per case with step evidence; environmental limits are reported as BLOCKED.

Instructions

Run one or more YAML UI test cases; returns PASS/FAIL/SKIP/BLOCKED per case with step evidence. BLOCKED = environmental restriction (permissions/offline/unsupported), reported honestly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
casesYes
targetNoUnified device target (spec §14). Defaults to this machine with auto-detected platform.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.3/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 value by defining the result vocabulary and explaining that BLOCKED means an environmental restriction reported honestly, which is genuine behavioral context. However it says nothing about side effects on the target, whether tests mutate state, required permissions, or execution timing.

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 tight sentences that lead with what the tool does and follow with return semantics. Every clause earns its place and the BLOCKED definition is front-loaded where an agent will read it.

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?

No output schema exists, so the description rightly explains return statuses and does so adequately. But for a tool with a nested target object and no annotations, it omits target selection, environmental requirements, and whether execution has side effects, leaving meaningful gaps.

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 50%; the nested target object carries its own partial description. The description only implies the cases array by saying 'one or more YAML UI test cases' and adds nothing about target, browser, platform, or device selection, so it does not compensate for the uncovered half.

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: run YAML UI test cases, returning per-case PASS/FAIL/SKIP/BLOCKED with step evidence. This is distinguishable from the sibling computer_run_script, though the description never explicitly contrasts the two.

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?

No guidance on when to choose this over computer_run_script, computer_execute_task, or other siblings, and no prerequisites or preconditions stated. The agent must infer usage from the resource name alone.

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