Skip to main content
Glama

editor_create_script

Create a new GDScript at a specified path, opening it in the Godot editor. Choose a base class and template for empty, node, character, resource, or signal scripts.

Instructions

Create and open a new GDScript in the editor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesOutput path for new script
extendsNoBase classNode
templateNoTemplate: empty, node_script, character, resource_script, signal
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions creating and opening a script, but says nothing about overwriting behavior, editor prerequisites, file creation side effects, or error conditions. For a mutation tool, this is insufficient.

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, front-loaded sentence with no filler. It clearly states the action and object with appropriate brevity.

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?

There is no output schema and no annotations, and the description does not explain return values, error behavior, or prerequisites (e.g., whether the editor must be open). The basic action is clear, but the agent has little to predict the tool's full behavior or failure modes.

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 description coverage is 100%, with path, extends, and template each having meaningful descriptions. The tool description itself adds no extra parameter semantics, so the baseline of 3 applies.

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 and open' with a clear resource 'GDScript' and context 'in the editor'. It distinguishes itself from siblings like create_script or write_script by adding the 'open' action, which is meaningful.

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 alternatives such as create_script, write_script, or attach_script. There are no exclusions, prerequisites, or contextual hints beyond the basic action.

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/yanhuifair/Godot-MCP'

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