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

tc_link

Manage variable links between producer and consumer in TwinCAT. Supports batch link/unlink operations and auto-resolves dot-form paths to subitem format.

Instructions

Variable links (producer↔consumer); dot-form PLC subfields auto-resolve to XAE ^ subitem form. BATCH-FIRST: for more than one link use link_batch/unlink_batch — N ops in ONE DTE attach, failures-only roll-up by default ({count,succeeded,failed}; details:true for every row incl. resolved paths), instead of an attach per link. Actions, grouped single / batch: LINK — link (a=source, b=destination) / link_batch (links:[{a,b}]); UNLINK — unlink (a, optional b; a alone removes all its links) / unlink_batch (links:[{a,b?}]); resolve (report valid path forms for a — compact {originalPath,resolvedPath,resolved} on success; verbose:true for the attempts[] permutation list); links (a=item path; reports that item's current variable links — closes the discover→act→verify loop). link/resolve drop resolution detail by default — verbose:true restores it. Mutating batch verbs accept save:true to save once after the batch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bNo
saveNo
linksNo
actionYes
detailsNolink_batch/unlink_batch: include ok:true rows (with resolved paths); default failures-only
verboseNolink/resolve: return the full resolution detail (producerResolution/consumerResolution or attempts[]); default compact
autoResolveNo
Behavior5/5

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

With no annotations, the description fully discloses behaviors: batch returns failures-only by default, details:true includes all rows; resolve returns compact or verbose; auto-resolution of dot-form subfields. No contradictions.

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 dense and run-on, lacking paragraph breaks or bullet points. While information-dense, it could be better structured for quick scanning by 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?

Covers all actions and parameter behaviors thoroughly, including the 'discover→act→verify' loop for the 'links' action. No output schema exists, but description provides sufficient detail for effective use.

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?

Adds meaning beyond the schema by explaining parameters like 'a' as source, 'b' as destination, 'links' array structure, 'save' for batch, and 'details'/'verbose' for output control. Does not explicitly cover 'autoResolve' default but schema coverage is low, so description compensates well.

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 defines the tool's purpose: managing variable links (producer↔consumer) with multiple actions (link, unlink, resolve, links, batch variants). It distinguishes between single and batch operations, but could be more succinct about the core function.

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?

Explicitly advises batch usage for multiple links ('BATCH-FIRST'), explains when to use link_batch/unlink_batch instead of single actions, and describes behavior of unlink with only 'a'. Provides clear context for tool selection.

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