Skip to main content
Glama

blender_set_material

Assign Principled BSDF PBR material presets or custom image textures to Blender objects, including matte, metallic, glass, velvet, and emission finishes.

Instructions

Assign a studio Principled BSDF PBR material preset (matte, glossy, plastic, rubber, metallic, chrome, silver, gold, copper, glass, frosted_glass, velvet, emission, clay) or custom PBR/image texture.

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": {
      "object_name": "<object_name>"
    },
    "name": "blender_set_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
iorNo
coatNo
modeNoExecution mode: auto (live GUI if open, else headless), live, or headless.
colorNoHEX color e.g. #F4B942
presetNoglossy
metallicNo
roughnessNo
blend_fileNoOptional existing .blend file to open in headless mode (original is never overwritten unless save_blend_path equals it).
object_nameYes
transmissionNo
material_nameNo
emission_colorNo
save_blend_pathNoOptional output .blend file path to save the scene after the operation.
emission_strengthNo
image_texture_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and falls well short. It does not say whether an existing material on the object is replaced or added as a new slot, whether a new material datablock is created, how material_name affects naming/collisions, or what mode='auto' actually resolves to. Mutating scene state with 15 parameters and zero disclosure of side effects or reversibility is a significant gap.

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?

A single dense sentence that front-loads the action and puts the enumerated preset vocabulary in the middle where it is easy to scan. Every clause earns its place; the only minor cost is that the long parenthetical list slightly buries the custom-texture path at the end.

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 15-parameter, state-mutating tool with no annotations and no output schema, the description is thin. It omits execution-mode semantics, file persistence behavior (blend_file/save_blend_path), material naming behavior, and what the call returns, leaving the agent to reverse-engineer most runtime behavior from parameter names.

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 description coverage is only 27%, so the description must compensate, and it partially does: the preset list is the only documentation for the undescribed 'preset' parameter, and 'custom PBR/image texture' signals the role of metallic, roughness, ior, coat, transmission, emission_*, and image_texture_path. However, object_name, material_name, blend_file, and save_blend_path receive no explanation of interaction or precedence (e.g., preset values versus explicit overrides).

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 gives a specific verb ('Assign') plus resource ('studio Principled BSDF PBR material preset or custom PBR/image texture') and enumerates every valid preset value, so an agent knows exactly what the tool produces. It does not explicitly name the target object, but 'assign' combined with the required object_name parameter makes that inference safe. No sibling in the list competes for this function, so the absence of explicit differentiation costs little.

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 guidance on when to use this versus alternatives such as blender_create_studio_scene or blender_modify_object, and no statement of prerequisites (whether the target object must already exist, whether Blender must be running, which mode to pick). Usage is only implied by the tool name and the word 'assign'.

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