Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Update product

update_product
Destructive

Updates a product's name, description, and price, and optionally sets TikTok Shop listing details for synced products. Use set_listing_attributes for channel-defined attributes.

Instructions

Update a product (name, description, price). For a price change that must propagate to synced channels, prefer cascade_price_change. Optionally set tiktok_listing to enrich the TikTok Shop listing (SEO search terms, product highlights, brand, packaging, TikTok-only title/description, and category_id) — applied when the product is synced to a TikTok channel; ignored by other channels. For channel-defined ATTRIBUTES (Material, Style, Washing Instructions...) use set_listing_attributes instead: it validates against the listing category's real schema and tells you which values the channel refused, which this tool cannot.

[#c20857]

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": {
      "product_uuid": "<product_uuid>",
      "changes": "<changes>"
    },
    "name": "update_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYes
workspaceNo
product_uuidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the mutation profile is covered; the description adds non-obvious behavior the annotations cannot convey — tiktok_listing is applied only when the product is synced to a TikTok channel and silently ignored otherwise, and this tool cannot report which attribute values a channel refused. It does not spell out what a name/description/price change does to already-synced channel listings, which is the main remaining gap for a destructive update.

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?

Front-loaded with the core action, then alternatives, then the optional TikTok block — a sensible priority order with no filler. The middle sentence is long and packs many sub-fields, and the trailing '[#c20857]' artifact is stray noise that does not belong in a tool definition.

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-object mutation with no output schema, the description covers the important decisions: which tool to use for price propagation, which for attributes, and when the TikTok payload takes effect. It stops short of describing permission requirements or what happens to synced channel data on a shared-field change, but nothing needed to invoke it correctly is missing.

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

Parameters4/5

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

Top-level coverage is nominally 0%, but the description compensates by naming the three changeable fields and explaining the tiktok_listing block's purpose, its channel-scoping, and that it is a merge where nulling a key or the whole object clears it. The `workspace` parameter is never mentioned in either the description or schema, leaving one real hole.

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?

Opens with a specific verb and resource ('Update a product') and immediately enumerates the mutable fields (name, description, price) plus the optional tiktok_listing block. An agent can distinguish this from cascade_price_change, set_listing_attributes, and the other update_* siblings from the description alone.

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 two explicit routing rules with the condition that selects each alternative: cascade_price_change when a price change must propagate to synced channels, and set_listing_attributes for channel-defined attributes because it validates against the real category schema and reports rejected values. This is exactly the when-to-use/when-not-to-use guidance the dimension rewards.

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