Skip to main content
Glama

load_sprite

load_sprite

Assign a texture to a Sprite2D node in a Godot scene by providing the project, scene, node, and texture paths.

Instructions

Load a sprite into a Sprite2D node

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodePathYesPath to the Sprite2D node (e.g., "root/Player/Sprite2D")
scenePathYesScene file path (relative to project)
projectPathYesGodot project path
texturePathYesPath to the texture file (relative to project)
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It states 'Load a sprite,' implying mutation, but does not explain side effects (e.g., whether the scene is modified on disk, if it requires the scene to be open, or what happens to the previous texture). This lack of disclosure is a significant gap for a mutation tool.

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 single sentence that is efficient and not verbose. However, it could be slightly restructured to front-load the key action and include a brief note on prerequisites or effects without losing conciseness.

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

Completeness2/5

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

Given the tool has 4 required parameters and no output schema or annotations, the description is incomplete. It does not explain what 'load' means operationally (e.g., does it open the scene? modify the node? require the scene to be saved?). Sibling tools like 'game_set_property' exist, but the description offers no differentiation or comprehensive context.

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 schema has 100% coverage with descriptive parameter comments, so the baseline is 3. The description adds no additional meaning beyond the schema, such as format details or constraints. It does not compensate for any gaps since none exist.

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 uses a specific verb ('Load') and resource ('sprite') with a clear target ('Sprite2D node'), which distinguishes it from sibling tools like 'game_spawn_node' or 'modify_scene_node'. However, it could be more precise by indicating that it sets the texture property of an existing node.

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 (e.g., 'game_set_property' to set the texture). Users are left to infer the appropriate context without explicit when-to-use or when-not-to-use advice.

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

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