Skip to main content
Glama

Create export

export_create
Idempotent

Export a revision to GLB, OBJ, STL, .blend, or the complete editable .ngp document for an ngPlant project. Native ngp is a byte-preserving download with no selection, modifiers, scale, presets or baking. enginePreset applies target-engine conventions and overrides yUp/scaleFactor: unity and godot (GLB, Y-up, meters), print (STL scaled ×1000 AND Z-up, because slicers read raw units as millimeters and orient Z-up — the preset is the whole print convention, not just the scale), unreal (GLB converted by UE on import; OBJ/STL scaled ×100 to centimeters). Selection is resolved against the exported revision before dispatch and the response lists exactly which objects were selected — broken down by type, so a stray curve or empty is visible — and a stale id or an empty match fails loudly instead of silently shipping an incomplete file. Curves with no bevel or extrude carry no surface and are skipped (named in the response) unless you pass them in objectIds. Returns a durable job handle; the file becomes an immutable artifact.

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": {
      "projectId": "<projectId>",
      "format": "<format>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "export_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
yUpNo
formatYes
bakeSizeNo
objectIdsNoPlatform ids, with selectionPolicy=objects. NOTE: ids are datablock-scoped — deleting and recreating an object mints a NEW id, so a list gathered before an edit can go stale. Prefer objectNamePattern, which is resolved fresh at dispatch.
projectIdYesStable project ID returned by project_create or projects_list.
revisionIdNo"HEAD" (default) uses the project's current headHEAD
scaleFactorNo
bakeLightingNoGLB only: bake the full rendered shading, lights included, into UNLIT emissive textures. The trade is view dependence, and it is not subtle: the bake stores one sample of the shading per surface point, so specular highlights stop moving with the camera, reflections and glass stop responding to their surroundings, and anisotropic or clearcoat sheen becomes a fixed painted shape. It looks correct from the baked viewpoint and drifts as the viewer orbits. Right for a dark or rig-driven scene a web viewer cannot relight, WRONG for a turntable of a metal or glass product — use bakeTextures for that, which bakes procedural material values and leaves lighting to the viewer.
bakeOverflowNo
bakeTexturesNoGLB only: bake procedural (node-driven) materials to textures before export so viewers keep the rendered look. Meshes without UV layers are unwrapped automatically first, which is slow on many-part assemblies (the response says so, and the job reports per-object bake progress). Only procedural, node-driven values are lost when this is off: materials with constant base colour, metallic and roughness export correctly unbaked, so false is the right choice for most hard-surface work.
enginePresetNo
applyModifiersNo
idempotencyKeyYesStable caller-chosen key for safe retries of this same request.
bakeObjectLimitNo
selectionPolicyNo
excludeObjectIdsNoDrop these specific platform ids. Applied after the other selectors.
objectNamePatternNoSelect by Blender object name with * wildcards, e.g. "Watch_*" or "*_Link". Resolved against this revision at dispatch, so it cannot go stale like objectIds. Combined with selectionPolicy (visible + pattern selects visible matches).
excludeNamePatternNoDrop objects whose name matches, e.g. "Studio_*". Applied after the other selectors. Omitting one backdrop from a 60-part scene previously meant enumerating 60 explicit ids, which is both tedious and stale-prone.

Output Schema

NameRequiredDescriptionDefault
jobYes
yUpYes
selectionYesResolved runner selection policy; this field is a string, not a selection object.
revisionIdYes
scaleFactorYes
selectedCountYesNumber of selected objects when the revision summary is available; null means unknown.
expectedCountsYes
selectedObjectIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • removedInput schema / properties / applyModifiers / default
      Removed value: -true
    • removedInput schema / properties / bakeLighting / default
      Removed value: -false
    • removedInput schema / properties / bakeObjectLimit / default
      Removed value: -24
    • removedInput schema / properties / bakeObjectLimit / description
      Removed value: -"Maximum eligible GLB objects to bake. Default 24; raise up to 512 for assemblies. The per-job budget is 67,108,864 object texture pixels: 446 objects fit at bakeSize=256."
    • removedInput schema / properties / bakeOverflow / default
      Removed value: -"error"
    • removedInput schema / properties / bakeOverflow / description
      Removed value: -"When eligible objects exceed bakeObjectLimit, error stops before any bake. partial explicitly permits an incomplete bake while retaining all selected geometry; exportVerification.bakeSummary reports completed and omitted counts."
    • removedInput schema / properties / bakeSize / default
      Removed value: -1024
    • removedInput schema / properties / bakeTextures / default
      Removed value: -true
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "glb",
      -  "obj",
      -  "stl",
      -  "blend"
      -]New value: +[
      +  "glb",
      +  "obj",
      +  "stl",
      +  "blend",
      +  "ngp"
      +]
    • removedInput schema / properties / scaleFactor / default
      Removed value: -1
    • removedInput schema / properties / selectionPolicy / default
      Removed value: -"all"
    • removedInput schema / properties / yUp / default
      Removed value: -true
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, idempotent, non-destructive create; the description adds the substantive behavior an agent needs: a durable job handle, an immutable artifact result, dispatch-time selection resolution, loud failure on stale ids or empty matches, and skipped bevel-less curves named in the response. The enginePreset override semantics for yUp/scaleFactor (unity/godot vs print vs unreal ×100) are exactly the kind of interaction the annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence, and most sentences carry information. However, it is delivered as one dense block with nested parentheticals and em-dash asides (e.g. the print-preset aside restating its own point), which makes it harder to scan than a short structured list would be for a tool with this many parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a high-complexity, 18-parameter export tool with an output schema, the description covers the essentials: formats, preset conventions, selection resolution and failure behavior, bake trade-offs, and the job/artifact lifecycle. Return-value details can be delegated to the output schema, and nothing an agent needs to invoke this correctly appears to be missing.

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 18 parameters and only 50% schema description coverage, the description carries a real load: it explains enginePreset overriding yUp/scaleFactor, the staleness trap of objectIds vs objectNamePattern, and the bakeLighting/bakeTextures trade-off. But several parameters remain unexplained in both places (bakeOverflow, bakeObjectLimit, applyModifiers behavior, idempotencyKey semantics), so it does not fully close the coverage gap.

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?

Opens with a specific verb and resource plus the exact output formats: 'Export a revision to GLB, OBJ, STL, .blend, or the complete editable .ngp document.' The special case of native .ngp (byte-preserving, no selection/modifiers/scale/presets/baking) further sharpens what this tool does and does not do, so an agent can distinguish it from render or deployment siblings 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 Guidelines4/5

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

Gives real decision guidance: use bakeTextures instead of bakeLighting for turntables of metal/glass products, the print preset is the full convention for slicers, and unbaked is right for most hard-surface work. It also explains when curves are skipped and how to override. What is missing is explicit routing to sibling tools (e.g. render_create or texture_maps_create) for alternative outputs.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources