Skip to main content
Glama

Build a .glb from a kind or a spec

three_model_build

Generate a clean, deterministic .glb 3D model from a preset kind and parameters or a custom spec without Blender, and write it to your project for review.

Instructions

Make a clean .glb without Blender: a ready-made kind (car, tree, house, boat, aircraft, terrain, ... see three_model_spec) with params, or your own spec. Deterministic (the same request gives the same bytes), a node per part with UVs and normals, unique node names as GLTFLoader shows them. Writes out in the project (undoable with three_undo) and returns the size, triangles and the lint. Look at it with three_model_view afterwards.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "out": "<out>"
    },
    "name": "three_model_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
outYeswhere to write the .glb, e.g. public/models/car.glb
kindNo
pathNoProject folder, or a file or folder in it (relative to the server's folder; default: the project).
seedNo
specNoa full model spec (JSON object)
paramsNo
texturesNofalse: plain colours instead of texture maps (smaller)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations: it declares determinism ('the same request gives the same bytes'), the output structure (node per part with UVs and normals, unique node names as GLTFLoader shows them), the write side effect (into `out` in the project, undoable via three_undo), and what it returns (size, triangles, lint). Minor tension with idempotentHint=false since identical requests yield identical bytes, but that is a nuance about repeated-call side effects rather than a stated falsehood.

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?

Front-loaded with the core action and the kind-vs-spec fork before secondary details; every clause carries information (determinism, node naming, undo, return values). It is a dense single paragraph, but nothing is obviously padding.

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?

No output schema exists, yet the description compensates by naming what is returned (size, triangles, lint) and by describing the produced asset structure and undo path. The remaining gap is the un-mentioned seed/textures/path parameters that control the actual output, so it falls short of fully complete for a 7-parameter, nested-spec 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?

With 57% schema coverage, the description adds real meaning for `kind` (car, tree, house, boat, aircraft, terrain and pointer to three_model_spec), `params`, `spec` and `out`. However `seed`, `path` and `textures` are never explained in the description, so the undocumented half of the schema is left to inference ('in the project' is the only hint for `path`).

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?

States a specific verb+resource ('Make a clean .glb') and immediately clarifies the two input modes (ready-made `kind` plus `params`, or your own `spec`). It also implicitly distinguishes itself from three_build by framing this as model authoring 'without Blender', and names three_model_spec as the catalog of kinds.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clear routing for the two creation paths ('see three_model_spec' for kinds, 'or your own `spec`') and an explicit follow-up step ('Look at it with three_model_view afterwards', undo via three_undo). No explicit when-not or comparison against the sibling three_build, so 4 rather than 5.

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