Skip to main content
Glama

scripts

Destructive

Create GDScript files with templates, read or overwrite content, attach scripts to scene nodes, and list or delete files in Godot projects.

Instructions

GDScript file CRUD.

Actions (required params -> optional):

  • create (script_path -> extends="Node", content, project_path): generate template

  • read (script_path -> project_path)

  • write (script_path, content -> project_path): replace entire file

  • attach (script_path, scene_path, node_name -> project_path): link to scene node

  • list (-> project_path)

  • delete (script_path -> project_path)

script_path: relative to project root (e.g., "scripts/player.gd").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
project_pathNoPath to Godot project directory
script_pathNoPath to GDScript file
extendsNoBase class for create (default: Node)
contentNoScript content (for create/write)
scene_pathNoScene file path (for attach)
node_nameNoTarget node name (for attach)
Behavior4/5

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

The description adds behavioral details beyond annotations, such as 'replace entire file' for write and 'link to scene node' for attach. Annotations already indicate destructiveHint true, but the description provides specific mutation behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description uses bullet points to organize actions and parameters, making it scannable. It is relatively concise, though the list could be more compact. Every sentence adds value.

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 100% schema coverage and rich action descriptions, the tool is mostly complete. However, it lacks explicit return value descriptions (no output schema) and error handling notes, which would enhance completeness.

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

Parameters4/5

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

The description enhances schema by listing required vs optional parameters per action and providing a usage example for script_path. Schema coverage is 100%, so baseline is 3, but the added action-specific parameter grouping justifies a 4.

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 'GDScript file CRUD' and lists each action (create, read, write, attach, list, delete) with specific verb+resource pairs. It clearly distinguishes each action, covering all operations for GDScript files, making purpose highly clear.

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

Usage Guidelines4/5

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

The description lists required and optional parameters for each action, guiding the agent on which parameters to provide. However, it does not explicitly state when to use this tool versus sibling tools, though sibling names are distinct enough to infer usage context.

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

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