Skip to main content
Glama

Generate a 3D model

generate_model
Idempotent

Make one 3D object (never a scene) as a textured GLB, from a picture (image) or a description (prompt). Costs credits, which the user bought: image models trellis-2 5, trellis-2-pro 15, hunyuan-3d-3-1-pro 90, tripo-3-1 50, tripo-3-1-detailed 100; from a prompt add the picture model (flux-2-klein 1). Pass max_credits to refuse anything dearer. For a game or the web pass max_faces (5000-20000; the default is 200,000 triangles), and from a prompt style lowpoly to match low-poly kits. The GLB stands on its base at the origin, like library models. Waits about 45 s, then returns job_id for get_job if it is not done. Calling again with the same arguments resumes the same job and never charges twice; pass a new idempotency_key to make another one.

Input Schema

NameRequiredDescriptionDefault
seedNo
imageNoA picture of one object: an https URL, a data: URI, an upload id from upload_file, or a job id.
modelNoDefault trellis-2. See account for every model and its price.
styleNoFrom a prompt: lowpoly draws a flat-shaded, flat-colour game asset to match low-poly kits; stylized a hand-painted look.
promptNoA description of one object: "a weathered wooden barrel with iron bands".
max_facesNoMost triangles in the model, at no extra cost: 5,000-20,000 for game or web use (the default is 200,000).
image_modelNoThe picture model for a prompt: flux-2-klein (default), muse-image, gpt-image-2-5.
max_creditsNoRefuse the job if it would cost more.
wait_secondsNo
idempotency_keyNoOnly to make a second, different job from identical arguments.

Output Schema

NameRequiredDescriptionDefault
idNo
errorNo
outputNo
statusNo
creditsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the safety/idempotency profile; the description adds the material behavior an agent needs: per-model credit prices, refusal via max_credits, a ~45 s wait that returns job_id for get_job, same-arguments resumption with no double charge, and the GLB orientation at the origin. That goes well beyond what readOnlyHint/idempotentHint convey.

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?

Front-loaded with purpose and scope, then costs, then sizing guidance, then job behavior — a sensible order. It is dense and semicolon-heavy, and the inline price list adds bulk, but nearly every clause carries information an agent would otherwise have to guess.

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 10-parameter generative tool with an output schema, the description covers cost, latency, resumption, sizing, and orientation. Gaps are small: no statement about what happens if both image and prompt are supplied, and no mention of behavior when credits are exhausted or max_credits rejects the job.

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 80%, so the baseline is 3; the description earns above that by attaching prices to model names, explaining max_credits as a spend guard, and clarifying idempotency_key's exact purpose (a second, different job). It still doesn't explain seed or wait_seconds semantics beyond the schema.

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 ("make one 3D object ... as a textured GLB") and scopes it explicitly ("never a scene") with the two input modes named. This separates it cleanly from generate_texture, edit_model, and search_assets without opening any 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 clear conditional guidance: image for pictures, prompt for descriptions, max_faces and style=lowpoly for game/web low-poly kits, max_credits to cap spend, new idempotency_key only to force a second job. What's missing is explicit routing to siblings (e.g. edit_model for changing an existing model, generate_texture for textures only) and whether image and prompt can be combined.

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