Skip to main content
Glama
Meshy MCP Server

Meshy MCP Server

Official
by meshy-dev

Refine Text-to-3D Preview

meshy_text_to_3d_refine

Applies textures to a completed 3D preview using text or image prompts, with optional PBR maps and resolution settings.

Instructions

Texture a SUCCEEDED meshy_text_to_3d preview. Cost: 10 credits (15 at 8K). Get the user's approval first; omit ai_model to inherit the preview's model.

Example: { preview_task_id: "abc-123", texture_prompt: "rusty metal", enable_pbr: true }

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": {
      "preview_task_id": "<preview_task_id>"
    },
    "name": "meshy_text_to_3d_refine"
  }
}

Input Schema

NameRequiredDescriptionDefault
ai_modelNoOptional override: 'meshy-7.1', 'latest' (= 7.1), 'meshy-6', 'meshy-6-lite' (2K only). Omit (recommended) to inherit the preview's model; not meshy-t2/t2.5.
auto_sizeNoAI-estimate the real-world height and resize to it (default false).
origin_atNo'bottom' or 'center' (default bottom with auto_size).
enable_pbrNoAlso make metallic/roughness/normal maps.
hd_textureNoDeprecated: use texture_resolution '4k'.
target_formatsNoFormats to produce (default: all but 3mf; list '3mf' to get it). Fewer formats finish faster.
texture_promptNoText to guide texturing (max 800 characters). Not with texture_image_url.
alpha_thumbnailNoAlso return a transparent-background preview (alpha_thumbnail_url).
preview_task_idYesThe SUCCEEDED preview task to texture
remove_lightingNoRemove highlights/shadows from the base color (meshy-6 only). Sent as-is when ai_model is omitted, so omit it after a meshy-6-lite preview (the API rejects it).
response_formatNomarkdown (default) or jsonmarkdown
texture_image_urlNoImage URL to guide texturing. Not with texture_prompt.
texture_resolutionNoBase color texture: 2k (default), 4k or 8k (+5 credits; PBR maps stay 4K, no emission map). 4k/8k need the meshy-7 or meshy-6 texture model: not meshy-6-lite or meshy-n1.

Output Schema

NameRequiredDescriptionDefault
statusYes
messageYes
task_idYes
estimated_timeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.11
    • changedInput schema / properties / texture_image_url / description
      Previous value: -"Image URL to guide texturing."New value: +"Image URL to guide texturing. Not with texture_prompt."
    • changedInput schema / properties / texture_prompt / description
      Previous value: -"Text to guide texturing (max 800 characters)."New value: +"Text to guide texturing (max 800 characters). Not with texture_image_url."
  2. Changed1 schema field changedv0.6.9
    • changedInput schema / properties / texture_resolution / description
      Previous value: -"Base color texture: 2k (default), 4k or 8k (+5 credits; PBR maps stay 4K, no emission map). 4k/8k not on meshy-6-lite."New value: +"Base color texture: 2k (default), 4k or 8k (+5 credits; PBR maps stay 4K, no emission map). 4k/8k need the meshy-7 or meshy-6 texture model: not meshy-6-lite or meshy-n1."
  3. First observedv0.6.4

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only say the call is non-read-only, non-destructive, open-world and non-idempotent; the description adds real value on top with the credit cost and the approval requirement, which is the key behavioral risk for a paid mutation. It also discloses an API-level failure mode (the API rejects remove_lighting after a meshy-6-lite preview), though it says nothing about latency or task-polling behavior.

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?

Three short sentences plus a compact example, with the cost and approval constraint placed before invocation details. Nothing is redundant and the example earns its space by showing a realistic minimal call.

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

Completeness5/5

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

For a 13-parameter paid mutation with full schema coverage and an output schema, the description covers the prerequisite, cost, approval gate, and model-inheritance default. Return values are handled by the output schema, so no significant gap remains.

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 description coverage is 100%, so the baseline is 3; the description still adds decision-relevant meaning by recommending omission of ai_model to inherit the preview's model and by supplying a concrete example object showing the three most common fields. It does not elaborate on the format/resolution tradeoffs that the schema covers.

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 ('Texture a SUCCEEDED meshy_text_to_3d preview') and scopes it to a prior preview task, which cleanly separates it from the sibling meshy_text_to_3d that produces that preview in the first place. The SUCCEEDED requirement is front-loaded and unambiguous.

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 a clear precondition (the preview must have SUCCEEDED), a cost gate (10/15 credits), and an explicit instruction to obtain user approval before invoking. It does not explicitly name an alternative such as meshy_retexture for non-preview assets, so the routing guidance is strong but not exhaustive.

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