Skip to main content
Glama

add_set_scalar_parameter_value_node

Add a blueprint node to set a material scalar parameter at runtime, enabling dynamic control of effects like opacity, glow, or dissolve transitions.

Instructions

Add a SetScalarParameterValue node to change a material float parameter at runtime.

Useful for animating material effects like opacity fade-in, glow intensity, dissolve transitions, etc.

Args: blueprint_name: Blueprint containing the dynamic material reference dynamic_material_variable: Variable name holding the Dynamic Material Instance parameter_name: Material scalar parameter name (e.g., "Opacity", "Metallic") scalar_value: Float value to set node_position: [X, Y] graph position

KB: see knowledge_base/08_MATERIALS_AND_RENDERING.md#overview Example: add_set_scalar_parameter_value_node(blueprint_name="/Game/MCP_Test/BP_Example", dynamic_material_variable="/Game/MCP_Test/M_Example", parameter_name="ExampleName")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scalar_valueNo
node_positionNo
blueprint_nameYes
parameter_nameYes
dynamic_material_variableYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

The description discloses the core mutation (adding a node that changes a material parameter at runtime) and gives an example. With no annotations, the burden is higher: it does not mention prerequisites such as an existing dynamic material instance, whether the blueprint graph is dirtied, or whether compilation is needed afterward.

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 description is well-organized: purpose and use cases first, followed by parameter details, a KB reference, and an example. It is slightly longer than necessary, and the example omits optional parameters, but every section earns its place.

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?

The description provides good coverage of parameters, use cases, and a KB pointer, and an output schema exists so return values need not be explained. Still, without annotations, operational prerequisites and side effects are under-specified, and the example's dynamic_material_variable mismatch reduces completeness.

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%, but the Args section explains all five parameters with meaningful context, including scalar value type, node position format, and parameter name examples. The dynamic_material_variable field is described as a variable name, yet the example passes an asset path, creating some ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action: add a SetScalarParameterValue node to change a material float parameter at runtime. This differentiates it from sibling tools like add_set_vector_parameter_value_node by explicitly naming the scalar/float behavior.

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

Usage Guidelines4/5

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

Concrete use cases are given (opacity fade-in, glow intensity, dissolve transitions), making intended usage clear. However, it does not explicitly state when not to use this tool or contrast it with alternatives, so it stops short of a 5.

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