Skip to main content
Glama

load_sprite

Loads a texture onto a Sprite2D node, updating the sprite in a Godot scene using specified 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 carries the full burden of behavioral disclosure. It only states the basic action without revealing side effects (e.g., overwrites existing texture), error behavior (invalid path, missing node), or any confirmations. For a tool that modifies scene nodes, 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 a single sentence of 7 words, conveying the core functionality without redundancy. It is front-loaded and efficient. However, the extreme brevity may trade off completeness; but for this dimension, it scores highly.

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, no output schema, no annotations, and a large set of sibling tools, the description is too minimal. It does not explain the result (e.g., returns nothing), error handling, or how it differs from similar tools. More context is needed for reliable agent invocation.

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?

All four parameters have descriptions in the input schema, achieving 100% coverage. The description itself does not add any additional meaning beyond the schema, so it meets but does not exceed the baseline. No parameter details are missing.

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 (load), resource (sprite), and target (Sprite2D node). It is specific and concise. However, it does not differentiate this tool from similar siblings like 'set_property' or 'modify_scene_node', which could also be used for setting a texture.

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 does not mention prerequisites (e.g., node must exist), nor does it exclude cases where other tools might be more appropriate. Sibling tools like 'modify_scene_node' or 'set_property' exist for setting node properties, but no guidance is given.

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

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