Skip to main content
Glama

Run TextureCraft engine commands

run_texturecraft_commands
Destructive

Run ordered TextureCraft commands to create or edit projects, then save and preview outputs. Use step results as inputs for later steps to automate texturing and baking.

Instructions

Advanced: run any TextureCraft commands in order (layer., mask., effect., material., bake., tool., camera., display....) plus the engine tools project_new / paint_stroke / bake / session_inspect / material_load / resource_import (step id = the tool name), on a new project (project_new first) or an opened one, then save. Parameters can use "$steps[N].field" for a value returned by step N (0-based), e.g. "$steps[1].layer".

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": "run_texturecraft_commands"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoFile name for the outputs, without extension.texturecraft
stepsNo
formatsNoSave the result (needs output_dir or output_path).
previewNoReturn a picture of the result.
open_pathNoAbsolute file to open first (never saved over; save a copy with formats).
overwriteNo
output_dirNo
output_pathNo
stop_on_errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is carried elsewhere. The description adds real behavioral context beyond that: steps execute in order, the step 'id' is a tool/command name, and values can be piped forward via '$steps[N].field'. It still omits partial-failure semantics and how 'overwrite' interacts with existing output files.

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?

Everything is packed into one long sentence, but the 'Advanced:' qualifier is front-loaded and every clause carries operational meaning (command families, engine tools, project lifecycle, cross-step references). It is dense but not padded, though the run-on form makes parsing harder than necessary.

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?

For a 9-parameter, destructive, high-blast-radius tool with no output schema, the definition covers the execution model well but is thin on failure behavior, save/overwrite consequences, and what the tool returns beyond the 'preview' flag. An agent could invoke it correctly in the happy path but lacks guidance for error or overwrite scenarios.

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 coverage is only 44%, and the description compensates on the most opaque parameters: it defines what a step's 'id' means (a tool name), documents the '$steps[N].field' interpolation syntax, and links 'formats' to saving. It leaves 'name', 'preview', 'overwrite', 'stop_on_error' and the output_dir vs output_path distinction to the schema, which only partly documents them.

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?

States a specific verb and resource ('run any TextureCraft commands in order') and enumerates the command families (layer.*, mask.*, effect.*, material.*, bake.*, tool.*, camera.*, display.*) plus named engine tools. An agent understands this is a generic batch-execution escape hatch, but the description never names a sibling (e.g., export_textures or open_in_texturecraft) to contrast against, so differentiation is inferred rather than stated.

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 'Advanced:' prefix and the parenthetical '(project_new first)' / 'then save' give implied workflow context: start a project, run ordered steps, save outputs. There is no explicit when-not guidance or pointer to simpler siblings, so the agent must guess when this batched tool is preferable to the narrower named tools.

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