Skip to main content
Glama
Gatyh
by Gatyh

AI texture / image

generate_texture
Idempotent

Create one AI image from a text prompt or reference image for sprites, flipbooks, emissive/UI textures, or concept art; returns a generation ID to poll.

Instructions

One AI image from a text prompt (optionally from a reference image): sprites, flipbooks, emissive or UI textures, concept images. No PBR maps: use pbr-material for tileable materials. Asynchronous: returns a generation id; poll get_generation. Spends credits (refunded automatically on failure). Typical time: 60 s.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNochatgpt = GPT Image 2 (default), banana2 = Nano Banana 2.chatgpt
promptYesWhat to draw.
image_urlNoOptional public https reference image (image-to-image).
resolutionNo2k
max_creditsYesHighest price the user accepted (from quote_generation). The call fails with confirmation_required if missing.
aspect_ratioNoe.g. 1:1, 16:9, 9:16.1:1
idempotency_keyNoOptional. Same key = same generation, never charged twice. Default: derived from the parameters for 10 minutes; pass a new value to intentionally run the same prompt again.
save_to_libraryNoOptional. When the generation succeeds, publish it in the public 3DTexel community library and add it to the user's library (free). Only if the user asked for it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond annotations by disclosing the async contract (returns a generation id, poll get_generation), the credit cost with automatic refund on failure, and a ~60 s expected duration. Annotations only declare write/openWorld/idempotent/destructive hints; the description adds the operational behavior an agent needs.

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?

Four dense sentences, front-loaded with purpose and use cases, then exclusions, then async/credit/time behavior. No filler; every clause carries decision-relevant information.

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

Completeness5/5

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

Covers purpose, exclusions, sibling routing, async polling, cost/refund, and latency for an 8-parameter write tool with no output schema. Nothing essential to a correct invocation is missing.

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?

Schema description coverage is 88%, so the schema already documents model, prompt, image_url, max_credits, aspect_ratio, and idempotency. The prose only loosely reinforces image_url ('optionally from a reference image') and adds no detail on model selection or resolution. Baseline 3 is appropriate when the schema carries the semantics.

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?

Specific verb+resource ('One AI image from a text prompt') with concrete output categories (sprites, flipbooks, emissive/UI textures, concept images) and explicit exclusion of a sibling ('No PBR maps: use pbr-material'). An agent can distinguish this from generate_pbr_material and generate_hdri without opening schemas.

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

Usage Guidelines4/5

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

Gives clear when-to-use (sprites, flipbooks, emissive/UI, concept images) and when-not (PBR maps, redirecting to pbr-material), plus the polling alternative get_generation. It omits the quote_generation prerequisite from the prose, though that lives in the max_credits schema description.

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