Skip to main content
Glama

add_autoload

Configure autoload singletons in Godot projects to automatically instantiate scripts or scenes when the project starts.

Instructions

Add or update an autoload (singleton) in the project settings. The script will be instantiated automatically when the project starts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYesAbsolute path to the project directory
nameYesAutoload node name (valid identifier, e.g. "GameManager")
scriptPathYesScript or scene path (res:// or relative)
enabledNoWhether the autoload is active (default: true)
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the autoload will be instantiated automatically when the project starts, which is useful context. However, it doesn't address critical behavioral aspects: whether this is a destructive/write operation (implied but not stated), permission requirements, error conditions, or what happens when updating an existing autoload versus adding a new one. For a mutation tool with zero annotation coverage, 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 perfectly concise - two sentences that directly state the tool's function and key behavioral characteristic. Every word earns its place with no redundancy or unnecessary elaboration. The information is front-loaded with the core purpose stated immediately.

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

Completeness3/5

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

Given this is a mutation tool with no annotations and no output schema, the description should do more to compensate. While it states the purpose and one behavioral aspect (automatic instantiation), it lacks information about the operation's effects, error handling, or return values. For a tool that modifies project configuration, this leaves significant gaps in understanding how to use it effectively.

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%, so the schema already documents all four parameters thoroughly. The description adds no additional parameter semantics beyond what's in the schema - it doesn't explain relationships between parameters, provide examples, or clarify edge cases. With high schema coverage, the baseline score of 3 is appropriate as the description doesn't compensate but also doesn't detract.

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 action ('Add or update') and resource ('autoload (singleton) in the project settings'), with additional context about automatic instantiation. It distinguishes from siblings like 'list_autoloads' and 'remove_autoload' by focusing on creation/modification rather than querying or deletion. However, it doesn't explicitly differentiate from other project modification tools like 'set_project_setting'.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an existing project), when to choose 'add' versus 'update', or when to use other project configuration tools like 'set_project_setting'. The sibling tool 'list_autoloads' could logically be used before this one, but this isn't indicated.

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

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