Skip to main content
Glama

set_object_transform

Adjust position, rotation, or scale of 3D objects in 3ds Max scenes using absolute or relative transformations.

Instructions

设置 3ds Max 场景中指定物体的变换属性(位置/旋转/缩放)。

该工具可以设置物体的位置、旋转和缩放,支持绝对模式和相对模式。 可以同时设置多个变换属性,也可以只设置其中一个。

Args: object_name: 目标物体的名称(场景中已存在的对象)。 position: 位置坐标,格式为 "x,y,z",如 "100,50,0"。 留空则不改变位置。 rotation: 旋转欧拉角(度数),格式为 "x,y,z",如 "0,0,45"。 留空则不改变旋转。 scale: 缩放比例,格式为 "x,y,z",如 "2,2,2"(等比放大2倍)。 也可使用单个值表示等比缩放,如 "1.5"(等同于 "1.5,1.5,1.5")。 留空则不改变缩放。 relative: 是否使用相对模式。"true" 表示在当前值基础上叠加, "false"(默认)表示设置为绝对值。

Returns: dict: 操作结果。 - success (bool): 是否成功。 - object_name (str): 物体名称。 - old_transform (dict): 变换前的值。 - new_transform (dict): 变换后的值。 - message (str): 操作描述信息。

示例调用 - 移动物体到指定位置: set_object_transform(object_name="Box001", position="100,0,50")

示例调用 - 旋转物体45度(Z轴): set_object_transform(object_name="Box001", rotation="0,0,45")

示例调用 - 等比缩放物体: set_object_transform(object_name="Box001", scale="2,2,2")

示例调用 - 相对移动物体(在当前位置基础上偏移): set_object_transform(object_name="Box001", position="10,0,0", relative="true")

示例调用 - 同时设置位置和旋转: set_object_transform(object_name="Box001", position="100,50,0", rotation="0,0,90")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_nameYes
positionNo
rotationNo
scaleNo
relativeNofalse
Behavior4/5

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

With no annotations provided, the description carries full burden. It effectively discloses key behavioral traits: it's a mutation tool (sets properties), works on existing objects only (requires 'object_name' of existing object), supports both absolute and relative modes, allows partial updates (empty strings skip changes), and describes the return format. It doesn't mention error conditions, permissions, or rate limits, but covers core behavior well.

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?

Well-structured with clear sections: purpose statement, parameter explanations, return format, and multiple usage examples. Every sentence adds value. Could be slightly more concise in the examples section (some redundancy), but overall efficiently communicates necessary information.

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 5 parameters, 0% schema coverage, and no output schema, the description does an excellent job. It explains parameters thoroughly, describes the return structure, and provides multiple usage examples. The main gap is lack of error handling information, but given the comprehensive parameter coverage and return format description, it's highly complete.

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 must fully compensate. It provides excellent parameter semantics: explains each parameter's purpose, format examples, default behaviors (empty strings skip changes), and special cases (single value for uniform scaling). The 'relative' parameter is clearly explained with its default value. This goes far beyond what the bare schema provides.

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 clearly states the tool 'sets transform properties (position/rotation/scale) for specified objects in a 3ds Max scene.' It specifies the exact action (set), resource (object transform properties), and context (3ds Max scene), distinguishing it from siblings like set_object_property (which sets general properties) or set_keyframe (which sets animation keyframes).

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 provides clear context for when to use this tool: to modify position, rotation, or scale of existing objects. It mentions support for absolute and relative modes, and that multiple properties can be set simultaneously. However, it doesn't explicitly state when NOT to use it or name specific alternatives among siblings (e.g., set_object_property for other properties).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/317431629/3dsMaxMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server