Skip to main content
Glama
aadeshrao123

Unreal-MCP

by aadeshrao123

create_material_function

Create a new Material Function asset in Unreal Engine. Supports custom file path, description, library exposure, and optional forced overwrite.

Instructions

Create a new Material Function asset.

Returns error if asset already exists. Pass force=true to delete and recreate.

Args: name: Function name (e.g. "MF_CustomBlend") path: Content Browser path description: Function description shown in tooltips expose_to_library: Whether the function appears in the material editor's function library force: If true, delete existing asset and recreate (default false)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
pathNo/Game/Materials/Functions
forceNo
descriptionNo
expose_to_libraryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description discloses key behaviors: error if asset exists, and force flag to delete and recreate. It does not mention permissions or side effects, but covers the main creation behavior adequately.

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?

The description is concise with a brief headline, a note on error handling, and a structured Args list. Every sentence adds value without redundancy.

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?

Given the presence of an output schema, the description does not need to explain return values. It covers creation behavior, parameter meanings, and error handling. Minor omissions like prerequisites are acceptable for this complexity.

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

Parameters5/5

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

Despite 0% schema description coverage, the Args section provides detailed explanations for all 5 parameters, including examples and purposes. This fully compensates for the missing schema descriptions.

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?

The description clearly states 'Create a new Material Function asset' using a specific verb and resource. It distinguishes from sibling tools like create_material and create_material_instance by specifying 'material function'.

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?

No explicit guidance on when to use this tool versus alternatives such as create_material or create_material_instance. The name implies it is for functions, but the description does not clarify selection criteria.

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