Skip to main content
Glama
n24q02m

Better Godot MCP

by n24q02m

scripts

Destructive

Manage GDScript files in Godot projects: create, read, write, attach to scene nodes, list, and delete scripts.

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
contentNoScript content (for create/write)
extendsNoBase class for create (default: Node)
node_nameNoTarget node name (for attach)
scene_pathNoScene file path (for attach)
script_pathNoPath to GDScript file
project_pathNoPath to Godot project directory

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already indicate destructiveHint=true, and the description reinforces this by detailing destructive actions like 'replace entire file' and 'delete'. It adds context about template generation for create and parameter dependencies, providing behavioral clarity beyond the annotations.

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 and well-structured, using bullet points and clear groupings. Every sentence serves a purpose—defining actions, parameters, and providing an example—without superfluous content.

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

Completeness5/5

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

Given the tool's complexity (7 parameters, 6 actions), the description comprehensively covers all actions, their parameter requirements, and usage notes. An output schema exists, so return values need not be described. The description is fully adequate.

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?

Schema description coverage is 100%, giving baseline 3. The description adds value by grouping parameters per action, indicating which are required/optional, and providing an example script path format. This enhances understanding of parameter usage beyond the schema's individual descriptions.

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 'GDScript file CRUD' and enumerates specific actions (create, read, write, attach, list, delete) with parameter requirements. It distinguishes itself from sibling tools (e.g., animation, audio) by focusing exclusively on GDScript file manipulation, making the tool's scope unmistakable.

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 provides structured action listings with required and optional parameters, giving clear context for when to use each action. However, it does not explicitly state when not to use this tool or suggest alternatives among siblings, though the domain specificity makes the usage implied.

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