Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Sync collection

sync_collection
Destructive

Sync a product collection to a chosen sales-channel integration by creating or updating the channel-side category and placing products already synced there into it.

Instructions

Sync a collection to a sales channel (creates/updates the channel-side category and places all products in it that are already synced there). integration_uuid selects which channel; not all channels support collections (e.g. TikTok Shop), which returns a clear "collections_unsupported" error.

[#7f246a]

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>",
      "collection_uuid": "<collection_uuid>",
      "integration_uuid": "<integration_uuid>"
    },
    "name": "sync_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceNo
store_uuidYes
collection_uuidYes
integration_uuidYesThe sales-channel integration to sync this collection to (required by the platform).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the safety profile is known. The description still adds real value beyond that: it names the channel-side object mutated, clarifies that only products already synced there are placed, and documents the specific unsupported-channel error. It does not say what existing channel-side category data might be overwritten.

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 core behavior is front-loaded in the first clause and the error note is useful, but the text ends with a stray artifact token "[#7f246a]" that does not belong in a tool description, and the dense parenthetical makes the effects harder to scan.

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?

Given a destructive, open-world mutation with no output schema and 25% parameter coverage, the description covers the high-level effect and one failure mode but leaves the remaining three parameters and the result of a sync undescribed. Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%, so only integration_uuid is documented in the schema, and the description merely restates that it selects the channel. store_uuid, collection_uuid, and workspace get no meaning added anywhere, which is a notable gap for a mutation tool.

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 ("Sync a collection to a sales channel") and explains the concrete effect on the channel side (creates/updates the channel-side category and places already-synced products in it). It does not explicitly distinguish itself from the sibling sync_to_channel or add_products_to_collection, so it stops short of a 5.

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

Usage Guidelines3/5

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

It gives useful context that integration_uuid selects the channel and that some channels (e.g. TikTok Shop) don't support collections and return "collections_unsupported". That is a partial when-to-use signal, but there is no guidance on when to prefer this over sync_to_channel, add_products_to_collection, or update_collection.

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