Skip to main content
Glama
Edge-JB
by Edge-JB

tc_settings

Manage TwinCAT XAE engineering settings, including silent mode, target platform, file independence, and item disabled states. Archive solutions or PLC projects without altering runtime state.

Instructions

XAE engineering settings & packaging. OFFLINE/engineering-only: NONE of these write toward a runtime or change runtime state (their runtime effect, if any, lands only on a SEPARATE later activate/download), so none are confirm-gated. Tree paths use ^ separators; safety (TISC-rooted) paths are rejected by policy in set_disabled/set_independent_file/save_plc_archive. Actions: get_silent_mode / set_silent_mode (enabled) — TcAutomationSettings.SilentMode; suppresses AI message-box dialogs (TC3.1>=4020.0; older builds throw). A good companion to the dialog watchdog. get_target_platform / set_target_platform (platform = "TwinCAT RT (x86)" | "TwinCAT RT (x64)") — ITcSysManager7.ConfigurationManager.ActiveTargetPlatform; switching platform invalidates prior build output, so rebuild (xae_build) before activate/download. save_solution_archive (file = absolute .tszip) — ITcSysManager9.SaveAsArchive, whole solution; parent dir must exist (not created). save_plc_archive (file = absolute .tpzip, name? = PLC child under TIPC, default first child) — ExportChild of the PLC project. get_independent_file / set_independent_file (path, enabled) — ITcSmTreeItem6.SaveInOwnFile (store node settings in its own file vs inline in .tsproj). get_disabled (path) — reads ITcSmTreeItem.Disabled, returns {disabled:0|1|2, state:SMDS_NOT_DISABLED|SMDS_DISABLED|SMDS_PARENT_DISABLED}; SMDS_PARENT_DISABLED(2) is a derived read-only state. set_disabled (path, disabled) — sets 0/1 only (2 is never settable).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNo
nameNo
pathNo
actionYes
enabledNo
disabledNo
platformNo
Behavior5/5

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

With no annotations provided, the description carries full burden and delivers extensively. It discloses that all actions are offline-only with no runtime effect, that set_silent_mode has version dependency (TC3.1>=4020.0), that set_target_platform invalidates prior build output, that set_disabled only accepts 0/1 (not the derived read-only state 2), and that safety-rooted paths are rejected for certain actions. This level of detail goes well beyond basic expectations.

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 description is a single dense paragraph that packs substantial information without redundancy. Every sentence adds distinct value. However, it could be more scannable by using bullet points or action-based groupings, especially given the high number of actions. It is not overly verbose but slightly compromises readability for an AI agent.

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?

Given the tool's complexity (10 actions, 7 parameters, no output schema, no annotations), the description covers purpose, usage, behavioral traits, and parameter semantics well. It explicitly describes the return format for get_disabled but does not mention return values for other get actions (e.g., get_silent_mode, get_target_platform, get_independent_file). This is a moderate gap; describing return types would make it fully complete.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It adds meaning by explaining parameters in context of each action (e.g., 'file = absolute .tszip' for save_solution_archive, 'platform = "TwinCAT RT (x86)" | "TwinCAT RT (x64)"' for set_target_platform, 'path, enabled' for independent_file). It also clarifies that the 'disabled' parameter uses 0/1 values despite the boolean type, and explains 'name?' default behavior for save_plc_archive. However, it does not provide a systematic list of all parameters and their defaults, leaving some parameters (like 'enabled' for set_silent_mode) partially inferred.

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 clearly states the tool's purpose: 'XAE engineering settings & packaging' and emphasizes it is OFFLINE/engineering-only with no runtime state changes. It lists all 10 actions explicitly, distinguishing the tool from runtime-impacting tools like tc_system. The purpose is specific and unambiguous, leaving no doubt about what the tool does.

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?

The description provides clear context on when to use the tool (offline-only engineering settings) and includes key constraints (e.g., 'none are confirm-gated', 'parent dir must exist' for save_solution_archive). It also explains relationships between actions and other steps (e.g., switching platform invalidates build output, so rebuild before download). However, it does not explicitly name alternative tools for similar tasks, leaving some comparison implicit rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Edge-JB/TwinCAT-XAE-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server