Skip to main content
Glama

ui_add_container

Add a container node to a Godot scene to organize UI controls. Supports VBoxContainer, HBoxContainer, GridContainer, and more.

Instructions

Add a UI container node to organize controls.

Category: UI

Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) parent_node_path: Path to the parent node container_type: Type of container (VBoxContainer, HBoxContainer, GridContainer, MarginContainer, etc.) container_name: Name for the new container node

Returns: Success message or error description

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathYes
scene_pathYes
parent_node_pathYes
container_typeYes
container_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description carries full burden for behavioral disclosure. It does not explain side effects (e.g., modifies scene file, may overwrite existing nodes), error conditions, or required permissions. The return type is mentioned but not detailed. Basic operation is stated but depth is lacking.

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 extremely concise: a one-line summary, category tag, then organized Args section. Every sentence adds value with no fluff. The structure (summary, args, returns) is clear and easy to scan.

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 the tool has 5 required parameters, no annotations, and the description includes a return clause, it covers basic usage. However, it omits context like scene loading requirements, effect on existing nodes, and error handling. It is minimally viable but not fully complete.

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?

Despite 0% schema description coverage, the description adds clear semantic meaning for all 5 parameters (e.g., 'project_path: Path to the Godot project directory'). It lists the container type options (VBoxContainer, HBoxContainer, etc.) which adds value beyond the raw schema. However, no examples or constraints are provided.

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 'Add a UI container node to organize controls', which is a specific verb+resource pair. The mention of container types (e.g., VBoxContainer, HBoxContainer) and the contrast with sibling tools like 'ui_add_control' (which adds a control) distinguishes this tool's purpose effectively.

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, such as 'ui_add_control' or 'ui_set_layout'. It does not mention prerequisites (e.g., scene must exist) or context where a container is preferred over other node types.

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

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