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

tc_route

List, search, and add ADS routes to TwinCAT via System Manager TIRR. Guards write operations with explicit confirmation.

Instructions

ADS routes via the System Manager TIRR (Routes) node, ConsumeXml/ProduceXml. READ (unguarded — a transient search trigger, never persists a route): list — existing static routes under RemoteConnections (best-effort name/netId/address); broadcast_search — LAN-wide UDP discovery (timeoutMs settle wait, default ~4000ms) → targets [{name,netId,ipAddr}]; search_host — direct by host (hostname or IP; needs TwinCAT 3.1 build>=4020.10, older builds return found:false) → {found, target:{name,netId,ipAddr,version,os}}. WRITE (GUARDED, require confirm="ALLOW_TWINCAT_ROUTE_WRITE", default NO-OP): add_route — credentialed route to a remote target (remoteName, remoteNetId, one of remoteIpAddr|remoteHostName; optional userName/password/noEncryption/localName); add_project_route — lighter project-local entry (name, netId, one of ipAddr|hostName). NOTE: route changes via TIRR ConsumeXml take effect in the engineering project; whether they propagate to the live target depends on the current target connection — this does NOT auto-activate. Nothing here targets the safety system (config/engineering-side only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNo
nameNo
netIdNo
actionYes
ipAddrNo
confirmNo
hostNameNo
passwordNo
userNameNo
localNameNo
timeoutMsNo
remoteNameNo
remoteNetIdNo
noEncryptionNo
remoteIpAddrNo
remoteHostNameNo
Behavior5/5

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

With no annotations provided, the description fully discloses behavioral traits: READ operations are unguarded and never persist; WRITE operations are guarded and require a specific confirm parameter. It also clarifies that route changes are not auto-activated and that the tool does not target the safety system, providing crucial context for safe operation.

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

Conciseness5/5

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

The description is well-organized with clear sections (READ/WRITE, action details, notes) and front-loaded with the primary purpose. Each sentence adds value, covering behavior, prerequisites, and return formats without unnecessary verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite the complexity (16 parameters, multiple actions, no output schema), the description is comprehensive. It covers return formats for each action (e.g., targets list for broadcast_search, found object for search_host), prerequisites, side effects (engineering project vs live target), and exclusions (safety system). All critical aspects are addressed.

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

Parameters5/5

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

The input schema has 0% schema description coverage, but the description compensates by explaining which parameters are relevant for each action (e.g., broadcast_search uses timeoutMs, add_route requires remoteIpAddr or remoteHostName). This adds meaning beyond the raw schema, effectively documenting parameter semantics.

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 it 'ADS routes via the System Manager TIRR (Routes) node' and distinguishes between READ (non-persistent searches) and WRITE (guarded route addition) operations. The specific actions (list, broadcast_search, search_host, add_route, add_project_route) are enumerated, making the tool's purpose unambiguous.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use each action: READ actions are unguarded, transient searches; WRITE actions require confirmation and are intentionally NO-OP by default. It also explains prerequisites (e.g., version requirements for search_host) and notes that changes affect the engineering project but not the live target, guiding appropriate usage.

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