Skip to main content
Glama

get_material_function_graph

Read-onlyIdempotent

Enumerate a UMaterialFunction's internal expression graph, listing every material expression node and the expression input connections between them for inspection and editing.

Instructions

Enumerate a UMaterialFunction's internal expression graph: every UMaterialExpression node plus the FExpressionInput connections between them (same shape as get_material_graph_info, scoped to a function instead of a material).

Returns: { material_function_path: string, node_count: number, nodes: [{name, class, inputs:[{index, input_name, source, source_output_index}], input_count}], connection_count: number, connections: [{from, from_output_index, to, to_input}] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
material_function_pathYesAsset path of the UMaterialFunction

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent and non-destructive, so the safety profile is fully declared. The description adds behavioral context by disclosing the exact return structure (node/connection shape), which is not derivable from annotations or the input schema.

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 sentences: purpose first, then the return shape. Front-loaded and each part earns its place, with no redundancy.

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?

No output schema exists, so the description compensates by fully specifying the return payload (path, node_count, nodes with inputs, connection_count, connections). Combined with the annotations, the agent has everything needed to call and interpret this read-only tool.

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% and there is only one parameter already documented as the asset path. The description does not add format or syntax beyond the schema, so the 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 precise verb (enumerate) and resource (a UMaterialFunction's internal expression graph), and clarifies it covers both UMaterialExpression nodes and FExpressionInput connections. It explicitly distinguishes itself from the sibling get_material_graph_info by scope (function instead of material).

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 routes the agent clearly via the sibling comparison, indicating this tool handles functions where get_material_graph_info handles materials. It stops short of explicit when/when-not conditions or prerequisites, but the differentiation is strong enough that an agent can select correctly.

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