Skip to main content
Glama
LufiSprite Studio

LufiSprite Studio

by Lufi735

import_3d_obj

Load raw Wavefront .obj text into a project 3D layer to build a procedural or custom mesh, with optional name, color, scale, position, and rotation.

Instructions

Import a procedural or custom Wavefront .obj 3D mesh from raw OBJ text into the project 3D layer.

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": {
      "objText": "<objText>"
    },
    "name": "import_3d_obj"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name in 3D hierarchy.
colorNoMaterial hex color.
scaleNo
objTextYesValid Wavefront .obj content (v, vt, vn, f lines).
positionNo
rotationNoEuler XYZ rotation in degrees.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says the mesh is imported into the project 3D layer but omits whether a new object is created, how invalid OBJ content is handled, whether name collisions overwrite or error, what coordinate conventions apply, and whether the operation is undoable.

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 single sentence is front-loaded and efficient. There is minor redundancy between 'Wavefront .obj' and 'raw OBJ text', and no structural help for a six-parameter tool, but nothing is wasted.

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

Completeness2/5

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

For a mutating import tool with six parameters, no annotations, no output schema, and only 67% schema coverage, the definition is too sparse. An agent lacks guidance on usage alternatives, mutation side effects, and the undocumented scale/position parameters.

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

Parameters2/5

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

The schema documents name, color, objText, and rotation, but scale and position lack descriptions at 67% coverage. The description only restates that objText contains raw OBJ text and adds no meaning for the two undocumented vector parameters or how transform arguments are applied.

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?

States a specific verb ('Import'), resource ('Wavefront .obj 3D mesh'), and destination ('project 3D layer'). It is clear, but it does not explicitly contrast sibling tools such as add_3d_primitive or add_3d_scene_item, so it stops short of a 5.

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?

The phrase 'from raw OBJ text' implies the tool is for procedural or custom OBJ meshes rather than primitives. However, it gives no explicit when-to-use, when-not-to-use, or alternative-tool guidance, leaving routing among the 3D siblings to inference.

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