Skip to main content
Glama
aadeshrao123

Unreal-MCP

by aadeshrao123

set_material_function_input

Modify the properties of a FunctionInput node in a material function, including name, type, description, sort priority, and default value.

Instructions

Modify an existing FunctionInput node's properties.

Args: function_path: Full path to existing material function node_index: Index of the FunctionInput node (from get_material_function_info) input_name: New pin name input_type: New type (Scalar/Vector2/Vector3/Vector4/Texture2D/TextureCube/ Texture2DArray/VolumeTexture/StaticBool/MaterialAttributes/ TextureExternal/Bool/Substrate) description: New tooltip sort_priority: New display order use_preview_as_default: Use preview value as default preview_value: JSON array for default value (e.g. "[0.5]", "[1.0, 0.0, 0.0, 1.0]")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_nameNo
input_typeNo
node_indexYes
descriptionNo
function_pathYes
preview_valueNo
sort_priorityNo
use_preview_as_defaultNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the tool modifies properties, but does not mention side effects, permissions, error conditions, or undo behavior. The parameter explanations add some transparency, but deeper behavioral context is missing.

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 structured with a brief introductory sentence followed by a well-organized list of parameters. It is not overly verbose, though the parameter list is detailed. Could be slightly more concise, but overall efficient.

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?

Given 8 parameters (2 required) and an output schema, the description covers all parameters with useful hints (e.g., node_index from get_material_function_info). It lacks information on error handling or constraints, but for a modification tool it is reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage (no schema-level descriptions). The description compensates fully by explaining every parameter, including type and meaning (e.g., 'New pin name', 'New type (Scalar/Vector2/...)', and an example for preview_value).

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 modifies an existing FunctionInput node's properties, using the verb 'Modify' and specifying the resource ('FunctionInput node'). It distinguishes from sibling 'add_material_function_input' which adds a new input, and 'set_material_function_output' for outputs.

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?

The description implies usage for modifying an existing input node, but does not explicitly state when not to use it or provide alternatives. It lacks exclusions or prerequisites, though the clear contrast with sibling 'add' tools is helpful.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aadeshrao123/Unreal-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server