Skip to main content
Glama

load_sprite

Assign a texture to a Sprite2D node 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)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
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 disclosing side effects. It only says 'Load a sprite into a Sprite2D node' without stating whether this edits and saves the scene file, mutates the runtime tree, replaces an existing texture, or requires the project to be running.

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 eight-word sentence with no filler, and the core operation is front-loaded. It is appropriately brief, though it sacrifices behavioral and usage detail.

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?

With no annotations and no output schema, the description is too sparse for a mutating tool. It leaves unanswered whether the change is persistent, whether it targets the edited scene or the running game, and what happens when the texture is overwritten or loading fails.

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 input schema already describes all four parameters, with an example for nodePath, so the description adds no additional parameter meaning. Since schema description coverage is 100%, the baseline score of 3 is appropriate.

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 states a specific verb (Load), resource (sprite), and target (Sprite2D node), which clearly identifies the operation and matches the provided parameters. It is not a tautology, though it does not explicitly differentiate itself from sibling scene-modification tools such as modify_scene_node or game_set_property.

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?

There is no guidance on when to use this tool versus alternatives like modify_scene_node, game_set_property, or resource-loading tools. The description implies it is for putting a texture on a Sprite2D node, but it gives no prerequisites, exclusions, or context about when this tool is the right choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools