Skip to main content
Glama
ApparelHub-AI

apparelhub-mcp

Official

add_products_to_collection

Add existing store products to a specific collection by UUID. If the collection is synced to a sales channel, the products are added there too.

Instructions

Add one or more products (by uuid) to a collection. The products must already be associated with the store. If the collection is synced to a channel, the products are added there too.

[#e8080a]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceNo
store_uuidYes
product_uuidsYes
collection_uuidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only declare openWorldHint=true, so the description carries most of the behavioral burden. It does disclose a genuinely useful side effect (products propagate to a synced channel) and an input precondition, but says nothing about permissions, idempotency, or what happens if a product is already in the collection.

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 two informative sentences are front-loaded and efficient, but the definition is polluted by a stray color-code artifact ('[#e8080a]') that has no semantic value and adds noise.

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?

For a mutation tool with no output schema and near-empty annotations, the description covers the precondition and the cross-channel effect but omits failure modes, permission requirements, and confirmation of the result. Adequate but with clear gaps.

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 0%, so the schema names the parameters but explains none. The description clarifies the uuid semantics of product_uuids and collection_uuid and confirms multi-add via 'one or more', but leaves the workspace parameter and the store_uuid/collection_uuid relationship unexplained.

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 ('Add one or more products ... to a collection') and constrains input to uuids, so the agent knows exactly what the tool does. It does not explicitly distinguish itself from the sibling remove_product_from_collection, but the direction of the operation is unambiguous.

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?

Provides a clear precondition ('products must already be associated with the store') that tells the agent when the call is valid, and explains the channel-sync consequence. It stops short of naming alternative tools (e.g. remove_product_from_collection, update_collection) or when-not to use it.

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