Skip to main content
Glama

set_material_function_output_props

DestructiveIdempotent

Update properties on an existing material function output node by node ID, including output name, description, and sort priority. Renames are revalidated for uniqueness.

Instructions

Set properties on an existing UMaterialExpressionFunctionOutput (located by node_id). Partial update (idempotent). ValidateName is re-run when output_name changes.

Returns: { function_path: string, node_id: string, output_name: string, applied: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYesThe output node id (UMaterialExpression name) from add_material_function_output
descriptionNoOptional tooltip/description string
output_nameNoOptional new pin name (re-validated for uniqueness)
function_pathYesFull path to the material function, e.g. '/Game/MyGame/MF_Example.MF_Example'
sort_priorityNoOptional int display-order

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=true. The description still adds real value by disclosing that ValidateName is re-run when output_name changes and by listing the returned fields, though it never explains the destructiveHint=true side (e.g. what state is affected by renaming a pin).

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?

Three tight sentences: the action and locator come first, the update semantics second, and the return shape last. No filler, and since there is no output schema the return signature earns its space.

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?

For a mutating, non-read-only tool with no output schema, the definition covers the mutation semantics, the validation side effect, and return fields. It is thin only on the destructive/rename consequences that the annotations flag as destructiveHint=true.

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 100% and all five parameters are documented in the schema, including the '/Game/...' path format example. The description only reinforces node_id as the locator and adds the ValidateName trigger for output_name, so baseline 3 is appropriate.

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?

States a specific verb (Set properties) and resource (UMaterialExpressionFunctionOutput), including the lookup key (node_id) and the fact that the node must already exist. It clearly separates itself from add_material_function_output and set_material_function_input_props without opening either schema.

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?

'Partial update (idempotent)' tells the agent it may send only the fields it wants changed, and 'existing' implies the output node must be created first via add_material_function_output. It stops short of explicitly naming the create/delete siblings or stating when-not-to-use.

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