Skip to main content
Glama

launch_test_client

Boot a 1C /TESTCLIENT process and wait until its TPort listens, returning pid, display, and connection details so scenarios can connect. Use it to start an automation client session.

Instructions

Launch a 1C /TESTCLIENT and wait for its TPort to listen.

Loads the local .ai1c/*.env profile (INFOBASE_PATH / PLATFORM_ROOT / TEST_CLIENT_USER/KIND/PASSWORD), overridden by any args given. Boots 1cv8 ENTERPRISE /IBConnectionString File="…"; /N<user> /TESTCLIENT -TPort <port>. The client OUTLIVES this call — connect with run_scenario/write_form_value(port=…), then tear down with stop_test_client(pid, xvfb_pid). Set manage_apache=true for an Apache-served infobase (stops apache2 for the boot, restart on stop_test_client).

Display (for screenshots): pass display=":101" (or "auto") to OWN an Xvfb on that display and run the client with DISPLAY=:N — then capture_screenshot(display) works. Default (None) uses xvfb-run -a (no screenshots). Returns {pid, alive, listening, display, xvfb_pid, connection (password-redacted), out_dir, launch_environment}. The password is never echoed back. For an explicitly authorized Windows hardware/network-license contour, set use_hardware_licenses=true; when omitted, ignored runtime state may opt in with QA_MCP_TESTCLIENT_USE_HW_LICENSES=1.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo
portNo
userNo
displayNo
env_fileNo.ai1c/vanessa-qa-mcp.env
headlessNo
wait_secNo
infobase_pathNo
manage_apacheNo
use_hardware_licensesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations to lean on, the description carries the full burden and does so well: the client OUTLIVES the call, it states the returned keys, notes the password is never echoed, explains Xvfb ownership and DISPLAY semantics, the apache stop/restart behavior under manage_apache, and the license opt-in. This is rich behavioral disclosure beyond the schema.

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?

The purpose and success condition are front-loaded, and the dense body is organized into natural phases (boot, lifecycle, display, return, licensing). It is information-dense but nearly every clause adds an operational detail, with only mild over-packing.

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?

An output schema exists, yet the description still usefully enumerates the returned keys and the password-redaction guarantee. Given the complexity of a long-running process with Xvfb/apache/license dimensions, it is nearly complete, missing only behavioral detail on headless and wait_sec.

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 0% across 10 parameters, so the description must compensate. It meaningfully documents display, manage_apache, use_hardware_licenses, the env profile fields, and mentions port in the boot command, but leaves headless, wait_sec, env_file (beyond its raw default) and the exact env variable mapping under-explained.

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 gives a specific verb+resource ('Launch a 1C /TESTCLIENT') plus an observable success condition (wait for its TPort to listen), and the broader text implicitly distinguishes it from attach_test_client and stop_test_client by framing launch/connect/teardown phases. An agent can tell what this does without opening the schema.

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?

It explicitly routes the agent to the lifecycle partners: connect with run_scenario/write_form_value(port=…), then tear down with stop_test_client(pid, xvfb_pid), and explains when display=None vs display=":101" matters. It lacks an explicit contrast with attach_test_client, but the usage context is otherwise clear.

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