Skip to main content
Glama
shopping-mcp

shopping-mcp

by EastMG

search_products

Find products by keyword across Taobao, JD, and Pinduoduo, returning unified price, coupon, commission, sales, shop, and affiliate link fields.

Instructions

按关键词搜索商品,返回统一字段(价格/券后价/券额/佣金率/销量/店铺/链接)。

Args: platform: taobao / jd / pdd keyword: 搜索关键词,中文即可 page: 页码,从 1 开始 page_size: 每页条数,1-50 has_coupon: 只要带优惠券的商品 sort: default / commission(佣金高)/ sales(销量)/ price_asc / price_desc / coupon_price

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNodefault
keywordYes
platformYes
page_sizeNo
has_couponNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses the result shape and the sort/range semantics, but says nothing about authentication requirements, rate limits, total result caps, or whether pagination beyond page_size is possible. Useful context, but incomplete for a 6-param search tool with zero annotation coverage.

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?

Purpose is front-loaded in the first clause, followed by a compact Args list with no filler sentences. The only minor redundancy is restating return fields that the output schema already defines, but it is one short parenthetical and does not bloat the 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 paginated search with an output schema present, the description covers the searchable dimensions and result semantics adequately, so return values need not be explained further. It falls short of 5 only because cross-platform behavioral differences (e.g., whether commission data exists on every platform) are left unstated.

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 description coverage is 0%, so the description must carry all parameter meaning and it does: platform enumerated as taobao/jd/pdd, keyword noted as Chinese-friendly, page documented as 1-based, page_size bounded 1-50, has_coupon explained, and six sort modes spelled out including the meaning of commission and sales. This fully compensates for the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('按关键词搜索商品') and enumerates the unified return fields (price, coupon price, commission rate, sales, shop, link), so the agent immediately knows what the tool produces. It does not, however, distinguish itself from siblings like get_product or shopping_status, which an agent must infer from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The Args block gives implicit operational guidance (has_coupon to restrict to coupon items, sort values to shape results), which helps an agent steer the call. There is no explicit statement of when to use this tool versus get_product for a single item, nor any exclusion or prerequisite, so usage remains implied rather than declared.

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