Skip to main content
Glama

resource_create_material

Create a StandardMaterial3D resource with customizable properties like albedo color, roughness, metallic, and emission, then optionally assign it to a node in your Godot project.

Instructions

Create a StandardMaterial3D resource and optionally assign it to a node.

Category: Resource

Args: project_path: Path to the Godot project directory save_path: Path where the material will be saved (e.g., "materials/red.tres") albedo_color: Base color as hex string (e.g., "#FF0000") or color name (e.g., "red") roughness: Surface roughness (0.0 = smooth/reflective, 1.0 = rough) metallic: Metallic value (0.0 = non-metal, 1.0 = metal) emission_enabled: Enable emission/glow effect emission_color: Emission color as hex string or color name emission_energy: Emission intensity multiplier transparency: Transparency mode ("disabled", "alpha", "alpha_scissor", "alpha_hash") cull_mode: Face culling mode ("back", "front", "disabled") scene_path: Optional scene path to assign the material to a node target_node_path: Optional node path to assign the material (e.g., "root/MeshInstance3D")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathYes
save_pathYes
albedo_colorNo
roughnessNo
metallicNo
emission_enabledNo
emission_colorNo
emission_energyNo
transparencyNo
cull_modeNo
scene_pathNo
target_node_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The description explains parameter behaviors (e.g., roughness range, transparency modes) but does not disclose potential side effects such as whether an existing file at save_path is overwritten, or what happens if assignment fails. No annotations are present, so the description bears full responsibility.

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: a one-line purpose, a category tag, and a clear list of parameters with explanations. No unnecessary words; front-loaded with the key action.

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?

The description covers all parameters and the optional assignment feature. It is complete for a 12-parameter tool with an output schema, though it lacks details on error handling or prerequisites (e.g., project must exist).

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?

With 0% schema description coverage, the description provides thorough meaning for all 12 parameters, including types, defaults, allowed values (e.g., transparency modes), and ranges (e.g., roughness 0.0-1.0). This adds significant value beyond the schema's type-only 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?

The description clearly states it creates a StandardMaterial3D resource and optionally assigns it to a node. This specific verb+resource combination distinguishes it from sibling tools like resource_list (list) or resource_get_material_properties (get).

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?

Usage is implied by the name and description, but there is no explicit guidance on when to use this tool versus alternatives like resource_list or other creation tools. No alternatives or exclusions are mentioned.

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/ChanceFlow/godot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server