Skip to main content
Glama

Make a validated object card from your mesh, a photo or a text description

create

Convert a mesh, photo, or text into a drop-tested object card with a watertight mesh, GLB visual, mass/friction/restitution, and labelled estimates for simulation.

Instructions

Turn a mesh file, a photo or a text into an object card with a repaired watertight mesh, convex hulls, a visual GLB, and mass, friction and restitution with their sources (USER, CITED, LIBRARY or ESTIMATE with a range). Nothing is refused for a missing citation: estimates are labelled and listed under 'verify'. The card is drop-tested with alloy.check and written to out (use it with alloy.compose or Scene.add_object). Example arguments: {"mesh": "part.stl", "units": "mm", "material": "steel", "out": "my_objects"}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create"
  }
}

Input Schema

NameRequiredDescriptionDefault
upNothe mesh's up axisz
outNocard folder to write tomy_objects
massNomass in kg (default: cited category values or an ESTIMATE)
meshNomesh file: OBJ, STL, GLB/GLTF, PLY, or MJCF/URDF/USD
nameNocard name, snake_case (default: from the file or text)
sizeNoreal longest side in metres (default: inferred, or the category's typical size)
textNoa description, e.g. 'a red ceramic coffee mug' (needs a 3D generator)
checkNorun the alloy.check drop test
photoNoa photo of the object (needs a 3D generator: $ALLOY_GEN3D_URL or a GPU)
unitsNothe mesh's units
deviceNo'cpu' or 'cuda:0' for the drop test (default: the GPU if there is one)
categoryNowhat it is (mug, bowl, wrench...): improves the estimates
materialNolibrary material name or a word: wood, steel, glass, plastic, ceramic...
mass_sourceNowhere the mass comes from (datasheet, scale reading)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description discloses substantial behavior: mesh repair, convex hulls, GLB generation, mass/friction/restitution provenance, estimate labeling for missing citations, drop testing, and writing to `out`. This adds meaningful context about a non-read-only but non-destructive write operation.

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 description is front-loaded with the core transformation and packs important behavioral details into a few sentences. The example arguments are useful, though the dense first sentence and parenthetical provenance detail slightly reduce readability.

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 a complex 14-parameter creation tool with no output schema, the description explains the produced card, its intended downstream use, prerequisites for photo/text generation, and estimate handling. It lacks details about overwriting existing cards or permission requirements, but covers the main workflow well.

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 100% schema description coverage, the schema already documents all 14 parameters. The description adds an example argument set and notes how `out` is used, but it does not go much further than the schema for individual parameter meanings.

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?

The description states a specific verb and output resource: turning a mesh, photo, or text into an object card with a repaired mesh, GLB, and physical estimates. It clearly distinguishes this creation workflow from downstream composition and checking by naming alloy.compose, Scene.add_object, and alloy.check.

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?

It gives clear usage context by explaining that the resulting card should be used with alloy.compose or Scene.add_object and that it is drop-tested with alloy.check. It does not provide explicit when-not-to-use guidance or alternative creation paths, so it stops short of a 5.

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