Skip to main content
Glama

set_material_function_instance_parent

DestructiveIdempotent

Re-parent a material function instance to a new material function or function instance in one undoable transaction, saving it; success requires the save.

Instructions

Re-parent a UMaterialFunctionInstance asset to another material function or function instance in one undoable transaction, then save it; success requires the save. Returns old_parent and new_parent, read back from the asset ("(none)" when empty).

Returns: { instance_path: string, old_parent: string, new_parent: string, applied: bool, saved: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instance_pathYesAsset path of the UMaterialFunctionInstance to re-parent
parent_function_pathYesAsset path of the new parent UMaterialFunctionInterface

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that the change happens in one undoable transaction, that it is saved, and that success is contingent on the save succeeding. It also documents the read-back semantics including the '(none)' placeholder for an empty parent. Annotations already cover the safety profile (destructive, idempotent), so this additional transaction/save context is genuine added value.

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-loaded with the action, followed by transaction/save semantics and a return shape. Tight and mostly waste-free, though the explicit 'Returns:' line partially restates the earlier mention of old/new parent.

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?

No output schema exists, so describing the returned fields is appropriate and necessary. For a two-parameter mutation whose safety profile is already covered by annotations, the description supplies the right level of detail; only explicit permission/auth requirements are 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%, so both parameters are already documented; baseline is 3. The description's only marginal addition is clarifying that the parent argument may itself be a material function or a function instance, which slightly broadens the schema's 'UMaterialFunctionInterface' phrasing.

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?

Specific verb ('re-parent') plus resource ('a UMaterialFunctionInstance asset') and the target type ('another material function or function instance'). It clearly distinguishes itself from neighbors like set_material_instance_parent (material instances) and reparent_blueprint.

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

Usage Guidelines3/5

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

The operation and its target are clear, so usage is implied, but the description never states when to prefer this over the related siblings (set_material_instance_parent, create_material_function_instance) nor any prerequisites. Adequate but no explicit when/when-not guidance.

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