Skip to main content
Glama
randunun-eng

Taobao Sourcing Assistant

by randunun-eng

taobao_export_inventory

Export purchase history into a visual inventory workbook with landed cost calculations, categorized products, and embedded images for easy review.

Instructions

Export the full purchase history as a visual inventory workbook with LANDED cost.

Pages the buyer order list back to since (the only path to full history), computes each line's landed cost (product price + order shipping allocated by qty), categorizes products, and writes Image · Date · Category · Seller · Product · Variant · Qty · Unit ¥ · Line ¥ · Ship ¥ · Landed/u ¥ · Landed ¥ + a By-Category sheet. embed_images=true embeds thumbnails (open in Numbers/Excel); false writes =IMAGE() URLs for Google Sheets. refresh=false reuses the last crawl cache (no Taobao traffic, no login needed) unless the cache doesn't reach back to since. Food/instant-delivery orders are excluded by the list itself. Example: {"since":"2025-01-01","embed_images":true}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNo2025-01-01
refreshNo
filenameNoinventory_2025_2026.xlsx
embed_imagesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Beyond the false annotations, the description discloses that it pages through order lists, computes costs, and caches results. It explains resource usage for 'refresh=false' and image embedding details, adding significant behavioral context.

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 front-loaded with the purpose and includes detailed functionality, parameter explanations, and an example. It is informative but slightly lengthy, though every sentence adds value.

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 complexity and lack of schema descriptions, the description provides a thorough overview of functionality, output format, parameter effects, and edge cases (cache, excluded orders). It is complete.

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?

With 0% schema coverage, the description adds meaning for 'since', 'refresh', and 'embed_images' via detailed explanations and an example. However, 'filename' is not mentioned, leaving a gap.

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?

The description clearly states the tool exports purchase history into a visual inventory workbook with landed cost, listing columns and sheets. However, it does not explicitly distinguish itself from the sibling tool 'taobao_export_xlsx'.

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 description provides usage context, such as paging behavior with 'since', caching with 'refresh', and that food orders are excluded. It does not specify when not to use or mention alternatives.

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/randunun-eng/taobao-sourcing-mcp'

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