Skip to main content
Glama

shopee_batch_products

Fetch details for up to 20 Shopee product URLs in a single API call. Use it to retrieve batch product data without repeated requests.

Instructions

Batch-fetch up to 20 Shopee product details in a single API call.

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": {
      "country": "<country>",
      "urls": "<urls>"
    },
    "name": "shopee_batch_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesArray of Shopee product URLs (max 20)
countryYesvn

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it only discloses the batch size and single-call nature. It says nothing about partial failures (what happens if one of the 20 URLs is invalid), whether results are returned in input order, rate limits, or authentication requirements - all material for a batch fetch.

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?

A single front-loaded sentence with no filler; the batch size constraint appears immediately after the verb, which is the right ordering for an agent scanning for limits. Nothing redundant is included.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the description must explain return shape and error behavior, and it does neither. It also leaves the country parameter unexplained, so an agent cannot confidently construct a call for a non-default market.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: the urls array already documents 'max 20', so the description's 'up to 20' largely repeats structured data. The country parameter has no description anywhere, and the description does not clarify that it selects the Shopee marketplace/locale or what the 'vn' default implies.

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?

Uses a specific verb plus resource ('Batch-fetch ... Shopee product details') and states the batching limit and single-call scope, so the operation is unambiguous. It does not distinguish itself from the sibling shopee_product_detail, which an agent would reasonably consider for the same underlying data.

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 phrase 'up to 20 ... in a single API call' implies the intended situation (many products at once, fewer round-trips), which is enough to infer a batch use case. It never says when to prefer shopee_product_detail for a single lookup, nor any exclusion such as mixed-country URL lists.

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