Skip to main content
Glama
aadeshrao123

Unreal-MCP

by aadeshrao123

cleanup_material_function

Remove unconnected and orphaned nodes from Material Functions, including duplicate inputs, outputs, and unused internal nodes. Use dry run to preview deletions.

Instructions

Remove unconnected/orphaned nodes from a Material Function.

Deletes:

  • FunctionOutput nodes with no input wired (duplicate output pins)

  • FunctionInput nodes whose output nobody consumes (duplicate input pins)

  • Orphaned internal nodes

WARNING: Only call when the user explicitly asks to clean up.

Args: dry_run: If true, reports what would be deleted without deleting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
function_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Fully discloses destructive behavior (deleting nodes) and classifies which nodes are removed. Includes a dry_run option for preview. With no annotations, description carries full burden and excels.

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?

Four sentences total: one for purpose, one listing deletions, one warning, one for parameter docs. No fluff, front-loaded, efficient.

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 cleanup tool with 2 parameters and no annotations, the description covers purpose, exact deletions, usage caution, and parameter details. Output schema exists but not needed for completeness.

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

Parameters4/5

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

Despite 0% schema description coverage, the description includes an 'Args' section explaining dry_run and implying function_path. Adds meaning beyond the schema's property definitions.

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?

Clearly states the action 'Remove unconnected/orphaned nodes' and the target resource 'Material Function'. Lists specific node types deleted, distinguishing it from siblings like 'cleanup_material_graph'.

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?

Explicit warning 'Only call when the user explicitly asks to clean up.' Provides context for appropriate use, though does not explicitly name alternative for different graph types or situational alternatives.

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