Skip to main content
Glama

lumoz_optimize_3d

Optimize any .glb 3D mesh for Unity, Godot, Unreal Engine, or Three.js ($0.005/run). For static props: centers pivot flat on the floor (y=0), normalizes real-world height in meters, and compresses embedded textures. For rigged animated characters: use pivot="keep" (omit target_height) to compress textures safely without touching the skeleton, AND optionally pass animation_glbs to merge multiple same-rig animation .glb files (walk, run, slash, fall) into ONE single compact .glb with zero duplicate meshes or textures.

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": {
      "glb_url": "<glb_url>"
    },
    "name": "lumoz_optimize_3d"
  }
}

Input Schema

NameRequiredDescriptionDefault
pivotNoPivot alignment: "ground" puts bottom center at (0,0,0) for floor placement; "center" centers volume at origin; "keep" leaves original pivot. Default: "ground".ground
glb_urlYesPublic URL of the base .glb file (e.g. hero_idle.glb or static prop .glb).
target_heightNoOptional real-world height in meters (e.g. 1.8 for a character, 1.0 for a crate/prop).
animation_glbsNoOptional list of up to 8 extra animation .glb files from the SAME rig_task_id to merge as clip-only tracks into this single output .glb (eliminates duplicate meshes/textures for web games).
texture_formatNoTexture compression format: "jpeg" (universal across Unity/Godot/Unreal/Three.js), "webp" (smallest for WebGL/Three.js), or "keep". Default: "jpeg".jpeg
texture_qualityNoCompression quality (40-98, default: 82).
max_texture_sizeNoMaximum texture width/height in pixels (512 for Three.js/mobile, 1024 for Unity/Godot). Default: 1024.
base_animation_nameNoOptional clean name for the base GLB animation clip when merging clips (e.g. "idle").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses cost ($0.005/run), the concrete mutations (pivot to y=0, height normalization in meters, texture recompression), and crucially what is *not* touched (the skeleton under pivot="keep"). It omits whether the call is async and returns a job handle requiring polling, which matters given the presence of lumoz_check_3d_job among the siblings.

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?

Front-loaded with purpose, price, and target platforms, then immediately partitioned into two clearly labeled usage cases. The long second sentence is dense but every clause (pivot, height, textures, merging, no duplicate meshes) carries decision-relevant information.

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?

For an 8-parameter, unannotated, no-output-schema mutation tool, the description covers the two major workflows and the safety-sensitive constraint around skeletons. The remaining gap is operational: nothing indicates whether the result is synchronous or a job to poll, which affects how an agent must sequence its next call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description earns an extra point by adding cross-parameter semantics the schema cannot express — that pivot="keep" must be paired with omitting target_height for rigged assets, and that animation_glbs merges clip-only tracks from the same rig into one file. It does not add guidance on texture_quality/size tradeoffs beyond what enum defaults already convey.

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 and resource ('Optimize any .glb 3D mesh') plus the target engines, then splits the tool into its two distinct modes (static props vs. rigged animated characters). An agent can tell exactly what this does and which mode applies to its asset 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 explicit conditional guidance: static props should use the default grounding/normalization path, while rigged characters must use pivot="keep" and omit target_height, and animation_glbs is optional for merging same-rig clips. It does not name a sibling alternative or state when not to call it (e.g., already-optimized assets), so it stops short of full routing guidance.

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