Skip to main content
Glama

Transform

transform
Destructive

Move and rotate an existing CAD object in place without creating a new handle. Apply incremental or absolute translation and rotation to any feature, body, or primitive.

Instructions

Move and/or rotate an existing object in place — first-class replacement for hand-poking an object's Placement via set_property.

handle: object to move (any object with a Placement: primitive, body, feature). translate: [x, y, z] translation in mm (default no translation). rotate_axis: rotation axis as a 3-vector [x, y, z] (need not be unit length; default [0, 0, 1], the Z axis). angle: rotation about rotate_axis in DEGREES (default 0 = no rotation). relative: True (default) composes this move ONTO the object's current placement (incremental); False sets it as the ABSOLUTE placement, discarding the object's prior placement.

The same object is moved — NO new handle is created. The rotation is applied about the object's local origin (combine with translate to pivot elsewhere).

Returns {handle, name, placement: {base:[x,y,z] mm, axis:[x,y,z], angle_deg}} describing the object's resulting placement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
angleNo
handleYes
relativeNo
translateNo
rotate_axisNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

Annotations declare destructiveHint=true, and the description reinforces this by stating 'The same object is moved — NO new handle is created' and 'discarding the object's prior placement' for absolute mode. It also discloses the rotation pivot behavior ('about the object's local origin') and the return value shape. This goes well beyond the annotations.

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 compact and front-loaded with the core purpose, then parameter details, then behavioral caveats, then return value. Every sentence adds information; there is no filler or repetition of schema fields.

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

Completeness5/5

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

For a 5-parameter mutation tool with no output schema, the description is complete: it covers all parameters, defaults, units, the destructive nature, the pivot behavior, and the return value. An agent can invoke this tool correctly without needing additional context.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden. It explains every parameter: handle, translate, rotate_axis, angle, and relative, including units (mm, degrees), defaults, and the meaning of relative=True/False. It also clarifies that rotate_axis need not be unit length, which is not in the schema.

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 states a specific verb ('Move and/or rotate') and resource ('an existing object in place'), and explicitly distinguishes itself from the alternative 'hand-poking an object's Placement via set_property.' It clearly identifies the tool's scope and differentiates it from siblings like set_property and scale_shape.

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?

The description explicitly says this is a 'first-class replacement for hand-poking an object's Placement via set_property,' giving a clear when-to-use signal. It also explains the relative vs absolute behavior, which tells the agent when to use relative=True versus False. The sibling list includes set_property, and the description directly contrasts with it.

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