Skip to main content
Glama

xae_plcopen_import

Idempotent

Imports a PLCopen XML file into a specified TwinCAT PLC project, with conflict handling options: none, rename, replace, or skip.

Instructions

Import a PLCopen XML file into a PLC project (path from xae_plc_projects). option: none | rename | replace | skip (conflict handling).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optionNonone
xml_fileYes
plc_project_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so safety is partly covered. The description adds the conflict-handling semantics of the option values, which is genuine behavioral context. However, 'replace' implies overwriting existing content while destructiveHint is false, a tension that goes unaddressed.

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?

Very short and front-loaded: purpose first, then the option enumeration. The dangling 'option:' on its own line is slightly awkward but wastes no words.

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 not be described, and annotations cover the safety profile. Still, with zero schema coverage the two required parameters are under-explained, leaving the definition only minimally complete for a mutating import tool.

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 0%, so the description must carry parameter meaning. It documents the option parameter well ('none | rename | replace | skip (conflict handling)') but says nothing about xml_file or plc_project_path beyond a passing hint about the path's source.

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 (Import) and resource (PLCopen XML file) plus a destination (PLC project), which the sibling xae_plcopen_export clearly mirrors in reverse. It stops short of explicitly naming the sibling, so it is clear but not fully differentiated.

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?

The parenthetical 'path from xae_plc_projects' gives an implicit hint about where the project path comes from, but there is no explicit when-to-use / when-not-to-use guidance or mention of the export counterpart. Usage is only implied.

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