Skip to main content
Glama

tcunit_run

Destructive

Run a full TcUnit test cycle on a TwinCAT PLC project from XAE: build, activate, restart, collect the xUnit result file, and parse test results.

Instructions

Full TcUnit cycle: build → boot project autostart+generate → activate → restart → delete old result → wait for the xUnit file on the target → parse. Destructive-class (it activates a configuration on the target). plc_project_path from xae_plc_projects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeout_sNo
disable_ioNo
skip_buildNo
confirm_tokenNo
plc_project_pathYes
remote_result_pathNo
allow_target_mismatchNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds real context by spelling out the multi-stage side effects (activation of a configuration, autostart generation, restart, result deletion) and labeling it destructive-class. It leaves the meaning of the confirm_token / allow_target_mismatch gating unexplained, which keeps it short of a 5.

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 dense sentences plus a trailing note; the destructive nature and the origin of the required parameter are front-loaded. It is economical for a complex operation, though the arrow-chain is terse enough that a reader may need a beat to parse 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?

An output schema exists, so return values need no explanation, and annotations cover the safety profile. However, the 0%-coverage parameters and the missing when-to-use steering leave gaps for a mutation tool with seven inputs and a confirmation flow.

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% across 7 parameters, so the description carries the full burden, yet it only clarifies the origin of plc_project_path. It says nothing about timeout_s, disable_io, skip_build, confirm_token, remote_result_path, or allow_target_mismatch, leaving over half the surface undocumented.

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 description names a specific verb+resource ('Full TcUnit cycle') and enumerates the actual pipeline (build → boot project autostart+generate → activate → restart → delete old result → wait for xUnit file → parse), which lets an agent distinguish it from tcunit_results and tcunit_scaffold without opening a schema.

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?

It implies the trigger context ('Full TcUnit cycle') and tells the agent where the required parameter comes from ('plc_project_path from xae_plc_projects'), but gives no explicit when-to-use guidance or any exclusion against the sibling tcunit_results / tcunit_scaffold tools. Usage is inferable but not stated.

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

Deploy Server

Other Tools