Skip to main content
Glama

SocialDataX 抖音 Douyin MCP

douyin_search_products

Read-only

用户需要按关键词查找抖音全局搜索中的商品时使用;支持排序、价格、服务和卖点筛选,返回归一化商品列表与不透明分页令牌。当前服务提供详情工具时:已有 product_id 时直接使用 douyin_get_product_detail_by_product_id;已有商品链接或分享文案时使用 douyin_get_product_detail_by_url。不用于搜索作品或用户,也不表示商城频道内完整搜索链路。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYes抖音商品搜索词,必填,去除首尾空白后不能为空;可传关键词或短语,例如“iPhone 16”或“露营桌”;keyword 只传搜索词,不要传商品链接、抖音平台对象 ID(如 sku_id、promotion_id、aweme_id、sec_user_id)或 page_token;不要把价格、排序或服务条件拼进 keyword,请使用对应筛选参数。
max_priceNo最高价格,正整数,单位:元;必须大于 0,不传表示不限;与 min_price 同时传入时不得小于 min_price。
min_priceNo最低价格,正整数,单位:元;必须大于 0,不传表示不限;与 max_price 同时传入时不得大于 max_price。
only_liveNotrue 时仅返回当前正在直播的商品(抖音原生筛选“直播中”);false 表示不限(默认)。
sort_typeNo商品排序:general(综合,默认)、sales_descending(销量降序)、price_ascending(价格升序)、price_descending(价格降序)。general
page_tokenNopage_token 是不透明分页令牌。首次请求留空;继续翻页时必须将上一次返回的完整 next_page_token 原样传入,作为 page_token 使用;只能用于同一抖音商品搜索链路、关键词、排序和筛选条件,不能跨能力复用;翻页时 keyword、sort_type、min_price、max_price 及全部筛选参数必须与上一页保持一致;需要修改任一条件时,清空 page_token 后从第一页重新搜索;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。
selling_pointNo卖点筛选:all(不限,默认)、high_sales(月销过万)、high_rating(好评多)。all
official_storeNotrue 时仅返回带“抖音旗舰”标识的商品;false 表示不限(默认)。
seven_day_returnNotrue 时仅返回支持 7 天无理由退货的商品;false 表示不限(默认)。
shipping_insuranceNotrue 时仅返回支持运费险的商品;false 表示不限(默认)。
dispatch_within_24hNotrue 时仅返回支持 24 小时内发货的商品;false 表示不限(默认)。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes当前页商品列表
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
next_page_tokenYes下一页不透明分页令牌;为空表示没有更多结果。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回。next_page_token 只能用于同一能力和同一分页链路,不能跨能力、作品、用户、评论、关键词或筛选条件复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / price / description
      Previous value: -"商品卡展示价格,单位:元"New value: +"商品卡展示价格,单位:元;不保证是最终实付价"
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description discloses key behavioral aspects: it returns a 'normalized product list' and an 'opaque pagination token', and warns that it does not represent a complete search chain within the mall channel. It could be more explicit about rate limits or data freshness, but it gives sufficient behavioral context for an agent to set expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, using only two sentences. It front-loads the core purpose, then summarizes filter capabilities and returns, and concludes with guidance and limitations. No redundant or filler content; every sentence serves a purpose.

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?

Given the complexity of 11 parameters and the presence of an output schema, the description provides sufficient context: it summarizes the filter dimensions, mentions the opaque pagination token (which is further detailed in the schema), and gives explicit alternatives for detail retrieval. It also notes the limitation of not being a complete mall search, addressing potential edge cases. The output schema covers return value details, so none are needed here.

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?

With 100% schema coverage, the baseline is 3. The description adds meaning by grouping parameter categories (sorting, price, service, selling point) and by clarifying the relationship between search and detail tools, which helps an agent understand when to use which parameters. However, it does not introduce new parameter-specific details beyond the schema, so a 4 is appropriate.

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 clearly states the primary action ('搜索商品' by keyword) and identifies the resource (Douyin products). It explicitly differentiates from sibling tools by noting it is not for searching videos or users, and directs users to detail tools when a product_id or URL is already available, making its purpose unambiguous.

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?

It provides explicit usage guidance: when to use this search tool versus the detail tools (douyin_get_product_detail_by_product_id and douyin_get_product_detail_by_url) based on whether product_id or link/share text is available. It also states exclusions (not for videos/users) and a limitation (not a complete mall channel search chain), giving an agent clear decision rules.

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.

Resources