Skip to main content
Glama

canvas_layer_configure

Configure a CanvasLayer node's offset, rotation, scale, and viewport following behavior in a Godot scene.

Instructions

Configure properties of a CanvasLayer.

Category: CanvasLayer

Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) layer_path: Path to the canvas layer node offset: Offset as JSON array [x, y] rotation: Rotation in radians scale: Scale as JSON array [x, y] follow_viewport: Whether to follow the viewport

Returns: Success message or error description

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathYes
scene_pathYes
layer_pathYes
offsetNo
rotationNo
scaleNo
follow_viewportNo

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 must convey behavioral traits. It does not disclose whether the tool modifies existing configurations, what happens if the layer does not exist, or any side effects (e.g., visual changes). The 'Returns' line is minimal. This leaves significant gaps for an agent.

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 is a structured docstring with Args and Returns sections. It is front-loaded with the purpose and efficiently lists parameters. No extraneous sentences. However, it could be slightly more concise by grouping related parameters.

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 7 parameters, 0% schema description, and no annotations, the description provides the basic intent and parameter meanings but lacks deeper context like prerequisites, error scenarios, or return format beyond a string. It is adequate for a simple configuration tool but not rich enough for complex decision-making.

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?

The description adds meaning beyond the schema by explaining each parameter's meaning and format (e.g., 'Offset as JSON array [x, y]', 'Rotation in radians'). However, it does not describe default behavior when null, valid ranges, or interacting defaults. Since schema coverage is 0%, the description offers some improvement but is not comprehensive.

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 specifies the verb 'Configure' and resource 'CanvasLayer properties', clearly distinguishing from sibling tools like canvas_layer_add (add layer) and canvas_layer_set_order (set order). The function is well-scoped to updating configuration parameters.

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 canvas_layer_add or canvas_layer_set_order. It lacks preconditions, context, or exclusions, leaving the agent to infer usage from the description alone.

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