Skip to main content
Glama

gen_texture_from_prompt

Creates a texture set and material instance in Unreal Engine from a text prompt. Specify channels such as Base Color, Normal, and ORM, plus resolution and content path for automated material setup.

Instructions

Plan a prompt-only texture set and material instance handoff.

KB: see knowledge_base/31_GENERATIVE_CONTENT_PIPELINE.md#texture-only-path Example: gen_texture_from_prompt(prompt="wet mossy stone", channels=["BaseColor", "Normal", "ORM"], resolution=1024)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes
channelsNo
providerNotripo
asset_nameNo
resolutionNo
content_pathNo/Game/Generated
master_material_pathNo/Game/Materials/M_Master_GeneratedTexture

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations, the description must carry the behavioral burden, but it fails to state whether this operation mutates the project, creates assets, consumes credits, or just returns a plan. Terms like 'handoff' are never explained, so the agent cannot predict side effects or output behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and the KB reference plus example are useful, but the core sentence is ambiguous and poorly structured. It front-loads the unclear 'Plan' wording instead of a clear action statement, so conciseness comes at the cost of clarity.

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?

Despite having an output schema, the tool has 7 parameters, no annotations, and a low-coverage schema. The description omits essential context about the material instance handoff, provider behavior, content paths, and pipeline stage, making it incomplete for an agent to confidently select and invoke the tool.

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 example adds concrete meaning for prompt, channels, and resolution (e.g., channels=["BaseColor", "Normal", "ORM"], resolution=1024), which is helpful given 0% schema description coverage. However, the remaining four parameters (provider, asset_name, content_path, master_material_path) are entirely unexplained, so the description only partially compensates for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'Plan a prompt-only texture set and material instance handoff,' which is vague about whether the tool actually generates textures or just produces a plan. The tool name implies generation, but the description's verb 'Plan' contradicts that implication and does not clearly distinguish it from siblings like gen_tripo_texture_model or material_wire_texture_set.

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?

No explicit guidance is given for when to use this tool versus alternatives. The KB reference points to a pipeline document, but the description does not summarize conditions, prerequisites, or exclude cases, leaving the agent to infer usage from the example alone.

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