Skip to main content
Glama

set_object_property

Modify object properties in 3ds Max scenes, including display settings like wirecolor, visibility, and creation parameters such as radius or dimensions.

Instructions

设置 3ds Max 场景中指定物体的属性值。

该工具可以设置物体的各种属性,包括显示属性和创建参数。

常用属性名称(property_name 参数):

  • wirecolor: 线框颜色,值格式 "r,g,b" (0-255),如 "255,0,0"

  • isHidden: 是否隐藏,值 "true" 或 "false"

  • isFrozen: 是否冻结,值 "true" 或 "false"

  • renderable: 是否可渲染,值 "true" 或 "false"

  • boxMode: 是否以盒模式显示,值 "true" 或 "false"

  • backfaceCull: 是否背面剔除,值 "true" 或 "false"

  • 以及对象的创建参数(如 radius、length、width、height、segments 等)

Args: object_name: 目标物体名称。支持通配符 "*" 进行批量设置。 property_name: 属性名称。 property_value: 属性值(字符串形式)。 数字值: "30"、"1.5" 布尔值: "true"、"false" 颜色值: "255,0,0"(仅 wirecolor 属性使用)

Returns: dict: 操作结果。 - success (bool): 是否成功。 - modified (list): 成功修改的物体列表。 - property_name (str): 属性名称。 - property_value (str): 设置的属性值。 - message (str): 操作描述信息。

示例调用 - 设置线框颜色为红色: set_object_property(object_name="Box001", property_name="wirecolor", property_value="255,0,0")

示例调用 - 隐藏物体: set_object_property(object_name="Box001", property_name="isHidden", property_value="true")

示例调用 - 修改球体半径: set_object_property(object_name="Sphere001", property_name="radius", property_value="50")

示例调用 - 批量冻结所有 Box: set_object_property(object_name="Box*", property_name="isFrozen", property_value="true")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_nameYes
property_nameYes
property_valueYes
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behaviors: it supports wildcard '*' for batch operations, returns a structured dict with success status and modified objects list, and specifies value formats for different property types (numeric, boolean, color). It doesn't mention error handling or permission requirements, but covers essential operational traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized but not optimally structured: it front-loads the purpose, but includes extensive examples and parameter details mixed together. While all content is valuable, it could be more streamlined with clearer separation between conceptual explanation and implementation details.

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 mutation tool with no annotations and no output schema, the description provides complete context: it explains what the tool does, how to use parameters, common property examples, return format details, and multiple usage scenarios. This compensates fully for the lack of structured metadata.

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?

Given 0% schema description coverage, the description fully compensates by explaining all three parameters in detail: 'object_name' supports wildcards for batch setting, 'property_name' includes common examples with specific usage notes (e.g., 'wirecolor' for color), and 'property_value' provides format rules for different data types. It adds substantial meaning 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 specific action ('设置' meaning 'set'), the target resource ('3ds Max 场景中指定物体的属性值' meaning 'property values of specified objects in 3ds Max scene'), and distinguishes from siblings like 'get_object_properties' (read vs write) and 'set_object_transform' (properties vs transform). It provides a precise verb+resource combination.

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 implies usage context through examples and property lists (e.g., setting display properties like wirecolor or creation parameters like radius). However, it doesn't explicitly state when to use this tool versus alternatives like 'set_object_transform' for position/rotation or 'assign_material' for material assignment, leaving some ambiguity about property scope boundaries.

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