Skip to main content
Glama

texture_manage

Manage texture and image resources in Godot by creating images, atlas textures, curve textures, and retrieving texture metadata.

Instructions

Texture and Image Resource Management.

Ops:

  • create_image(width=64, height=64, use_mipmaps=False, format="rgba8", fill_color=None, save_path="") Create a new Image resource and optionally fill color and save to disk.

  • create_atlas(atlas_path, region_rect=[0,0,32,32], filter_clip=False, save_path="") Create an AtlasTexture referencing a region of an existing texture.

  • get_texture_info(path) Get metadata for a texture or image resource.

  • create_curve_texture(points=[[0.0,0.0],[1.0,1.0]], width=256, save_path="") Create a CurveTexture resource from control points.

Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opYes
paramsNo
session_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.0.28

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It does explicitly mention optional save-to-disk behavior, default values, and that atlas creation references an existing texture, which gives useful side-effect context. It does not cover error cases, permissions, or what happens when save_path is omitted, but the presence of an output schema helps cover return-value expectations.

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 well-structured with a concise heading, bulleted operation signatures, and a final canonical-call-shape note. Each line serves a purpose, and the operation-specific parameters are front-loaded. Despite its length, the detail is justified because the tool is a multi-operation dispatcher and the schema provides almost no parameter documentation.

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

Completeness4/5

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

For a tool with multiple sub-operations, no annotations, and a generic schema, the description provides enough operational and parameter context to invoke the tool correctly. The output schema covers return values, so the main remaining gaps are higher-level usage heuristics and error/edge-case behavior, which are not essential for basic invocation.

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?

The input schema is generic (op/params/session_id) with 0% description coverage, so the description must supply all parameter meaning. It compensates well by listing each operation's parameters with defaults and brief semantic comments, such as width, height, use_mipmaps, format, fill_color, save_path, atlas_path, region_rect, filter_clip, and points. It does not fully specify accepted format values or coordinate formats, but it adds substantial value beyond the schema.

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 'Texture and Image Resource Management' and enumerates four specific operations—create_image, create_atlas, get_texture_info, and create_curve_texture—each with a one-line explanation. This distinguishes the tool's category and responsibilities, though it does not explicitly distinguish it from sibling resource-management tools.

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 operation list strongly implies usage: this tool is for creating or inspecting texture/image resources. However, there is no explicit when-to-use or when-not-to-use guidance, and no sibling alternatives are mentioned, so the agent must infer the boundary between this tool and tools like resource_manage or filesystem_manage.

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