Skip to main content
Glama

tiktok_shop_search: GET /

hasdata_tiktok_shop_search_searchTikTokShop
Read-only

Search TikTok Shop

Searches TikTok Shop (US) for q. filters lists the options TikTok offers for the query; each option's hasdataLink applies it and keeps the request's other options, so prefer those links over building filterIds by hand. TikTok applies filters loosely, so results can fall outside a filter. Pass pagination.nextPageToken back as nextPageToken for the next page. Products link to the Product API and sellers to the Store API. Use it for product research, price monitoring or trend discovery.

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": {
      "q": "<q>"
    },
    "name": "hasdata_tiktok_shop_search_searchTikTokShop"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query.
sortNoResult order.
dealsNoOnly products with a deal.
ratingNoOnly products rated 4 stars and up.
maxPriceNoMaximum price in US dollars.
minPriceNoMinimum price in US dollars.
filterIdsNoComma-separated TikTok filter ids for options without a dedicated parameter.
categoryIdNoComma-separated category ids from the `Categories` filter options.
nextPageTokenNoPagination token returned by the previous response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: TikTok applies filters loosely so results can fall outside the requested filter, filter links preserve the request's other options, and nextPageToken must be echoed back.

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 tool's purpose, then flows into filters, pagination and use cases. Every sentence carries information, though the sentence about Products/Sellers linking to other APIs is the least essential.

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?

No output schema, so the description carries the burden of return shape and it does so partially by explaining hasdataLink-bearing filter options, the nextPageToken handoff, and that products/sellers link onward. It does not describe the result payload's fields or result-count behavior, leaving a modest gap for a 9-parameter search tool.

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 100%, so every parameter already has documented meaning and the baseline is 3. The description adds some routing nuance for `filterIds`/`hasdataLink` and `categoryId`, but does not explain the interaction of minPrice/maxPrice/sort beyond what the schema states.

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 ('Search TikTok Shop (US) for `q`') plus the region scope, which no sibling name would convey. It also orients the agent to how results connect to the Product and Store APIs, making it distinguishable from the shop-product and shop-store siblings.

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 explicit use cases ('product research, price monitoring or trend discovery') and a clear preference rule: use the option's `hasdataLink` rather than hand-building `filterIds`. It also explains the pagination loop. It lacks an explicit when-not-to-use or a named alternative tool, so 4 rather than 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.