Skip to main content
Glama

delete_material_function_output

DestructiveIdempotent

Delete a UMaterialExpressionFunctionOutput node from a material function using function_path and node_id; returns deleted false when already absent.

Instructions

Delete a UMaterialExpressionFunctionOutput node from a material function (inverse of add_material_function_output). Located by node_id via the function's own expression list. Idempotent: an already-absent node_id returns { deleted:false, already_absent:true } as success, not an error.

Returns: { function_path: string, node_id: string, deleted: bool, already_absent: bool, num_inputs: number, num_outputs: number }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYesThe output node id (UMaterialExpression name) from add_material_function_output
function_pathYesFull path to the material function, e.g. '/Game/MyGame/MF_Example.MF_Example'

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 destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real value beyond them by spelling out the exact idempotent semantics ('an already-absent node_id returns { deleted:false, already_absent:true } as success, not an error'), which the annotations cannot convey.

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 verb and resource, then the inverse reference and idempotency caveat. The trailing Returns block is informative but somewhat verbose; overall tight and well-ordered.

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?

There is no output schema, but the description fully documents the return shape and the idempotent success case, and it explains node lookup. Nothing an agent needs to call this mutation correctly is missing.

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 both parameters are documented in the schema itself. The description adds only the locating mechanism ('via the function's own expression list'), which is marginal over what the schema already states, 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 specific verb and resource ('Delete a UMaterialExpressionFunctionOutput node from a material function') and explicitly identifies itself as the inverse of add_material_function_output, letting an agent place it against the add/delete sibling pair 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?

Gives clear context via the inverse relationship to add_material_function_output and the idempotency note, so the agent knows when it applies. It stops short of naming the other deletion siblings (delete_material_function_input, delete_material_expression) to differentiate use cases.

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