Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Diagnose TikTok Shop listings

diagnose_tiktok_listings
Destructive

Diagnose TikTok Shop listing quality, identify issues that suppress reach, and optionally apply TikTok recommendations or preview edits before changing listing content.

Instructions

Diagnose TikTok Shop listing quality and optionally apply TikTok's own recommendations. TikTok grades each listing POOR/FAIR/GOOD and a low grade suppresses reach. Returns, per listing: the current tier, the machine-readable issues behind it (code + how_to_solve + the tier that ONE fix unlocks), and TikTok's recommended search terms / titles / descriptions. READ-ONLY unless you pass apply. apply:['search_terms'] is the safe default action — search terms are hidden listing metadata. Passing 'title' or 'description' replaces merchant-visible copy with machine-generated text, so ask the user first; those land on a TikTok-ONLY override and never rewrite the shared product record (which would also change the Shopify/WooCommerce/Wix listings). Use dry_run to preview. IMPORTANT — TikTok often flags a title WITHOUT offering a replacement, so apply:["title"] returns no_recommendation. That is not a dead end: each listing also carries requirements (the computed target, e.g. 40-150 chars — TikTok's own length rules contradict each other and this is the intersection), building_blocks (the product's real garment/colors/sizes, so you write from facts rather than inventing them), and candidates.title (ready-to-use options, shortest first, each already validated against the requirements). Offer the candidates to the user, or write your own title to the requirements and set it via update_product tiktok_listing.title. Check issues[].fixable_by before acting: photography means the listing needs new imagery, not better writing — report it rather than trying to write around it. ⚠️ diagnosable means "TikTok returned a diagnosis", NOT "this listing is live". TikTok also answers for deactivated and deleted listings, so a catalog can come back entirely diagnosable:true while a third of it is no longer for sale. Read listing_health for liveness: "Removed" is gone, "Needs Attention" is present but not visible to buyers, and null means we have never checked — which is NOT the same as healthy. Do not advise a user to delist something on the strength of diagnosable alone. Tier is a US-market signal. After applying, re-run this tool LATER to see the new tier: TikTok re-grades asynchronously, so the tier does not move the instant an edit lands.

[#a912af]

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": "diagnose_tiktok_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNoOmit for a read-only diagnosis. Provide the fields to overwrite with TikTok's recommendations.
dry_runNoWith `apply`: report what would change without writing or syncing.
workspaceNo
store_uuidYes
product_uuidsNoLimit to these products. Omit to cover every listing synced to TikTok.
integration_uuidNoOnly needed when the store has more than one connected TikTok Shop integration.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already flag the tool as not read-only and potentially destructive, but the description adds substantial behavior context: apply can overwrite merchant-visible copy, title/description changes land only on a TikTok override, changes do not rewrite the shared product record, and regrading happens asynchronously. It also warns that diagnosable does not mean live and explains the no_recommendation case, all of which are material behavioral details beyond the annotations.

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?

The definition is information-dense and front-loads the core read-only versus apply distinction, with every major sentence carrying operational value. It is long and includes an unexplained trailing marker, so it is slightly less polished than a perfect concise description, but the length is justified by the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the burden of explaining return values, and it does so thoroughly: tier, issues with code/how_to_solve, recommendations, requirements, building_blocks, candidates.title, listing_health, and re-run timing. For a complex diagnosis-and-optional-mutation tool, an agent has enough context to interpret results and act safely.

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

Parameters5/5

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

Schema coverage is 67%, and the description adds meaning beyond the schema by explaining the effect of apply values, the safety distinction for search_terms versus title/description, the TikTok-only override behavior, and the purpose of dry_run. It does not merely restate the schema; it explains consequences and defaults.

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?

The description states a specific verb and resource: diagnosing TikTok Shop listing quality, with optional application of TikTok recommendations. It also distinguishes the tool from adjacent workflows by pointing to update_product for custom title changes and by explaining what diagnose returns.

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?

The description gives explicit when-to-use guidance: omit apply for read-only diagnosis, use apply:['search_terms'] as the safe default, ask the user first before title/description replacement, and use dry_run to preview. It further tells the agent to check issues[].fixable_by and listing_health before advising actions, which is unusually strong operational guidance.

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