Skip to main content
Glama

Texture a 3D model

texture_model

Textures 3D models by applying layered fills, procedural patterns, materials, images, and decals, bakes mesh maps, and exports game-ready textures and meshes.

Instructions

Texture a 3D model with TextureCraft (a Substance Painter-class 3D texture painter): a built-in mesh, your mesh (glb, gltf, fbx, obj, usd, abc, ply, stl) or an existing .tcraft project, then layers from the bottom up: fills (colour, roughness, metallic and procedural patterns such as grunge on height), built-in materials (steel, rust, copper, oak, plastic... or a .tcmat / .mcmat / .mcraft file), pictures projected on a channel, and decals; optionally bakes mesh maps (ambient occlusion, curvature...). Saves the .tcraft project, the textures with an engine preset (glTF, Unreal, Unity, Blender, Godot...) and the mesh with its textures (glb, obj, usdz), and returns a 3D render.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "texture_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
yawNoCamera yaw in degrees for the picture.
bakeNoMesh maps to bake first (they drive generators and smart materials).
meshNoA built-in mesh (default material_ball when neither mesh_path nor project_path is given).
nameNoFile name without extension (a project_path copy keeps its name plus _textured).model
pitchNo
layersNoLayers from the bottom up.
presetNoWhich maps and channel packing the textures use.glTF PBR Metal Roughness
formatsNo
mesh_pathNoAbsolute mesh file to texture (one texture set per material).
overwriteNoReplace existing outputs.
output_dirNoAbsolute output folder (default: next to the input; required for new files).
resolutionNoTexture set resolution for a new project.
output_pathNoAbsolute output file for the first format (its extension must match).
project_pathNoAbsolute .tcraft project to add layers to (saved as a copy).
texture_sizeNoTexture size in pixels (power of two; default: the texture set resolution).
texture_formatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only give the safety profile (not read-only, not destructive, not idempotent); the description adds meaningful side-effect detail: it saves a .tcraft project, textures, and a mesh, notes project_path is saved as a copy, and that output_dir is required for new files. It omits runtime/cost expectations for baking, which keeps it from a 5.

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?

Purpose and accepted inputs are front-loaded and nearly every clause carries information, with no filler. It is one long run-on sentence using semicolons, which slightly hurts readability versus a cleaner structure.

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 16-parameter tool with no output schema, the description covers inputs, the layer pipeline, baking, and the returned render and saved artifacts, giving an agent enough to call it correctly. It does not flag long-running bake/processing cost, which is the main remaining gap.

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 coverage is 81%, so structured fields already document most parameters. The description adds the layer-order rule (bottom up), the procedural-pattern-on-channel idea, and material catalog examples, but these largely restate what the nested schema already provides, so the baseline 3 applies.

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 opens with a specific verb+resource ('Texture a 3D model with TextureCraft') and then enumerates the accepted mesh sources, layer stack, baking stage, and outputs. This lets an agent distinguish it from render_model, export_textures, and open_in_texturecraft without opening the schema.

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?

It conveys the workflow context (mesh in, layers, bake, save) that implies when to use it, and mentions that project_path is saved as a copy. However it never explicitly says when to prefer this over run_texturecraft_commands, open_in_texturecraft, or export_textures, leaving alternative selection to inference.

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