Skip to main content
Glama

blender_set_pbr_textures

Connects PBR texture maps to a material's Principled BSDF shader sockets and assigns correct color spaces for base color, roughness, metallic, normal, and emission.

Instructions

Connect texture image files to Principled BSDF shader sockets with appropriate color spaces.

Parameters: material_name: Target material name. base_color_texture: Absolute path to Base Color image (sRGB). roughness_texture: Absolute path to Roughness image (Non-Color). metallic_texture: Absolute path to Metallic image (Non-Color). normal_map_texture: Absolute path to Normal map image (Non-Color, via Normal Map node). emission_texture: Absolute path to Emission map image (sRGB).

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": {
      "material_name": "<material_name>"
    },
    "name": "blender_set_pbr_textures"
  }
}

Input Schema

NameRequiredDescriptionDefault
material_nameYes
emission_textureNo
metallic_textureNo
roughness_textureNo
base_color_textureNo
normal_map_textureNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose genuinely useful behavior: correct color-space handling per map type (sRGB for color/emission, Non-Color for roughness/metallic/normal) and that the normal map is routed through a Normal Map node. However, it omits key mutation semantics — whether existing textures on the sockets are overwritten, what happens if the material or Principled BSDF node is absent, whether new image texture nodes are created, or whether missing files raise errors.

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 lead sentence states the action and the key invariant (correct color spaces) up front, followed by a scannable per-parameter list. No filler text; the slight redundancy with the schema's parameter titles is offset by the added color-space information in each line.

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?

An output schema exists, so return values need not be explained. For a six-parameter mutation tool with zero annotations, though, the description should say what the agent must have in place beforehand (an existing material with a Principled BSDF node) and what happens to previously connected textures. Those omissions leave real ambiguity about safe invocation.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does: every one of the six parameters is documented with its target socket and required color space, plus the note that base_color_texture expects an absolute path. The only gap is the optionality of the five texture parameters, which is visible in the schema but not stated in prose.

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 uses a specific verb+resource pair ('Connect texture image files to Principled BSDF shader sockets') and names the target shader family, which immediately distinguishes it from material-creation or generic material-assignment tools. It stops short of naming a sibling (e.g. blender_configure_pbr or blender_create_material) as the alternative, so differentiation is implied rather than explicit.

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 statement of when to use this versus blender_configure_pbr, blender_create_material, or blender_set_emission, nor any prerequisite such as 'the material must already exist and contain a Principled BSDF node'. The only guidance is implicit in the parameter list. An agent must infer the calling context entirely from the parameter names.

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