Skip to main content
Glama
Sysmac Studio File Editor MCP

Sysmac Studio File Editor MCP

by il-prof-f-a

plc_assign_program

Assign, move, or reorder a program within an existing task, atomically updating task XML and OEM links while rejecting inconsistent identities, ambiguous instances, and cross-controller moves.

Instructions

Assign, move or reorder one Program in an existing task. Position is one-based; omitted preserves the current position or appends a new assignment. Startup omitted preserves an existing setting, or enables a new assignment. Atomically update task XML and OEM links; reject inconsistent identities, ambiguous instances and cross-controller moves. No PLC or Sysmac build implied.

Input Schema

NameRequiredDescriptionDefault
startupNo
task_idYes
positionNo
program_idYes
transaction_idYes
expected_revisionYesProject revision read before staging this change.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses that the operation atomically updates task XML and OEM links, rejects inconsistent identities, ambiguous instances, and cross-controller moves, and does not imply a PLC or Sysmac build. It also clarifies the default behavior for omitted position and startup arguments.

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 dense but front-loaded: the core action comes first, followed by parameter defaults, atomicity, rejection rules, and build implications. Every sentence adds relevant information without repetition.

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?

For a mutation tool with a transaction/revision model, the description covers the assignment semantics, defaults, atomicity, and validation behavior. It leaves the transaction lifecycle and transaction_id usage unexplained, but the output schema and annotations reduce the remaining burden.

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 only 17%, so the description must carry parameter meaning. It usefully explains the ambiguous position and startup semantics, but it does not explain transaction_id or clarify how task_id and program_id are expected to identify their targets.

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 names a specific verb set (assign, move, reorder) and a precise resource (one Program in an existing task). It clearly distinguishes this from creation or removal operations by scoping the action to an existing task.

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

Usage Guidelines4/5

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

It gives clear context for when this tool applies: assigning, moving, or reordering a program within an existing task, with cross-controller moves explicitly rejected. It does not explicitly name plc_unassign_program or other alternatives, so the guidance is strong but not fully complete on when-not to use it.

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