Skip to main content
Glama

ads_add_route_to_plc

Destructive

Creates a PLC-side route back to this PC via UDP discovery using Windows/TC-BSD credentials, allowing TwinCAT/ADS communication with the controller.

Instructions

Create the PLC-side route back to this PC (UDP discovery protocol, needs the target's Windows/TC-BSD credentials). Control-class.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plc_ipYes
hostnameNo
route_nameNo
local_net_idNo
plc_passwordNo1
plc_usernameNoAdministrator
confirm_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=true, so the safety profile is covered. The description adds useful context by naming the UDP discovery protocol and stating that credentials are required. It does not explain reversibility, side effects, or what the confirm_token parameter is for, leaving meaningful behavioral gaps.

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 very concise and front-loads the action and target. The trailing fragment 'Control-class.' is terse but cryptic, slightly weakening an otherwise efficient structure.

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

Completeness2/5

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

The tool is a destructive mutation with 7 parameters and zero schema descriptions, yet the description omits parameter-level meaning, confirmation flow, and side effects. It does mention protocol and credential requirements, but this is not enough for the agent to invoke the tool confidently.

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

Parameters2/5

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

Schema description coverage is 0% for 7 parameters, so the description must compensate but largely does not. 'Needs the target's Windows/TC-BSD credentials' loosely hints at plc_username and plc_password, but plc_ip, hostname, route_name, local_net_id, and confirm_token are not explained at all.

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 states a specific verb ('Create') and resource ('PLC-side route back to this PC'), which distinguishes it from sibling route-listing tools such as ads_routes. However, it does not explicitly name any alternative tool or clarify when this creation tool should be preferred over discovery or listing tools.

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?

It mentions a prerequisite ('needs the target's Windows/TC-BSD credentials') and the protocol involved, which gives some usage context. But it gives no explicit when-to-use guidance, no when-not-to-use conditions, and no alternatives among the many sibling tools.

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