Skip to main content
Glama

add_modifier

Add modifiers like Bend, Twist, or TurboSmooth to objects in 3ds Max scenes to apply deformations, smoothing, or other transformations with customizable parameters.

Instructions

为 3ds Max 场景中的指定物体添加修改器(Modifier)。

该工具可以为场景中已存在的物体添加各种修改器,如 Bend、Twist、Taper、 TurboSmooth、Shell、UVW Map、Noise、Lattice、MeshSmooth 等。

支持的常见修改器类型(modifier_type 参数):

  • Bend: 弯曲修改器

  • Twist: 扭曲修改器

  • Taper: 锥化修改器

  • TurboSmooth: 涡轮平滑

  • MeshSmooth: 网格平滑

  • Shell: 壳修改器(给面片添加厚度)

  • Noise: 噪波修改器

  • Lattice: 晶格修改器

  • UVW_Map: UVW 贴图修改器(注意使用下划线代替空格)

  • Symmetry: 对称修改器

  • FFD_4x4x4: 自由变形修改器

  • Smooth: 平滑修改器

  • Relax: 松弛修改器

  • Push: 推力修改器

  • Stretch: 拉伸修改器

  • Squeeze: 挤压修改器

  • Ripple: 涟漪修改器

  • Wave: 波浪修改器

  • Skew: 倾斜修改器

  • Spherify: 球形化修改器

  • Edit_Poly: 编辑多边形修改器

  • Edit_Mesh: 编辑网格修改器 以及 3ds Max 中任何可用的修改器类名。

Args: object_name: 目标物体的名称(场景中已存在的对象)。 modifier_type: 修改器类型名称,如 "Bend"、"Twist"、"TurboSmooth" 等。 对于名称含空格的修改器,使用下划线代替空格,如 "UVW_Map"。 modifier_params: 修改器参数的 JSON 字符串,键为属性名,值为属性值。 例如: '{"angle": 90, "direction": 45}' 用于 Bend 修改器。 如果为空字符串则使用修改器默认参数。

Returns: dict: 操作结果。 - success (bool): 是否成功。 - object_name (str): 物体名称。 - modifier_type (str): 添加的修改器类型。 - modifier_name (str): 修改器实例名称。 - applied_params (dict): 成功应用的参数。 - message (str): 操作描述信息。

示例调用 - 为物体添加弯曲修改器: add_modifier(object_name="Box001", modifier_type="Bend", modifier_params='{"angle": 90}')

示例调用 - 为物体添加涡轮平滑: add_modifier(object_name="Box001", modifier_type="TurboSmooth", modifier_params='{"iterations": 2}')

示例调用 - 为物体添加壳修改器(添加厚度): add_modifier(object_name="Plane001", modifier_type="Shell", modifier_params='{"innerAmount": 0, "outerAmount": 5}')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_nameYes
modifier_typeYes
modifier_paramsNo
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's behavior: it adds modifiers to objects, supports a wide range of modifier types, handles parameter formatting (JSON string for modifier_params), and returns a structured result with success status and details. It doesn't mention error conditions, permissions, or side effects, but covers core operational 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?

The description is well-structured with clear sections: purpose statement, modifier type examples, parameter explanations, return format, and usage examples. It's appropriately sized for a tool with 3 parameters and complex functionality. Some redundancy exists (e.g., listing many modifier types), but overall it's efficient and front-loaded with critical 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?

Given the complexity (3 parameters, 0% schema coverage, no annotations, no output schema), the description is quite complete. It explains what the tool does, details all parameters with examples, describes the return structure, and provides multiple usage scenarios. It could improve by mentioning error cases or integration with sibling tools, but it adequately covers the tool's functionality for an AI agent.

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?

The schema description coverage is 0%, so the description must fully compensate. It provides extensive parameter semantics: object_name is explained as '目标物体的名称(场景中已存在的对象)' (name of target object, existing in scene), modifier_type is detailed with a comprehensive list of examples and formatting rules (e.g., using underscores for spaces), and modifier_params is clearly defined as a JSON string with examples. This adds significant value beyond the bare 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 clearly states the tool's purpose: '为 3ds Max 场景中的指定物体添加修改器(Modifier)' (adds modifiers to specified objects in 3ds Max scenes). It specifies the exact action ('添加' - add) and resource ('修改器' - modifiers), distinguishing it from sibling tools like create_object, delete_object, or set_object_property that handle different operations.

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?

The description implies usage by stating it works on '场景中已存在的物体' (existing objects in the scene), suggesting it should be used after object creation. However, it doesn't explicitly state when to use this tool versus alternatives like set_object_property or execute_maxscript for similar effects, nor does it mention prerequisites or exclusions beyond object existence.

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