Skip to main content
Glama

create_material

Create materials in 3ds Max with customizable types, colors, and parameters for 3D modeling and rendering workflows.

Instructions

在 3ds Max 中创建一个材质。

该工具可以创建各种类型的材质,并设置基本属性如颜色等。 创建的材质会被放入 3ds Max 的材质编辑器中。

支持的材质类型(material_type 参数):

  • Standard: 标准材质(默认),支持 Blinn/Phong/Metal 等着色器。

  • Physical: 物理材质(PBR),适合写实渲染。

  • VRayMtl: V-Ray 材质(需要安装 V-Ray 插件)。

  • Multi_Sub: 多维子材质(Multi/Sub-Object)。

  • Blend: 混合材质。 以及其他 3ds Max 中可用的材质类名。

Args: material_type: 材质类型名称,默认为 "Standard"。 name: 材质名称。如果为空字符串则使用默认命名。 diffuse_color: 漫反射颜色,格式为 "r,g,b"(0-255),如 "255,0,0" 为红色。 留空则使用默认颜色。 params: 材质额外参数的 JSON 字符串。 例如: '{"opacity": 50, "specularLevel": 80}' 用于 Standard 材质。 留空则使用默认值。

Returns: dict: 操作结果。 - success (bool): 是否成功。 - name (str): 创建的材质名称。 - material_type (str): 材质类型。 - slot_index (int): 材质编辑器中的槽位索引。 - message (str): 操作描述信息。

示例调用 - 创建红色标准材质: create_material(material_type="Standard", name="RedMaterial", diffuse_color="255,0,0")

示例调用 - 创建物理材质: create_material(material_type="Physical", name="MetalMat", diffuse_color="180,180,180")

示例调用 - 创建带参数的标准材质: create_material(material_type="Standard", name="GlassMat", diffuse_color="200,220,255", params='{"opacity": 30, "specularLevel": 90}')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
material_typeNoStandard
nameNo
diffuse_colorNo
paramsNo
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 explaining that created materials are placed in the material editor, listing supported material types with their characteristics, and describing the return format. It doesn't mention permissions, rate limits, or error conditions, but provides substantial behavioral context for a creation tool.

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 purpose statement, behavioral details, parameter explanations, return format, and usage examples. Some redundancy exists (e.g., repeating parameter info in examples), but overall efficient with each section adding value. Could be slightly more front-loaded.

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 4-parameter creation tool with no annotations and no output schema, the description provides comprehensive context: purpose, behavioral details, full parameter semantics, return format, and multiple examples. It lacks only some edge cases (error conditions, dependencies like V-Ray plugin requirements beyond mentioning them).

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 detailed parameter explanations: material_type with examples and defaults, name behavior when empty, diffuse_color format with examples, and params as JSON string with examples. It 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 verb ('创建' - create) and resource ('材质' - material) in 3ds Max, specifying it creates various material types with basic properties. It distinguishes from siblings like 'create_object' or 'create_light' by focusing specifically on materials rather than objects or lights.

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 when creating materials in 3ds Max but doesn't explicitly state when to use this vs alternatives like 'assign_material' or 'set_object_property'. It provides context about material types but lacks explicit guidance on tool selection scenarios.

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