Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Set sales channel settings

set_channel_settings
Destructive

Configure shop-wide listing settings for a connected sales channel—compliance attestations, shipping template, and fallback size chart—so every listing follows the same rules.

Instructions

Set SHOP-WIDE listing settings for one connected sales channel: product compliance attestations, the shipping template, and a fallback size chart. These apply to every listing on that channel, so they are set once rather than per product. Call describe_listing_attributes with integration_uuid (and no product_uuid) first to see which settings this channel defines and what each one accepts.

⚠️ BRAND and the per-listing SIZE CHART are NOT here — they are per-product (use set_listing_attributes), because both describe the blank rather than the shop. default_size_measurements is the one size-chart setting that is shop-wide, and only as a FALLBACK for listings with no provider measurements of their own. Set it only when the whole catalogue is ONE blank: with a mixed catalogue it would be applied to garments it does not describe.

⛔ SOME OF THESE ARE LEGAL ATTESTATIONS. Product-compliance answers (for example California Proposition 65 questions) are statements the MERCHANT makes about their goods, and they carry legal weight. ⛔ NEVER INVENT A VALUE. Relay what the merchant told you. If you cannot get a value from them, leave it UNSET and say so — an unset field is honest, an invented one is not. Do not infer it from the product type, do not copy it from another shop, and do not pick the nearest allowed value because it looks close. In particular: do not answer "No" because it is usually "No", and do not reason from the product being printed apparel — Proposition 65 covers clothing, and some inks and finishes do contain listed chemicals. Ask the merchant, relay their answer, and if they do not have one, leave it unset and tell them it is outstanding.

Answering one of these questions "Yes" can make a follow-up field required — naming the specific chemicals, from a list of hundreds. That follow-up appears in unset_required and is never filled in for the merchant.

A value the channel refuses comes back in rejected with a machine-readable reason and the allowed values echoed, so you can correct it in one more turn rather than guessing. Rejections are never dropped silently.

Existing listings pick these up on their next sync.

[#40e61c]

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>",
      "integration_uuid": "<integration_uuid>",
      "values": "<values>"
    },
    "name": "set_channel_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
removeNoSetting keys to clear.
valuesYessetting key -> value, exactly as the merchant supplied it. Use an object for a setting whose `value_type` is "object".
workspaceNo
store_uuidYes
integration_uuidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare that this mutates destructively and is open-world; the description goes well beyond that with sync timing ('Existing listings pick these up on their next sync'), failure handling (`rejected` with a machine-readable `reason` and echoed allowed values, never silently dropped), and downstream effects (`unset_required` when a 'Yes' answer triggers a follow-up). The legal-attestation warning and the never-invent-a-value rule are behavioral constraints an agent cannot get from structured fields.

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 purpose and prerequisite are correctly front-loaded, and the warning blocks are visually separated. But the Proposition 65 paragraph repeats the 'ask the merchant, and if they don't have one leave it unset' instruction twice, and the definition ends with a stray artifact token ('[#40e61c]') that adds nothing.

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

Completeness4/5

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

For a destructive, legally weighted mutation with no output schema, the description covers prerequisites, output keys (`rejected`, `unset_required`), propagation timing, and safety constraints well. The remaining gap is that clearing settings via `remove` and the workspace/store scoping parameters are never described, which matters for a shop-wide destructive write.

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

Parameters3/5

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

Schema description coverage is only 40% across 5 parameters, and the description compensates for some of it by explaining that valid setting keys and accepted values must be discovered via describe_listing_attributes, and that values are relayed exactly as the merchant supplied them. However, the `remove` array, `store_uuid`, and `workspace` receive no explanation anywhere, so roughly half the surface remains undocumented in both places.

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 first sentence gives a specific verb (Set), a precise scope (SHOP-WIDE listing settings for one connected sales channel), and enumerates the setting families (compliance attestations, shipping template, fallback size chart). It explicitly carves out BRAND and per-listing size chart as belonging to set_listing_attributes, so an agent can distinguish it from that sibling without opening either 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 prerequisite call explicitly — describe_listing_attributes with `integration_uuid` and no `product_uuid` — and states the routing rule against set_listing_attributes for per-product settings. It also gives a conditional exclusion for `default_size_measurements` (only when the whole catalogue is one blank), which is a genuine when-not-to-use rule.

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