Skip to main content
Glama

create_resource

Create a .tres resource file with typed properties for Godot, specifying resource type, properties, and optional GDScript script.

Instructions

Create a .tres resource file with typed properties

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
propertiesNoProperties to set on the resource
scriptPathNoOptional: Path to a GDScript that defines the resource class
projectPathYesPath to the Godot project directory
resourcePathYesPath where the .tres file will be saved (relative to project)
resourceTypeYesType of resource (e.g., "Resource") or path to a script with class_name
Behavior2/5

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

Annotations only indicate readOnlyHint=false, destructiveHint=false, and idempotentHint=false, which are not informative. The description adds 'typed properties' but does not disclose key behaviors such as whether an existing file is overwritten, whether the file is created atomically, or what happens on invalid input. There is no mention of return values or error handling.

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 a single sentence with no filler. It front-loads the core purpose and avoids redundancy with the annotations or schema.

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?

With five parameters, a nested object, and no output schema, a one-line description is insufficient. It does not mention side effects (e.g., file overwrite behavior), prerequisites (e.g., valid project path), or return values. The description leaves too much unsaid for a tool of this complexity.

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%: every parameter has a description in the input schema. The description does not add additional meaning beyond the schema, so it stays at the baseline of 3.

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 uses a specific verb ('Create') with a specific resource ('.tres resource file') and adds 'typed properties', which clearly differentiates it from sibling creation tools like create_scene or create_tileset. It is unambiguous about what the tool does.

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 when-to-use or alternative guidance is provided, but the description implies usage: use when needing to create a .tres resource file with typed properties. It does not mention exclusions or when not to use it, so it stops at implied usage.

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

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