Skip to main content
Glama
vino3dx
by vino3dx

mat_assign

Destructive

Assign a material to specified objects or to the current selection in 3ds Max. Handles whole-object assignment; per-face Multi/Sub-Object requires face IDs set separately.

Instructions

把材质赋给对象。可传对象列表,省略则赋给当前选择(assign-to-selection)。Multi/Sub-Object 的逐面分配需要给对象设置面材质 ID,这里只做整体赋值,逐面请配合 poly 工具设置面 ID。 [English] Assign a material to objects; pass a list or omit to assign to the current selection (assign-to-selection). Per-face assignment of a Multi/Sub-Object material requires face material IDs on the object - this tool does whole-object assignment only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectsNo对象名列表;省略则使用当前选择。 | Object names; omit to use the current selection.
materialYes材质名称。 | Material name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate destructive/read-write behavior; the description adds meaningful behavioral context: assignment is whole-object only, per-face assignment is not handled, and selection is used when no objects are passed. It does not discuss overwriting existing materials, but the destructive hint covers that implication.

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 bilingual, which lengthens it, but the core action and selection behavior are front-loaded and the per-face limitation is relevant and non-redundant. It could be slightly tighter but is not padded.

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 low-complexity mutation tool with full schema coverage and annotations already conveying destructive/read-write characteristics, the description provides all necessary operational context: target selection, scope limitation, and routing to the correct alternative tool. No return value is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already documents both parameters fully (object names with selection fallback, and material name). The description repeats this information without adding new syntax, constraints, or parameter-specific details beyond the schema, so baseline 3 applies.

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—assign a material to objects—and the optional target behavior (explicit list or current selection). It also explicitly scopes the operation to whole-object assignment, distinguishing it from per-face assignment tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit usage instructions: pass an object list or omit for the current selection. It also states what the tool does not do (per-face Multi/Sub-Object assignment) and directs users to poly tools for that case, providing clear when-to-use and when-not-to-use guidance.

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

Deploy Server

Other Tools