Skip to main content
Glama
KphungFROMM

motionworks-iec-mcp-server

by KphungFROMM

get_motion_config

Get motion configuration to map axes to their amplifier bindings and network nodes, clarifying which servo corresponds to each axis number.

Instructions

Summarise the motion setup: axes, their amplifier bindings and network nodes.

MotionWorks binds an axis to hardware through <var>.AxisNum assignments in startup code (e.g. TopCutter.AxisNum := UINT#1;) and the servo groups in the I/O configuration (SGD7S Network #1 Node #1). This tool joins those two so "which servo is axis 1?" is answerable.

Args: path: Project file or directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden. It explains the internal behavior—joining AxisNum assignments in startup code with servo groups in the I/O configuration—rather than merely restating the tool name. The 'summarise' wording also implies a read-only operation, though it does not explicitly state side-effect status.

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 front-loads the purpose, gives a focused domain explanation with a concrete example, and ends with the argument. No sentences are wasted, and the code example earns its place by clarifying how AxisNum bindings work.

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 one-required-parameter tool with an output schema, the description covers input semantics, purpose, and the question it answers. It does not mention prerequisites like a loaded project, but the path argument and output schema make the tool callable without much additional context.

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 only says path is a string with no description, so the description's 'Project file or directory' adds essential meaning. This adequately clarifies what the agent should pass for the single required parameter.

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 opens with a specific verb and resource: 'Summarise the motion setup' and names the exact content covered (axes, amplifier bindings, network nodes). It also distinguishes itself by explaining that it joins AxisNum assignments with servo groups, setting it apart from generic I/O config tools.

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?

The description gives a concrete use case: answering 'which servo is axis 1?', which makes the intended invocation clear. It does not explicitly list alternative tools or exclusion cases, but it provides enough context to select this tool over simpler retrieval tools.

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