Skip to main content
Glama

set_static_mesh_material_slot

DestructiveIdempotent

Assign a material to an existing material slot of a static mesh, optionally selecting the zero-based slot index for the target mesh.

Instructions

Assign a material to an existing material slot of a static mesh.

Returns: { static_mesh_path, material_index, material_path, saved }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
material_pathYesContent path to the UMaterialInterface to assign.
material_indexNoZero-based index of an existing material slot.
static_mesh_pathYesContent path to the UStaticMesh asset.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds the return payload including a 'saved' flag, hinting that the change is persisted, but it does not explain that an assignment overwrites the previous material or whether the change is undoable, which is the key destructive behavior an agent needs.

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 tight sentences with zero filler, and the core action is front-loaded before the return shape. Nothing needs trimming.

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

Completeness4/5

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

With no output schema, the description usefully enumerates the return fields, and the annotations cover the read/write safety profile. The remaining gap is overwrite semantics for the existing slot, which would matter for a destructive operation.

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 100%, so all three parameters (static_mesh_path, material_path, material_index) are documented in the schema itself. The description only reframes the operation around slots and adds no syntax, format, or indexing detail beyond what the schema provides; baseline 3.

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?

States a specific verb and resource ('Assign a material to an existing material slot of a static mesh'), which is unambiguous about what the tool does. The resource name distinguishes it from set_skeletal_mesh_material_slot, but the description never explicitly differentiates between the two, so it falls short of a 5.

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?

The phrase 'existing material slot' implies the slot must already exist, which is a useful precondition, but there is no explicit when-to-use, when-not-to-use, or alternative tool guidance. Usage is implied rather than stated.

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