Skip to main content
Glama

create_object

Create basic geometric objects in 3ds Max scenes, including boxes, spheres, cylinders, and other primitives with customizable parameters and positioning.

Instructions

在 3ds Max 场景中创建一个基础几何体对象。

支持的几何体类型(object_type 参数):

  • Box: 长方体,参数: length, width, height, lengthsegs, widthsegs, heightsegs

  • Sphere: 球体,参数: radius, segments, smooth

  • Cylinder: 圆柱体,参数: radius, height, heightsegs, capsegs, sides, smooth

  • Plane: 平面,参数: length, width, lengthsegs, widthsegs

  • Torus: 圆环体,参数: radius1, radius2, segments, sides, smooth

  • Cone: 圆锥体,参数: radius1, radius2, height, heightsegs, capsegs, sides, smooth

  • Tube: 管状体,参数: radius1, radius2, height, heightsegs, capsegs, sides, smooth

  • Pyramid: 四棱锥,参数: width, depth, height

  • GeoSphere: 几何球体,参数: radius, segs

  • Teapot: 茶壶,参数: radius, segments, smooth

  • Hedra: 多面体,参数: radius, family, p, q

  • Torus_Knot: 圆环结,参数: radius, radius2, p, q, segments, sides 以及 3ds Max 中任何可用的基础创建类名。

Args: object_type: 几何体类型名称,如 "Box"、"Sphere"、"Cylinder" 等。 对于名称含空格的类型,使用下划线代替空格,如 "Torus_Knot"。 name: 对象名称。如果为空字符串则使用 3ds Max 的默认命名。 position: 对象的世界坐标位置,格式为 "x,y,z",如 "0,0,0" 或 "100,50,0"。 默认值为 "0,0,0"(世界原点)。 params: 对象创建参数的 JSON 字符串,键为属性名,值为属性值。 例如: '{"radius": 30, "segments": 32}' 用于创建球体。 例如: '{"length": 50, "width": 40, "height": 30}' 用于创建长方体。 如果为空字符串则使用默认参数。

Returns: dict: 操作结果。 - success (bool): 是否成功。 - name (str): 创建的对象名称。 - object_type (str): 对象类型。 - position (list): 对象的位置坐标 [x, y, z]。 - applied_params (dict): 成功应用的参数。 - message (str): 操作描述信息。

示例调用 - 创建一个默认球体: create_object(object_type="Sphere")

示例调用 - 在指定位置创建带参数的长方体: create_object(object_type="Box", name="MyBox", position="100,0,0", params='{"length": 50, "width": 40, "height": 30}')

示例调用 - 创建圆柱体: create_object(object_type="Cylinder", name="MyCylinder", position="0,50,0", params='{"radius": 20, "height": 60, "sides": 24}')

示例调用 - 创建平面: create_object(object_type="Plane", params='{"length": 200, "width": 200, "lengthsegs": 10, "widthsegs": 10}')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
object_typeYes
nameNo
positionNo0,0,0
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 what the tool does (creates objects), includes detailed parameter information, return value structure, and multiple usage examples. However, it doesn't mention potential side effects, error handling, or performance considerations that would be helpful for a mutation tool.

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 comprehensive but lengthy and not optimally structured. While all information is valuable, it could be more front-loaded with the core purpose followed by details. The multiple examples at the end are helpful but contribute to length. Some sections could be more efficiently organized.

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 no annotations and no output schema, the description provides substantial context: clear purpose, detailed parameters, return structure, and multiple examples. It covers most needs for using the tool effectively. The main gap is lack of error handling or side effect information, which prevents a perfect score.

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?

With 0% schema description coverage, the description fully compensates by providing extensive parameter semantics. It explains all 4 parameters in detail: object_type with supported values and naming conventions, name with default behavior, position with format examples, and params with JSON format and 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 场景中创建一个基础几何体对象' (creates a basic geometric object in a 3ds Max scene). It specifies the verb '创建' (create) and the resource '基础几何体对象' (basic geometric object), distinguishing it from sibling tools like create_light or create_material that create different resource types.

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 listing supported geometry types and providing examples, but it doesn't explicitly state when to use this tool versus alternatives like clone_object or set_object_property. No guidance is given on prerequisites, error conditions, or when not to use this tool.

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