Skip to main content
Glama

Create resource

godot_create_resource

Create GDScript, C#, scene, or generic resource files from templates in a Godot project. Optionally overwrite existing files.

Instructions

Create a new resource from a template: a GDScript (gdscript) or C# (csharp) script, a scene (scene) or a generic resource (resource). Fails if the target exists unless overwrite=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseNoFor scripts: the class to extend (e.g. "Node2D"). For scenes: ignored.
kindYesWhat to create.
resourceYesA resource path, e.g. "res://main/player.tscn" or "main/player.tscn".
overwriteNoOverwrite an existing file.
root_nameNoFor scenes: the root node name.
root_typeNoFor scenes: the root node type (default "Node2D").
class_nameNoFor scripts: an optional class_name to declare.
project_rootNoPath to the Godot project root (folder containing project.godot). Defaults to $GODOT_PROJECT_ROOT or an upward search from the working directory.
Behavior3/5

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

The description mentions it fails if target exists unless overwrite=true, which is useful. However, it does not disclose success behavior, side effects, or prerequisites like project root and permissions. With no annotations providing safety hints, more detail would be beneficial.

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 extremely concise with two sentences. The first sentence clearly states purpose, and the second adds a critical failure condition. Every sentence serves a purpose with no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 8 parameters, 2 required parameters, and a dense sibling list with overlapping tools, the description is incomplete. It does not explain the relationship to sibling tools, what happens on success, or the meaning of 'template'. The lack of output schema makes this gap more significant.

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%, so the base score is 3. The description adds minimal extra meaning beyond schema, such as reiterating kind values and overwrite behavior, but does not explain complex parameters like base or root_type beyond what is in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool creates a new resource from a template with specific supported kinds (gdscript, csharp, scene, resource). However, it does not distinguish itself from sibling tools like create_scene, create_script, or create_resource, which exist separately and could cause confusion.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus the separate create_scene, create_script, or create_resource tools. The description lacks explicit context for when this combined approach is preferable.

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

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