Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Create product

create_product
Destructive

Creates a standalone product from a design with correct fields, pricing floor, embroidery routing, and fill print style for face goods; store listing is not included.

Instructions

Create a STANDALONE product from a design (split primitive) — it is NOT placed on any store yet. Applies the correct field names + pricing floor, routes EMBROIDERY garments (caps/beanies) to their real embroidery placement with Printful thread colors (derived or explicit), and defaults face goods (canvas/backpacks/bags/socks/towels/blankets/pillows/cases...) to print_style "fill" (design recomposed onto a matching background, printed edge-to-edge). Set generate_mockup: true to render a garment mockup as the display image (it auto-derives representative variants from the catalog, so you do NOT need mockup_variant_ids) — otherwise the raw design is used as the display image. To get it onto a store and listed, the required sequence is: add_variants -> sync_to_fulfillment(product_uuid, store_uuid) [associates it with the store + syncs to Printful/Printify] -> sync_to_channel [sales channel]. To run that whole pipeline in one call instead, use ship_product.

[#e8704a]

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": {
      "design_uuid": "<design_uuid>",
      "garment": "<garment>",
      "pricing": "<pricing>",
      "product_meta": "<product_meta>"
    },
    "name": "create_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
garmentYes
pricingYes
workspaceNo
design_urlNo
design_uuidYesThe design to print. Comes from generate_image / design_apparel, OR from upload_design when the merchant already owns the artwork (a logo, a brand mark, a cleared cover). Never regenerate a mark you were given as a file.
print_styleNoHow the design sits on the print face. "fill": recompose onto a matching background and print edge-to-edge (default for face goods). "placed": transparency preserved (default for apparel and embroidery). "auto" (default) picks by garment.
product_metaYes
thread_colorsNoEMBROIDERY garments only: explicit Printful thread palette colors. Omit to auto-derive from the design.
generate_mockupNo
mockup_variant_idsNoRepresentative variant ids for the mockup preview (numeric on Printful/Printify, string productUids on Gelato).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the write profile is covered. The description adds real behavior beyond that: pricing floor enforcement, embroidery routing to real embroidery placement, face-goods defaulting to print_style "fill", and mockup auto-derivation of representative variants. It stops short of stating what is consumed or what happens on failure, so it is strong but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The critical distinction is front-loaded, which is right, but the body is one dense run-on paragraph mixing caps emphasis, parenthetical asides and a long list of face goods. A stray artifact ("[#e8704a]") and the ungrouped pipeline sequence reduce scannability; splitting defaults from the pipeline section would earn more of the space.

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

Completeness3/5

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

For a 10-parameter mutation with nested objects and no output schema, the description covers the lifecycle and key defaults well, but never states what the call returns (product_uuid is only implied by the follow-up sequence) and is silent on workspace scoping and pricing units. An agent can pick the right tool but must infer the response shape needed to chain sync_to_fulfillment.

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?

With only 40% schema coverage across 10 parameters, the description carries much of the load and does so for the ambiguous ones: print_style enum values and their defaults, thread_colors being embroidery-only and auto-derived when omitted, generate_mockup obviating mockup_variant_ids, and where design_uuid comes from. It leaves garment.provider_uuid/product_ref_id, pricing (currency?), workspace and design_url unexplained, so meaningful gaps remain.

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 opens with a specific verb and resource: "Create a STANDALONE product from a design (split primitive)" and immediately clarifies scope ("it is NOT placed on any store yet"). That negative scoping distinguishes it cleanly from ship_product and the variant/sync siblings without the agent needing to open another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names the explicit alternative and the condition that selects it: run add_variants -> sync_to_fulfillment -> sync_to_channel to get listed, or use ship_product for the whole pipeline in one call. It also gives source guidance for design_uuid (generate_image / design_apparel vs upload_design when the merchant owns the artwork) and says mockup_variant_ids can be omitted.

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

Deploy Server

Other Tools