Skip to main content
Glama

load_sprite

Load a texture onto a Sprite2D or TextureRect node in a Godot scene by providing project, scene, node, and texture paths.

Instructions

Load a texture onto a Sprite2D/TextureRect node inside a scene.

Args: project_path: Absolute path to the Godot project directory. scene_path: Scene path relative to project. node_path: Path to the Sprite2D node (e.g. 'root/Player/Sprite2D'). texture_path: Texture path relative to project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_pathYes
scene_pathYes
project_pathYes
texture_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior2/5

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

Annotations are absent, so the description carries the full burden of disclosing behavior. It only restates the semantic operation ('load') and does not disclose side effects such as whether the scene file is modified on disk, whether an existing texture is overwritten, or what happens on failure. This is a minimal operation description with no behavioral depth.

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?

A single purpose sentence followed by a compact argument list; every line earns its place. The argument explanations are front-loaded and avoid redundancy with the schema.

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?

All required inputs are covered and an output schema exists, so return values are not the main gap. However, as a mutation tool with no annotations, the lack of side-effect/persistence information leaves an agent uncertain whether calling save_scene is required after loading the texture.

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?

Schema description coverage is 0%, but the description compensates by explaining all four arguments with path conventions (absolute vs relative) and an example for node_path. Minor gaps remain, such as supported texture formats or whether scene_path must include a .tscn extension, but the core semantics are clear and actionable.

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 states a specific verb ('Load') and resource ('texture onto a Sprite2D/TextureRect node inside a scene'), which makes the tool's function immediately clear. It also distinguishes itself from sibling scene-authoring tools by naming the exact node types and the operation being performed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The use case is implied: apply a texture to an existing sprite node in a scene. However, there is no explicit when/when-not guidance, no mention of alternatives, and no prerequisites such as whether the scene must be open or saved before calling this tool.

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