Skip to main content
Glama

blender_material_slot_replace

Replace or clear a material in a specific Blender object slot. Choose OBJECT link to affect only that object or DATA link to update all objects sharing the mesh, with shared-data handling options.

Instructions

Set one slot's material (omit material to empty it). link='OBJECT' changes only this object; a DATA change affects every object sharing the mesh and then needs shared_data.

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": "<object>",
      "index": "<index>"
    },
    "name": "blender_material_slot_replace"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNo
indexYes
objectYes
materialNo
shared_dataNoerror

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A3.5/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 does disclose the key hazard: a DATA-linked change affects every object sharing the mesh. That is genuinely valuable. However, it does not say that the existing material is replaced/detached, or what happens to an out-of-range index, or whether the operation is reversible.

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?

Two sentences, zero filler. The primary action and the clearing rule come first, and the destructive DATA caveat follows immediately where it matters.

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 five-parameter mutation tool with no annotations and no output schema, the description covers the hardest interaction (link/shared_data coupling) but leaves the shared_data modes and the object/index addressing unexplained. An agent would still need to guess at the most error-prone parameter.

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 0% across five parameters. The description explains 'material' omission (empties the slot), the OBJECT vs DATA meaning of 'link', and the dependency on 'shared_data', which is real added meaning. But it never explains the shared_data enum values (error/update_all/make_single_user) or what 'object' and 'index' address, leaving half the surface undocumented.

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?

Specific verb+resource: 'Set one slot's material' with the clearing case parenthetical. 'One slot' implicitly distinguishes it from slot_append/slot_remove and material_assign, but the description never names those siblings, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

It gives a clear in-tool rule (omit material to empty the slot) and a conditional path (DATA change requires shared_data), but does not state when to prefer this over blender_material_assign or blender_material_slot_append, nor any preconditions such as slot existence.

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