Skip to main content
Glama

retopologize

Destructive

Rebuild a 3D mesh as clean low-poly triangles or quads with smart retopology. Creates a Tripo task and returns a task_id; then call wait_for_task.

Instructions

Rebuild a mesh as clean low-poly triangles or quads (smart low-poly retopology). Creates a Tripo task (spends credits) and returns its task_id immediately; then call wait_for_task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bakeNoBake the original textures onto the new mesh (default true; not on v1.0)
quadNoQuad topology instead of triangles
inputYesTask ID of the mesh (or a file token / URL)
modelNoRetopology version: v2.0 (default), v3.0 (newest, supports smart_uv), v1.0 (plain decimation; needs face_limit)
smart_uvNoAlso unwrap UVs (v3.0 only)
face_limitNoTarget faces: 500-20,000 triangles or 500-10,000 quads on v2.0/v3.0
part_namesNoOnly process these parts (not on v1.0)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo
task_idYes
producesYes
warningsNo
operationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changedv0.4.0
    • changedInput schema / properties / bake / description
      Previous value: -"Bake textures into the decimated output when supported"New value: +"Bake the original textures onto the new mesh (default true; not on v1.0)"
    • addedInput schema / properties / face_limit
      Added value: +{
      +  "description": "Target faces: 500-20,000 triangles or 500-10,000 quads on v2.0/v3.0",
      +  "type": [
      +    "null",
      +    "integer"
      +  ]
      +}
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Task ID of the mesh (or a file token / URL)",
      +  "type": "string"
      +}
    • changedInput schema / properties / model / description
      Previous value: -"Optional Tripo model/version to use for decimation"New value: +"Retopology version: v2.0 (default), v3.0 (newest, supports smart_uv), v1.0 (plain decimation; needs face_limit)"
    • addedInput schema / properties / model / enum
      Added value: +[
      +  "v1.0",
      +  "v2.0",
      +  "v3.0"
      +]
    • removedInput schema / properties / originalTaskId
      Removed value: -{
      -  "description": "Task ID of the model to retopologize",
      -  "type": "string"
      -}
    • removedInput schema / properties / partNames
      Removed value: -{
      -  "description": "Specific segmented part names to decimate",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": [
      -    "null",
      -    "array"
      -  ]
      -}
    • addedInput schema / properties / part_names
      Added value: +{
      +  "description": "Only process these parts (not on v1.0)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • changedInput schema / properties / quad / description
      Previous value: -"Produce quad mesh instead of triangles"New value: +"Quad topology instead of triangles"
    • changedInput schema / properties / quad / type
      Previous value: -"boolean"New value: +[
      +  "null",
      +  "boolean"
      +]
    • addedInput schema / properties / smart_uv
      Added value: +{
      +  "description": "Also unwrap UVs (v3.0 only)",
      +  "type": [
      +    "null",
      +    "boolean"
      +  ]
      +}
    • removedInput schema / properties / targetFaces
      Removed value: -{
      -  "description": "Target face count for the lowpoly output",
      -  "type": "integer"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "originalTaskId"
      -]New value: +[
      +  "input"
      +]
    • addedOutput schema / properties / model
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / operation
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / produces
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / status
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / taskId
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / task_id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "taskId",
      -  "status"
      -]New value: +[
      +  "task_id",
      +  "operation",
      +  "produces"
      +]
  2. Changed3 schema fields changedv0.3.0
    • addedInput schema / properties / bake
      Added value: +{
      +  "description": "Bake textures into the decimated output when supported",
      +  "type": [
      +    "null",
      +    "boolean"
      +  ]
      +}
    • addedInput schema / properties / model
      Added value: +{
      +  "description": "Optional Tripo model/version to use for decimation",
      +  "type": "string"
      +}
    • addedInput schema / properties / partNames
      Added value: +{
      +  "description": "Specific segmented part names to decimate",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the mutation profile is covered. The description adds genuinely non-annotated traits: it 'spends credits' and returns a task_id immediately (async, non-blocking). It does not clarify what happens to the original mesh, but the cost and async disclosures are meaningful additions.

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?

Two sentences, zero filler. The core purpose is front-loaded, followed immediately by the cost and async handoff, which is exactly the ordering an agent needs before deciding to call.

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?

With an output schema present, return-value detail is unnecessary, and the description covers the key non-schema facts: cost, async behavior, and the required follow-up call. It does not address whether the source mesh is altered (relevant given destructiveHint=true) or the credit magnitude, leaving a minor gap for a 7-parameter task-creating tool.

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 description coverage is 100%, so every parameter (bake, quad, model, smart_uv, face_limit, part_names) is already documented in the schema, including enum values and ranges. The description's 'triangles or quads' only loosely echoes the quad param and adds no syntax or format detail beyond the schema. Baseline 3 applies.

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 and resource ('Rebuild a mesh as clean low-poly triangles or quads') with a parenthetical that names the technique (smart low-poly retopology). This clearly separates it from siblings like segment_mesh, complete_mesh, or smart_uv, though it doesn't explicitly name a sibling it is not.

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 concrete workflow context: it creates a Tripo task, returns a task_id immediately, and instructs the agent to 'call wait_for_task' next. That routes the agent through the async pattern. It stops short of stating when to choose this over alternatives (e.g., version trade-offs), but the operational guidance is clear.

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