Skip to main content
Glama

OpenFactory

start_app_test

Start recording an app test run (one scenario execution).

Drive the app with desktop_* tools yourself; after each meaningful step call record_app_test_step — the server captures the VM screen at that moment as evidence. Close with finish_app_test.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app_name": "<app_name>",
      "scenario": "<scenario>"
    },
    "name": "start_app_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour OpenFactory MCP API key (optional)
app_urlNoURL of the app under test as seen from the VM
vm_nameNoTester/desktop VM the test runs in (of-tester-* or of-desktop-*). Omit to auto-lease one from the app's tester VM pool — the response returns the leased vm_name (drive it with desktop_* tools) and a lease_token to pass to finish_app_test so the VM is released back to the pool.
app_nameYesStable app key, e.g. 'knostra' — history groups by this
git_repoNoApp repo name/URL
scenarioYesStable scenario key, e.g. 'smoke-login' — the benchmark axis
git_branchNoApp branch under test
git_commitNoApp commit SHA under test
record_videoNoRecord a video of the whole run (also watchable live in the VNC console); per-step seek markers are added automatically. Fetch it via get_app_test_run(run_id).video_url after finish_app_test.
public_reportNoWhether the standalone HTML report URL should be public. Default false keeps report, screenshot, and video artifacts private.
session_tokenNoSession token from a previous tool response (pass this to maintain session continuity)
target_node_idNoLogical VM node in that deployment; required when it has multiple machines
idempotency_keyNoChoose a stable key before the first start, and reuse it with identical inputs after interruption to recover the same run. Requires an explicit vm_name; max 128 characters.
parent_test_run_idNoExact deployment test run to include this supporting app test in

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the behavioral disclosure burden. It reveals that the server captures the VM screen at each record step and that finish_app_test must close the run, but it omits run-state creation, VM leasing behavior, idempotency, and artifact visibility details.

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?

Three short sentences, front-loaded with the purpose and followed by the essential workflow. No filler or redundant wording.

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 14-parameter tool with no annotations but a fully documented schema and an output schema, the description covers the essential call workflow and evidence-capture behavior. It leaves some contextual gaps, such as auto-leasing a VM and alternatives like run_app_test_group, but the structured fields carry those details.

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 description coverage is 100% for 14 parameters, so the schema already documents parameter meanings thoroughly. The description adds no parameter-specific semantics beyond the workflow context, making the baseline 3 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?

States a specific verb and resource: start an app test run scoped to one scenario execution. The workflow references desktop_* tools, record_app_test_step, and finish_app_test, making its role in the test-run lifecycle clear.

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?

Gives an explicit workflow: start recording, drive the app yourself with desktop_* tools, call record_app_test_step after each meaningful step, and close with finish_app_test. It does not state exclusions or contrast with run_app_test_group, so it falls short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.