Skip to main content
Glama

Export glTF Binary

export_glb
DestructiveIdempotent

Exports Blender scenes as target-ready .glb files for Godot, three.js, or generic engines while refusing unsupported content and returning read-back warnings for delivery.

Instructions

Write a .glb, Y-up (-Y front becomes +Z), for a target engine; what it cannot load is refused, as is edit mode. Returns: the file read back, with warnings for the target. WHEN TO CALL: to deliver.

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": {
      "path": "<path>"
    },
    "name": "export_glb"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesEnds in .glb
dracoNoCompress meshes
extrasNoCustom properties (default true)
lightsNoDefault false
targetNoDefault generic; threejs drops -colonly proxies
camerasNoDefault false
objectsNoWith children (default all)
tangentsNoFor normal maps
at_originNoRoots written at 0,0,0
texcoordsNoUVs (default true)
animationsNoDefault true
collectionNoIts objects
clean_namesNoDrop .001 where unique (true for godot)
image_formatNoDefault auto
visible_onlyNoDefault true
vertex_colorsNoDefault material: those a material reads
apply_modifiersNoDefault true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive, idempotent, so the safety profile is partly covered; the description adds real value by disclosing the refusal behavior for unsupported features and edit mode, the Y-up coordinate conversion, and the return payload with target-specific warnings. It does not say whether it overwrites an existing file, which is the one behavioral trait a destructive write most needs to explain.

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?

The text is front-loaded with the write action, then behavior, then return, then a WHEN TO CALL header — a sensible order with no filler. It is telegraphic to the point that phrases like 'as is edit mode' and 'to deliver' require the reader to reconstruct the meaning.

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 17-parameter destructive export tool, the description covers the key risks (refusal of unsupported data, edit-mode refusal) and the return shape in lieu of an output schema. It omits overwrite semantics for an existing file and whether partial exports are possible, which are material gaps given the destructive annotation.

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 100%, so every one of the 17 parameters is already documented in the schema, giving a baseline of 3. The description adds only that target-engine choice drives conversion and refusals, which lightly reinforces the 'target' enum without adding format or format-specific details beyond the schema.

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 names a specific verb and output artifact: 'Write a .glb', with the additional details of Y-up axis conversion and target-engine targeting. It is clearly distinguishable from generic saving, though it never names the competing sibling export_file to make the boundary explicit.

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?

'WHEN TO CALL: to deliver' is a one-phrase usage hint that implies final delivery output rather than intermediate saving. The description also states preconditions (edit mode is refused, unsupported features are refused), but it never states when to prefer this over export_file or when not to export at all.

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