Skip to main content
Glama

pdd_search

Search Pinduoduo for products by keyword. Requires PDD cookies and Chrome; each browser session allows only one search.

Instructions

搜索拼多多商品。需要 Chrome + PDD cookie(PDDAccessToken + pdd_user_id)。

⚠️ 严重限制:拼多多手机搜索每个浏览器会话仅允许一次搜索。 第一次搜索后,所有后续搜索返回「系统繁忙」。 如需再次搜索,必须重启 MCP server 以创建新的浏览器会话。

原理: Chrome CDP + iPhone UA 模拟手机浏览器搜索。 Cookie 文件: ~/.cn-scraper-cookies/pdd.json Token 有效期约 1 小时,需定期从手机浏览器重新导出。

并发: ⚠️ 使用 BrowserLock 保护 CDP 端口,同端口调用自动串行化。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo返回条数上限 (默认 10)
keywordYes搜索关键词

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Since no annotations are provided, the description fully bears the burden of behavioral disclosure. It thoroughly explains the single-use limitation, the need to restart the server, the use of BrowserLock for concurrency, token expiry, and cookie export requirements. This is highly transparent and leaves no ambiguity about the tool's behavior.

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 description is appropriately sized for the complexity of the tool, covering prerequisites, limitations, and behavior. It is front-loaded with the core purpose and then details. While every sentence adds value, it could be slightly more concise by consolidating some technical details. Overall, it strikes a good balance between completeness and readability.

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 tool's high complexity (single-use, cookie dependencies, concurrency), the description is remarkably complete. It covers what the tool does, its limitations, prerequisites, and failure modes. An output schema exists (not shown) which likely covers return values, so the description does not need to explain those. The tool is fully contextualized for effective use.

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 100%, so the baseline is 3. The description does not add explicit parameter descriptions beyond the schema, but the schema itself is clear (keyword required, limit optional with default). No additional context is provided for parameters, but none is strictly necessary given the schema's completeness.

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 '搜索拼多多商品' (search Pinduoduo products), using a specific verb and resource. It distinguishes from sibling tool 'pdd_product_detail' by focusing on search rather than detail retrieval. The purpose is unambiguous and well-defined.

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 explicitly states prerequisites (Chrome + PDD cookie with specific tokens), a severe limitation (one search per session), and the required action to reset (restart MCP server). It also explains the underlying mechanism (Chrome CDP + iPhone UA) and provides cookie file location. This gives clear guidance on when and how to use the tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/goesByhc/cn-scraper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server