Skip to main content
Glama

lazada_search

Read-only

One Lazada country storefront's free-text catalog search: product cards with item ids, canonical product URLs, images, prices, ratings, and review counts, with pagination and sort. country selects the storefront (id, ph, th, my, vn, or sg) and defaults to id. Lazada's own search always substitutes generic or trending items rather than returning a genuinely empty result set, so an empty items list is not by itself a reliable no-matches signal.

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": {
      "q": "<q>"
    },
    "name": "lazada_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesRequired. Free-text search query.
pageNoOptional. Result page, 1-indexed. Defaults to 1.
sortNoOptional. Sort order: popularity, priceasc, or pricedesc. Defaults to popularity.
countryNoOptional. Lazada country storefront: id, ph, th, my, vn, or sg. Defaults to id.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description goes meaningfully beyond them with the non-obvious caveat that Lazada substitutes generic or trending items, meaning an empty items list is not a reliable no-matches signal — exactly the kind of behavior an agent could not infer from annotations. It does not mention rate limits, throttling, or result-size caps, which keeps it short of a 5.

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 sentences, front-loaded with the operation and scope, and the caveat is placed after the core statement where it belongs. The first sentence is dense with return-field enumeration that partly duplicates the output schema, which is the only wasted weight.

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 four-parameter, single-required read tool with full schema coverage, an output schema, and safety annotations, the description covers what to call and the main pitfall. The remaining gap is routing guidance against the category and product-lookup siblings, which the definition never addresses.

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 all four parameters (q, page, sort, country) are already fully documented with defaults and allowed values. The description's only addition is interpretive framing ('country selects the storefront'), which is marginal over the schema and repeats the enum and default verbatim. Baseline 3 applies 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?

The description states a specific verb and resource ('free-text catalog search') scoped to 'One Lazada country storefront' and enumerates what comes back (item ids, URLs, images, prices, ratings, review counts). It implicitly separates itself from the category-browsing siblings by emphasizing free-text query, but it never names lazada_categories or lazada_product as the alternative, so sibling differentiation stops short of explicit routing.

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?

Usage is implied rather than stated: the phrase 'free-text catalog search' signals this is for text queries, and the country note establishes the storefront dimension. There is no explicit when-to-use/when-not-to-use statement, and no mention of the category or single-product siblings even though those are the most likely confusable tools.

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.