Skip to main content
Glama
Meshy MCP Server

Meshy MCP Server

Official
by meshy-dev

Cancel or Delete Task

meshy_cancel_task
Destructive

Cancel a pending task to stop it and refund eligible credits, or permanently delete a finished task after user confirmation when allowed.

Instructions

Cancel a queued task, or delete a finished one. What happens depends on the task:

Creative Lab tasks (task_type "creative-lab-..."):

  • PENDING → canceled, credits refunded

  • IN_PROGRESS → canceled, credits NOT refunded

  • SUCCEEDED / FAILED / CANCELED → cannot be canceled or deleted, even with confirm_delete

Every other task:

  • PENDING → deleted, credits refunded

  • IN_PROGRESS → refused: the task keeps running and its credits are not refundable. Wait until it finishes

  • SUCCEEDED / FAILED / CANCELED → PERMANENTLY deleted with its files, no refund. Requires confirm_delete: true — ask the user first

Returns { success, task_id, task_type, previous_status, message }.

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": {
      "task_id": "<task_id>"
    },
    "name": "meshy_cancel_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesTask ID
task_typeNoOptional: if omitted or wrong, the server finds the task and reports its real type.
confirm_deleteNotrue to permanently delete a finished task, only after the user agreed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.13
    • changedInput schema / properties / task_type / enum
      Previous value: -[
      -  "text-to-3d",
      -  "image-to-3d",
      -  "multi-image-to-3d",
      -  "remesh",
      -  "retexture",
      -  "rigging",
      -  "animation",
      -  "text-to-image",
      -  "image-to-image",
      -  "convert",
      -  "resize",
      -  "uv-unwrap",
      -  "multi-color-print",
      -  "print-analyze",
      -  "print-repair",
      -  "print-split",
      -  "text-to-motion",
      -  "creative-lab-figure-prototype",
      -  "creative-lab-figure-build",
      -  "creative-lab-lamp-prototype",
      -  "creative-lab-lamp-build",
      -  "creative-lab-keychain-prototype",
      -  "creative-lab-keychain-build",
      -  "creative-lab-fridge-magnet-prototype",
      -  "creative-lab-fridge-magnet-build",
      -  "creative-lab-vinyl-figure-prototype",
      -  "creative-lab-vinyl-figure-build",
      -  "creative-lab-brick-figure-prototype",
      -  "creative-lab-brick-figure-build",
      -  "creative-lab-keycap-prototype",
      -  "creative-lab-keycap-build",
      -  "creative-lab-fidget-pixel-prototype",
      -  "creative-lab-fidget-pixel-build",
      -  "creative-lab-fidget-collapsible"
      -]New value: +[
      +  "text-to-3d",
      +  "image-to-3d",
      +  "multi-image-to-3d",
      +  "remesh",
      +  "retexture",
      +  "rigging",
      +  "animation",
      +  "text-to-image",
      +  "image-to-image",
      +  "convert",
      +  "resize",
      +  "uv-unwrap",
      +  "multi-color-print",
      +  "print-analyze",
      +  "print-repair",
      +  "print-split",
      +  "text-to-motion",
      +  "relief",
      +  "creative-lab-figure-prototype",
      +  "creative-lab-figure-build",
      +  "creative-lab-lamp-prototype",
      +  "creative-lab-lamp-build",
      +  "creative-lab-keychain-prototype",
      +  "creative-lab-keychain-build",
      +  "creative-lab-fridge-magnet-prototype",
      +  "creative-lab-fridge-magnet-build",
      +  "creative-lab-vinyl-figure-prototype",
      +  "creative-lab-vinyl-figure-build",
      +  "creative-lab-brick-figure-prototype",
      +  "creative-lab-brick-figure-build",
      +  "creative-lab-keycap-prototype",
      +  "creative-lab-keycap-build",
      +  "creative-lab-fidget-pixel-prototype",
      +  "creative-lab-fidget-pixel-build",
      +  "creative-lab-fidget-collapsible"
      +]
  2. First observedv0.6.4

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say destructiveHint=true and readOnlyHint=false; the description goes far beyond that by disclosing refund behavior per state, that files are PERMANENTLY deleted with no refund, that Creative Lab tasks are undeletable even with confirm_delete, and that finished non-Creative-Lab tasks require confirm_delete. It also lists the return fields, which matters since no output schema exists.

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?

Front-loaded one-line purpose followed by a compact state table split into the two task families, then the return shape. Every bullet carries distinct operational information with no filler.

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?

This is a branchy, state-dependent, destructive operation and the description covers all branches, refund consequences, consent requirements, and the return payload in the absence of an output schema. An agent has everything needed to call it correctly or to decline to call it.

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 100%, so baseline is 3, but the description adds real meaning about parameter interaction: confirm_delete is only meaningful for finished non-Creative-Lab tasks and is powerless on Creative Lab terminal tasks. task_type is described as optional/auto-detected, which matches but does not expand the schema text.

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?

The opening sentence gives a precise verb pair (cancel queued / delete finished) on the task resource, and the per-state breakdown removes almost all ambiguity about what the call does. It never names a sibling (e.g. meshy_get_task_status as the way to check state first), so sibling differentiation is only implicit.

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?

Very strong when-to and when-not guidance: PENDING vs IN_PROGRESS vs terminal states are each mapped to an outcome, refusals are called out explicitly ('Wait until it finishes'), and the user-consent requirement for permanent deletion is stated. The only gap is that no alternative tool is named for checking status before invoking this.

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