Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Fulfill a tracked listing through ApparelHub

bind_tracked_listing
Destructive

Bind a merchant's existing channel listing to an ApparelHub product to route its orders to that product's fulfillment provider. Preview variant mapping before binding.

Instructions

Make a tracked listing (a product the merchant already sells on their channel that ApparelHub did not make) FULFILLABLE by binding it to an ApparelHub product, so ApparelHub sends that listing's orders to the product's fulfillment provider as ordinary orders. Build the product first the normal way (their artwork on one of our blanks, variants added, synced to fulfillment), in the same store. The merchant's channel listing is NOT changed, and while bound the product cannot be synced to that channel (it would duplicate their listing). Tell the merchant both things. Every variant on the listing must map to one of the product's variants: options are auto-matched by name ('Black / Medium' -> Black, M) and variant_map supplies or overrides the rest. This tool PREVIEWS first and only binds when everything maps and the product can be made; otherwise it returns bound: false with unmapped (the channel variants left) and product_variants (the choices). Ask the merchant or choose by option names, then call again with variant_map. TikTok Shop listings carry no option names, so they always need variant_map. Find listing_uuid with list_tracked_listings (scope 'external').

[#654d67]

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": {
      "store_uuid": "<store_uuid>",
      "listing_uuid": "<listing_uuid>",
      "product_uuid": "<product_uuid>"
    },
    "name": "bind_tracked_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceNoWorkspace uuid (agency accounts). Omit for the Default workspace.
store_uuidYesThe store uuid.
variant_mapNoChannel variant id -> ApparelHub variant uuid, for options that do not auto-match. A listing with no variants is keyed by its own external_id.
listing_uuidYesThe tracked listing uuid (list_tracked_listings).
product_uuidYesThe ApparelHub product that will fulfil it (same store).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.20.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations: discloses that the channel listing is unchanged, that the product cannot be synced to that channel while bound (duplication risk), and that the tool PREVIEWS first and only commits when every variant maps. It also describes the failure return shape (bound: false with unmapped and product_variants), which is exactly the behavioral context destructiveHint=true implies but does not explain.

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-loads the core action and packs prerequisites, caveats, and the preview/retry loop into one dense paragraph with no filler sentences. It is on the long side and the trailing '[#654d67]' token is noise, costing it the top mark.

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 multi-step, state-changing tool with no output schema, the description covers prerequisites, the preview-then-bind contract, the failure payload, and the escape hatch via list_tracked_listings. An agent has everything needed to call it correctly and to recover from a partial mapping.

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: variant_map 'supplies or overrides' auto-matching, auto-match is by option name with a worked example ('Black / Medium' -> Black, M), and listing_uuid is sourced from list_tracked_listings. It does not elaborate further on workspace or store scoping, which the schema already documents.

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 a tracked listing ... FULFILLABLE by binding it to an ApparelHub product') and defines the concept inline (a listing ApparelHub did not make). It clearly contrasts with unbind_tracked_listing and explains the downstream effect: orders flow to the product's fulfillment provider as ordinary orders.

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?

Gives explicit preconditions (build the product first, same store, synced to fulfillment), the remediation loop when mapping fails ('call again with variant_map'), and the lookup path for listing_uuid via list_tracked_listings scope 'external'. It also names the special case where variant_map is always required (TikTok Shop) and instructs the agent to tell the merchant two specific caveats.

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