Skip to main content
Glama

get_material_function_inputs

Read-onlyIdempotent

List the input and output nodes of a UMaterialFunction asset, including names, types, descriptions, sort priority, and preview values for inputs. Read-only; use graph tool for full node graph.

Instructions

List the FunctionInput and FunctionOutput nodes of a UMaterialFunction asset: node_id, name, type, description, sort priority and preview value for inputs; name, description and sort priority for outputs. Read-only. Function instances are not accepted; for the whole node graph use get_material_function_graph.

Returns: { material_function_path: string, input_count: number, output_count: number, inputs: [{ node_id: string, input_name: string, input_type: string, description: string, sort_priority: number, use_preview_value: bool, preview_value: {x,y,z,w} }], outputs: [{ node_id: string, output_name: string, description: string, sort_priority: number }] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
material_function_pathYesAsset path of the UMaterialFunction or material layer, e.g. "/Game/Materials/MF_Blend".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • changedInput schema / properties / material_function_path / description
      Previous value: -"Asset path of the UMaterialFunction"New value: +"Asset path of the UMaterialFunction or material layer, e.g. \"/Game/Materials/MF_Blend\"."
  2. First observedv1.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so 'Read-only' is redundant but harmless. It adds useful behavioral context: the input must be a material function asset, not a function instance, and it documents the exact return payload, which is not covered by an output schema. It stops short of error behavior or rate limits, so not a 5.

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?

Front-loads the purpose and then adds the alternative and return shape; the Returns block is justified because no output schema exists. However, the first sentence's field enumeration is partly repeated in the Returns block, so it is efficient but not maximally tight.

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

Completeness5/5

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

For a one-parameter read-only inspection tool, the description supplies the missing return structure, names the sibling alternative, and states the input acceptance constraint. Annotations already cover safety, and nothing essential for calling it correctly appears absent.

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% for the single material_function_path parameter, so the schema already explains the expected asset path and example. The description adds no syntax, format, or validation semantics beyond that, so baseline 3 applies.

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 (List) and resource (FunctionInput/FunctionOutput nodes of a UMaterialFunction), enumerates the returned fields, and explicitly distinguishes itself from get_material_function_graph for the whole node graph. An agent can identify the tool without opening schemas.

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

Usage Guidelines5/5

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

Explicitly says function instances are not accepted and routes whole-graph inspection to get_material_function_graph, naming the alternative and the condition that selects it. This leaves little to inference.

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