Skip to main content
Glama
3dsmax-mcp
by vino3dx

mat_hub

Destructive

Manage, create, assign, and save 3ds Max materials and libraries through one consolidated interface for material slots, properties, textures, and object assignment.

Instructions

材质管理、创建、赋材质与材质库综合中枢工具(聚合 29 项材质功能):材质列表/详情/对象材质查询、材质编辑器槽位读写、赋材质(mat_assign)、设置任意属性/漫反射/PBR/高光/不透明度/自发光/多维子材质、重命名/删除/克隆、贴图槽位读写、创建 Standard/Physical/Arnold/VRay/Corona/FStorm/MultiSub/Blend/Shellac/Generic 材质、以及材质库加载与保存(mat_library_load/mat_library_save)。 [English] Consolidated material inventory, creation, assignment & library hub (29 actions): mat_list/get/get_for_object/slots/set_slot/assign/set_property/set_diffuse/set_pbr/set_specular/set_opacity/set_emission/set_sub_material/rename/delete/duplicate/set_map_slot/get_map_slot, all mat_create_* tools, and mat_library_load/save.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "mat_hub"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes要执行的子命令名称(必选)。可选值见 enum 列表。 | Sub-command action to execute (required). Pick one from the enum list.
paramsNo传递给该 action 子命令的参数键值对象(例如 {"name":"Box001","length":10})。 | Parameter key-value object forwarded to the chosen action (e.g. {"name":"Box001","length":10}).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

C2.7/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, so safety is partly covered, but that hint is blanket across 30 actions — most are reads or writes while only mat_delete/mat_rename/mat_library_save are truly destructive, and the description never draws that distinction or mentions undo/reversibility. Listing action names such as mat_delete and mat_duplicate does add a little behavioral signal beyond the annotations, but permissions and side effects are unstated.

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

Conciseness2/5

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

The whole 30-item action list is repeated verbatim in Chinese and then in English, duplicating what the enum already carries at roughly double the cost. It is front-loaded reasonably, but the enumeration is low-value bulk and the count is off (states 29 actions against 30 enum values), which undercuts trust in the list.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 30-action dispatcher with an opaque nested params object and no output schema, the description is not complete enough: per-action parameters are unknown, read/write risk per action is unstated, and nothing describes what the getters return. The action inventory is present, but the information an agent needs to actually invoke a given sub-command is missing.

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

Parameters2/5

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

Schema coverage reads 100%, but that only covers the top-level 'action' enum and a free-form 'params' bag with additionalProperties:true; the actual keys per action are documented nowhere. The description gives one generic example ({"name":"Box001","length":10}) and never maps which keys each of the 30 sub-commands accepts, which is the single most useful thing it could have added for a nested dispatch tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb set and resource domain ('材质管理、创建、赋材质与材质库综合中枢工具') and enumerates the 29/30 material sub-commands, so an agent can tell this is the material hub versus anim_key_hub, mod_hub, or light_hub. It is clear what the tool does, but the clarity comes almost entirely from dumping the action list rather than from a role statement.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no statement of which actions are read versus write, and no prerequisites (e.g., must a material exist before mat_assign, does mat_library_load need a path). The only routing signal is the action names themselves, which the enum already provides.

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