Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Create collection

create_collection
Destructive

Create an empty collection in a store with a name and optional description, then add products and sync it to a sales channel.

Instructions

Create a new (empty) collection in a store. Provide a name (sent to the platform as the collection title) and an optional description. Add products with add_products_to_collection, then sync_collection to push it to a sales channel.

[#ff2c5e]

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>",
      "name": "<name>"
    },
    "name": "create_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
workspaceNo
store_uuidYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A3.7/5.0
Behavior3/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 write and external-effect profile is known. The description adds that creation is empty and that the name becomes the platform collection title, but says nothing about permissions, whether the name must be unique, or that publishing requires a separate sync step beyond the one sentence.

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?

Three front-loaded sentences with the creation action first and the follow-up workflow after, no filler. It loses a point for the stray '[#ff2c5e]' color token at the end, which is dead weight in a tool description.

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?

There is no output schema, so the description should at least imply what an agent gets back (a collection identifier needed by add_products_to_collection), and it does not. Combined with the undocumented workspace parameter, a create tool with external side effects is only adequately rather than fully specified.

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 0%, so the description must carry parameter meaning and only partially does: 'name (sent to the platform as the collection title)' and 'optional description' are explained, but 'workspace' is never mentioned at all and the required 'store_uuid' is only hinted at by 'in a store'. Two of four parameters, including one required one, remain semantically opaque.

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 with scope: 'Create a new (empty) collection in a store.' The parenthetical 'empty' and the mention of add_products_to_collection/sync_collection make clear this only creates the container, distinguishing it from the sibling tools that populate or publish it.

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

Usage Guidelines4/5

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

Gives concrete sequencing guidance: create, then add_products_to_collection, then sync_collection to push to a sales channel. It does not cover when to prefer update_collection or get_collection, or prerequisites such as permissions, but the workflow context is enough to place the call correctly.

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