Skip to main content
Glama
vino3dx
by vino3dx

mat_set_pbr

Destructive

Set PBR material parameters in one call: base color, metallic, roughness, and IOR. Only affects PBR-compatible materials; others are skipped.

Instructions

一次性设置 PBR 参数:基础色 + 金属度 + 粗糙度 + IOR(反射折射率)。只对 PhysicalMaterial 等 PBR 材质有效;StandardMaterial 没有这些属性会被忽略。 [English] Set PBR parameters in one call: base colour + metallic + roughness + IOR. Only meaningful on PhysicalMaterial and similar PBR materials; StandardMaterial lacks these and is skipped.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iorNo反射折射率,通常 1.0..2.5。 | Reflection/refraction IOR, usually 1.0..2.5.
materialYes材质名称。 | Material name.
metallicNo金属度 0..1。 | Metallic 0..1.
baseColorNo基础色 [0-255],也可传 "#RRGGBB"。 | Base colour [0-255], or a "#RRGGBB" string.
roughnessNo粗糙度 0..1。 | Roughness 0..1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

The description discloses the mutation behavior ('set') and the important non-PBR skip behavior, which aligns with annotations readOnlyHint=false and destructiveHint=true. However, it does not state whether omitted parameters are left unchanged or reset, nor what happens if the named material does not exist.

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

Conciseness5/5

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

The description is short, front-loaded, and free of filler. The bilingual repetition is reasonable and each sentence contributes either purpose or applicability.

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

Completeness3/5

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

For a destructive setter with no output schema, the description provides the key compatibility caveat but omits operational details such as how omitted parameters are handled and what happens for a missing material. The schema and annotations cover many basics, but these behavioral gaps remain.

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?

Schema coverage is 100%, so the schema already documents all five parameters with types and ranges. The tool description merely repeats the parameter list in prose and adds little semantic value beyond the schema. It also does not resolve the baseColor ambiguity between the array type and the '#RRGGBB' string mentioned in the schema property description.

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 states a specific operation ('一次性设置 PBR 参数') and enumerates the four fields it modifies: base colour, metallic, roughness, and IOR. It also scopes the tool to PhysicalMaterial/PBR materials, which distinguishes it from the many single-property material setters in the sibling list.

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?

It explicitly says the tool is only meaningful on PhysicalMaterial and similar PBR materials, and that StandardMaterial will be skipped because it lacks these properties. This gives a clear condition for when to use it, though it does not name an alternative tool for non-PBR materials.

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