Skip to main content
Glama
MaterialCraft MCP Server

MaterialCraft MCP Server

by jhonsu01

Run MaterialCraft engine commands

run_materialcraft_commands
Destructive

Execute chained material-design commands and engine tools on new or opened packages, reuse prior step results, then save maps, .mcmat files, or packages with optional previews.

Instructions

Advanced: run any MaterialCraft commands in order (graph., node., edit.*...) plus the engine tools graph_new / node_add / node_connect / node_param / library_list / session_inspect / bitmap_import (step id = the tool name), on a new or an opened package, then save maps, .mcmat or the package. Parameters can use "$steps[N].field" for a value returned by step N (0-based), e.g. "$steps[0].id". A new session starts with a sample package; add a graph with graph_new first.

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_materialcraft_commands"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoFile name for the outputs, without extension.materialcraft
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

B3.4/5.0
Behavior3/5

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

Annotations already flag this as mutating, non-idempotent and destructive, so the safety profile is covered. The description does add real value beyond that: it discloses that open_path is opened but 'never saved over' and that outputs require formats plus a save target. It is silent, though, on stop_on_error and overwrite behavior and gives no warning about what destructive effects the arbitrary commands can have.

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?

It is a single dense paragraph, front-loaded with the 'Advanced:' framing and the command list before the templating and workflow notes. Nearly every clause carries information, though the run-on parenthesis of engine tool names is heavy and could be split for scannability.

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, no-output-schema tool with only 44% schema coverage, the description covers the core execution model and cross-step references but omits error semantics (stop_on_error), overwrite/save-collision behavior, and the output_dir versus output_path distinction. An agent could issue a call, but not confidently predict failure or file-handling behavior.

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?

With schema coverage at 44%, the description must carry weight, and it does explain the two hardest parameters: steps (id = tool name) and the '$steps[N].field' cross-step reference syntax, plus the role of formats and open_path. It leaves preview, overwrite, output_dir vs output_path, stop_on_error and the 5000-item cap entirely to the schema, so the compensation is partial.

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 gives a specific verb and resource ('run any MaterialCraft commands in order'), enumerates the accepted command families (graph.*, node.*, edit.*) and the engine tool names usable as step ids, and states the save targets (maps, .mcmat, package). It is clearly distinguishable from create_material or cook_material, though it never names those siblings as the simpler alternatives an agent might prefer.

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 leading 'Advanced:' label implies this is the escape hatch rather than the default path, and the closing note ('A new session starts with a sample package; add a graph with graph_new first') gives a concrete ordering prerequisite. However, there is no explicit statement of when to use this versus the sibling tools or when it should be avoided, so the guidance remains implied rather than stated.

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