Skip to main content
Glama
MaterialCraft MCP Server

MaterialCraft MCP Server

by jhonsu01

Export / convert materials

export_material

Cook .sbs and .mcraft packages into PNG/JPG/TGA/EXR texture maps, .mcmat materials, or converted packages without altering inputs; outputs go beside each source or to an output directory.

Instructions

Cook one or many packages (.sbs, .mcraft) into texture maps (png, jpg, tga, exr...), portable .mcmat materials or converted packages, one after another. Inputs are never changed; outputs go next to each input or into output_dir.

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

Input Schema

NameRequiredDescriptionDefault
formatsNo
map_sizeNoPixels of the larger side (a power of two; default: the graph size).
bit_depthNo
input_dirNo
overwriteNo
map_formatNopng
output_dirNo
input_pathsNo

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?

The annotations declare a non-read-only, non-destructive, non-idempotent operation, and the description adds genuinely new context: source files are never mutated and results are written beside each input or into output_dir. That clarifies the write profile beyond the annotations. It stops short of explaining overwrite semantics (default false) or what happens when an output already exists.

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?

Two tight sentences with the action first and the side-effect guarantee second; no filler and nothing redundant. Both sentences carry information an agent needs before calling.

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 an 8-parameter write tool with no output schema and very low schema-description coverage, the description covers the what and the where but omits overwrite behavior, image sizing/bit-depth implications, and how input_paths relates to input_dir. Adequate to invoke, not complete enough to invoke safely.

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 only 13%, so the description must carry weight; it does explain the otherwise cryptic formats values ("maps" = texture maps, "mcmat" = portable materials) and clarifies output_dir placement. It says nothing about map_size, bit_depth, overwrite, or input_dir versus input_paths, leaving half the parameters undocumented.

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 ("cook"/export) plus the precise input resources (.sbs, .mcraft) and the three output families (texture maps, .mcmat materials, converted packages). It is clear what the tool does, but it never distinguishes itself from the sibling cook_material, so an agent choosing between the two gets no help here.

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?

Batch usage is implied by "one or many ... one after another," and the output-placement sentence hints at the batch-conversion scenario. However, there is no explicit statement of when to prefer this over cook_material, nor any prerequisites such as which inputs are accepted or what happens when formats includes several values.

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