Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Connect a sales channel

connect_sales_channel
Destructive

Connect an API-key sales channel such as WooCommerce or Wix to a store directly in chat, storing credentials write-only. Use start_channel_connect for Shopify or TikTok Shop instead.

Instructions

Connect an API-key sales channel (WooCommerce, Wix) to a store, entirely in chat. For Shopify and TikTok Shop use start_channel_connect instead: they need a browser. Credentials are write-only and are never returned.

[#c9093d]

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>",
      "provider_uuid": "<provider_uuid>",
      "credentials": "<credentials>"
    },
    "name": "connect_sales_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceNoWorkspace uuid the store lives in (agency accounts) — use the store's workspace.uuid from list_my_stores. Omit only for single-workspace accounts; omitting it on a multi-workspace account targets the Default workspace and the call will fail to find a store that lives elsewhere.
store_uuidYesStore uuid (from list_my_stores or create_store).
credentialsYesChannel credentials, e.g. WooCommerce { store_url, consumer_key, consumer_secret }; Wix { api_key, site_id }. Treat as secrets: do not echo them.
provider_uuidYesProvider uuid (from list_connectable_providers).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, destructiveHint=true, openWorldHint=true; the description adds non-obvious behavior the annotations cannot convey — the flow runs entirely in chat (no browser redirect) and credentials are write-only and never returned. It does not explain what makes the operation destructive (e.g., overwriting an existing channel connection) or what happens on a duplicate connect, which is the main residual gap.

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?

Three short front-loaded sentences: capability, alternative route, credential guarantee. Nothing is padded; the only blemish is the stray trailing '[#c9093d]' artifact, which does not impede comprehension.

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 nested-credential write with no output schema, the definition covers the two things an agent most needs: which providers this path serves and that secrets are not echoed back. It leaves unstated whether reconnecting an already-connected channel overwrites or errors, and what a successful return looks like.

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 100% and each parameter already documents its source (list_my_stores, list_connectable_providers) and even the workspace-omission failure mode. The description adds no parameter-level meaning beyond that, so baseline 3 applies.

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?

Specific verb+resource ('Connect an API-key sales channel') with concrete provider examples (WooCommerce, Wix) and scope ('to a store, entirely in chat'). It explicitly separates itself from start_channel_connect, so an agent can route correctly 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?

Gives the exact exclusion and the alternative: 'For Shopify and TikTok Shop use start_channel_connect instead: they need a browser.' This is when-to-use / when-not-to-use plus the selected substitute in one sentence.

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