Skip to main content
Glama

Alibaba product search

run_alibaba_product_search
Read-onlyIdempotent

Search Alibaba products by keyword: price, MOQ, supplier, and certifications. 1 point per returned record.

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": {
      "keyword": "<keyword>"
    },
    "name": "run_alibaba_product_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoMax items (up to 250) Default: 25.
keywordYesSearch term. e.g. phone case

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / count
      Added value: +{
      +  "description": "Max items (up to 250) Default: 25.",
      +  "maximum": 250,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedInput schema / properties / keyword / description
      Previous value: -"Search term, e.g. 'phone case'."New value: +"Search term. e.g. phone case"
    • removedInput schema / properties / max_items
      Removed value: -{
      -  "description": "Maximum number of products to return (1-250, default 25). Billed at 1 point per returned record.",
      -  "maximum": 250,
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • removedInput schema / properties / start_page
      Removed value: -{
      -  "description": "Result page to start from (default 1).",
      -  "maximum": 9007199254740991,
      -  "minimum": 1,
      -  "type": "integer"
      -}
  2. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so safety is covered. The description adds a genuinely useful behavioral trait absent from annotations: the cost model ('1 point per returned record'), which tells the agent to be economical with count. It omits pagination/rate-limit behavior, so a 3 is warranted.

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?

Two compact clauses, purpose front-loaded followed by the cost model. Every phrase carries information; only minor room to tighten.

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

Completeness3/5

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

For a simple two-parameter search with full schema coverage and rich annotations, the description is adequate: it covers the action, returned fields, and cost. It stops short of routing guidance to the detail sibling, leaving a small completeness gap.

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 description coverage is 100%, so the schema documents both keyword and count (including the 250 cap and default 25). The description only restates 'by keyword' and adds nothing about the count parameter or keyword format, matching the baseline-3 expectation when the schema does the heavy lifting.

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 clear verb+resource ('Search Alibaba products by keyword') and enumerates the returned data (price, MOQ, supplier, certifications), which distinguishes it from the detail-oriented sibling run_alibaba_product. It does not, however, explicitly name siblings to differentiate from the many other marketplace search tools.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite note, and no reference to the alternative run_alibaba_product for full detail lookup. The agent must infer that this is the entry point for Alibaba discovery purely from the name.

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