Skip to main content
Glama
SolidworksMCP-python

SolidworksMCP-python

Move/Copy Body

move_copy_body

Move or copy bodies in an active SolidWorks part by translating in mm and rotating in degrees about a chosen point, with up to 50 copies.

Instructions

Beta: new: checked on SolidWorks by a scratch run, not yet by a live demo.

Move bodies of the active part by a translation and a rotation, or copy them up to 50 times.

Translation is in mm, rotation in degrees about the model's x, y and z axes through rotation_point. With as_copy, copy n sits n times the translation away. Fails, changing nothing, when a name is unknown, the move is by nothing, or the bodies didn't move or copy. Needs: a part with the bodies (list_bodies). Changes: adds a Body-Move/Copy feature. Returns: move with name, the body names, counts and volumes before and after.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input_data": "<input_data>"
    },
    "name": "move_copy_body"
  }
}

Input Schema

NameRequiredDescriptionDefault
input_dataYes`bodies`, and `translate` and/or `rotate`; `as_copy` and `copies` to copy.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, but the description adds substantial context beyond them: the operation is atomic ('Fails, changing nothing'), it adds a Body-Move/Copy feature to the model, and it states the exact failure triggers (unknown name, zero move, no resulting movement). The note that this is beta and only verified by a scratch run is useful disclosure of risk.

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 core behavior is front-loaded and the trailing 'Needs/Changes/Returns' framing is easy to scan. The beta caveat is a bit chatty but informative, and no sentence is wasted.

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 nested input object, the description covers prerequisites, units, copy semantics, failure behavior, and side effects. Return values are summarized even though an output schema exists, so nothing essential is missing for correct invocation.

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?

Schema coverage is 100%, so the baseline is 3, but the description genuinely adds interpretation: translation in mm, rotation in degrees about the model axes through rotation_point, and the compounding rule that copy n sits n times the translation away. That is meaning an agent would not reliably extract from the schema alone.

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 opens with a specific verb-plus-resource statement: 'Move bodies of the active part by a translation and a rotation, or copy them up to 50 times,' which tells an agent exactly what the tool does. It does not explicitly contrast itself with nearby siblings such as scale_body or split_body, so the differentiation is only partial, but the operation itself is unambiguous.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: 'Needs: a part with the bodies (list_bodies)' gives a prerequisite and the failure conditions describe when the call will not succeed. There is no explicit statement of when to choose this over an alternative (e.g., scale_body for resizing), so the agent must infer the boundary.

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