Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Delete product

delete_product
Destructive

Delete or archive a product; hard deletion also removes its variants. If the product is synced to sales channels, unsync or archive it first to prevent orphan listings.

Instructions

Delete (default) or archive a product. Hard delete cascades to variants; if the product is synced to channels, unsync it first to avoid orphan listings — unsync_from_channel for one channel, archive_product for all of them. (sync_to_channel cannot unsync; it only syncs.)

[#020483]

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

Input Schema

NameRequiredDescriptionDefault
workspaceNo
archive_onlyNoDefault false (hard delete).
product_uuidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is known; the description still adds real value by disclosing the variant cascade and the orphan-listing risk. It does not cover permissions required, whether archive is reversible (restore_product exists), or what the response returns, so it stops short of rich behavioral context.

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 primary verb and the default, then conditional guidance. Slightly long single sentence, and the trailing "[#020483]" tag adds no meaning for an agent.

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, open-world tool it covers what gets destroyed, ordering constraints, and which sibling alternatives apply. Gaps remain on permissions and reversibility of archiving, but the critical decision inputs are present.

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 coverage is only 33%, but the description explains archive_only via "Delete (default) or archive," which matches the schema's "Default false (hard delete)." The workspace parameter and product_uuid are left entirely to the schema, so compensation is partial.

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 plus its two modes: "Delete (default) or archive a product." It is clearly distinguishable from archive_product and unsync_from_channel, which are named in the same breath.

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 explicit preconditions and routing: unsync first if synced to channels, unsync_from_channel for one channel, archive_product for all of them. It also forecloses a wrong choice by noting sync_to_channel cannot unsync.

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