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

xae

Open solutions, save files, list errors, and resolve modal dialogs in the Beckhoff TwinCAT XAE Shell via command actions.

Instructions

XAE shell: status, open_solution (solutionPath; closeExisting:true reopens, discardChanges:true closes the current solution WITHOUT saving before reopening), save_all, active_document, selected_items, error_list (default 50, in Error List order; pass limit to widen, severityFilter:'errors'|'warnings' to filter before the cap — count still reports the true matching total), clear_error_list, list_commands (filter regex, limit), dialog_probe (read-only: is a modal dialog blocking XAE right now? returns its title/text/buttons; never clicks anything), dialog_resolve (button, remember) — click a chosen button on the live modal dialog and optionally remember it in the allowlist; pair with dialog_probe. Destructive prompts (activate/restart/download/safety) are refused for auto-remember (the click still happens once).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoDTE attach mode; default active (open_solution: activeOrCreate)
limitNo
actionYes
buttonNo
filterNo
rememberNo
solutionPathNo
closeExistingNo
discardChangesNo
severityFilterNoerror_list: filter by severity before the cap (errorLevel values are vsBuildErrorLevelHigh=error / Medium=warning / Low=message); default all

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv2.4.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv2.3.0
    • addedInput schema / properties / severityFilter
      Added value: +{
      +  "description": "error_list: filter by severity before the cap (errorLevel values are vsBuildErrorLevelHigh=error / Medium=warning / Low=message); default all",
      +  "enum": [
      +    "all",
      +    "errors",
      +    "warnings"
      +  ],
      +  "type": "string"
      +}
  3. Changed3 schema fields changedv2.2.0
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "status",
      -  "open_solution",
      -  "save_all",
      -  "active_document",
      -  "selected_items",
      -  "error_list",
      -  "clear_error_list",
      -  "list_commands"
      -]New value: +[
      +  "status",
      +  "open_solution",
      +  "save_all",
      +  "active_document",
      +  "selected_items",
      +  "error_list",
      +  "clear_error_list",
      +  "list_commands",
      +  "dialog_probe",
      +  "dialog_resolve"
      +]
    • addedInput schema / properties / button
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / remember
      Added value: +{
      +  "type": "boolean"
      +}
  4. Changed1 schema field changedv2.1.1
    • addedInput schema / properties / discardChanges
      Added value: +{
      +  "type": "boolean"
      +}
  5. First observedv1.0.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description discloses important behavior: open_solution's closeExisting/discardChanges semantics, error_list's default limit and filter-before-cap behavior, dialog_probe being read-only, and dialog_resolve's auto-remember refusal for destructive prompts. However, it remains silent on side effects for actions like save_all, clear_error_list, and list_commands.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense paragraph that packs a lot of vital behavioral detail, but the lack of structure (e.g., bulleted actions) makes it hard to scan. Every clause earns its place, yet formatting could dramatically improve readability.

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?

For a 10-parameter, multi-action tool with no output schema, the description thoroughly documents open_solution, error_list, dialog_probe, and dialog_resolve, but omits expected return values or side effects for status, save_all, active_document, selected_items, clear_error_list, and list_commands. This leaves significant gaps for the agent to infer.

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?

The schema covers only 20% of parameters with descriptions; the text compensates by explaining solutionPath, closeExisting, discardChanges, limit, severityFilter, filter, button, and remember within the context of their actions. This embedded documentation adds practical meaning (e.g., severityFilter 'errors'|'warnings' with true total count) beyond the bare schema enum.

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?

The description clearly identifies the tool as an 'XAE shell' command dispatcher, enumerating the distinct operations it supports (status, open_solution, error_list, dialog_probe, etc.). It differentiates from sibling tools by listing these shell-specific actions, though it lacks a single declarative sentence stating the tool's core purpose (e.g., 'Execute XAE shell commands').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides use-case context for individual sub-actions (e.g., dialog_probe checks for a blocking modal, dialog_resolve clicks the chosen button), but it does not explain when to use this tool over specialized siblings like xae_build, tc_system, or plc_download. There is no explicit guidance on when not to use it or which alternative to pick for a given scenario.

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

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