Skip to main content
Glama
BlenderMCP

BlenderMCP

by szichedelic

assign_material

Assign an existing material to a Blender object by object and material name, optionally targeting a specific material slot to replace it or append a new slot.

Instructions

Assign an existing material to an object.

Parameters:

  • object_name: Name of the target object

  • material_name: Name of the material to assign

  • slot_index: Optional material slot index to replace (appends if omitted)

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

Input Schema

NameRequiredDescriptionDefault
slot_indexNo
object_nameYes
material_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.5

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does disclose useful behavior for slot_index (a slot is replaced if specified, appended if omitted), but says nothing about failure modes such as a missing object or material name, whether existing slot assignments are overwritten, or what the tool returns.

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 purpose sentence is front-loaded and followed by a compact parameter list with no filler. Slight redundancy with the schema titles is offset by the appended behavioral note on slot_index.

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 simple three-parameter mutation tool with no annotations and no output schema, the definition covers purpose and parameters adequately. It stops short of the details that would matter on invocation, notably preconditions (object/material must already exist) and the result of the operation.

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% and the schema exposes bare titles, so the description must compensate and largely does: it clarifies object_name as the target object, material_name as the material to assign, and slot_index as an optional slot index to replace with append-on-omission semantics. Only the accepted format of names (exact Blender datablock name?) is left implicit.

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 states a specific verb and resource: 'Assign an existing material to an object,' which is unambiguous and distinct from sibling create_material. It does not explicitly contrast with any sibling, but the wording itself clearly distinguishes assignment from creation or property editing.

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 tool versus alternatives like create_material or set_material_property, and no stated prerequisites (e.g. that the object and material must already exist). Only the slot_index default behavior is described, which is a parameter detail rather than usage guidance.

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