Skip to main content
Glama

Search products

search_products
Read-only

Search PriceInIndia for products sold in India and get matching listings with prices from retailers such as Amazon, Flipkart, Croma and Reliance Digital. Returns products (with price, MRP, discount, store, image and links) plus facet counts for brands, stores, categories and price buckets. Call this first for any product question; then optionally call compare_prices for a cheapest-per-retailer comparison, and render_product_results to show the products as cards in the chat.

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": {
      "query": "<query>"
    },
    "name": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
sortNoSort order (default: relevance)
brandNoFilter by brand, e.g. 'sony'
queryYesProduct search query, e.g. 'sony wh-1000xm5'
storeNoFilter by retailer, e.g. 'amazon.in'
categoryNoFilter by category group id (from browse_categories) or name
per_pageNoResults per page (default 10, max 20)
max_priceNoMaximum price in INR
min_priceNoMinimum price in INR

Output Schema

NameRequiredDescriptionDefault
pageYes
queryYes
totalYes
facetsYes
productsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive and closed-world, so the safety profile is settled; the description adds substantive context about the payload (price, MRP, discount, store, image, links plus brand/store/category/price-bucket facets). It omits pagination limits and result-cap behavior, which it leaves to the schema.

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?

Front-loaded with purpose and scope, then returns, then the workflow. The final sentence chains three separate instructions, which is efficient but slightly run-on; nothing in it is filler.

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?

With an output schema present, the description need not enumerate return values, yet it still gives a useful preview and fully documents the call sequence. The only gap is practical calling detail around paging through results and how the category filter connects to browse_categories, which is only implied via the schema.

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 all nine parameters including the sort enum and page/per_page bounds are already documented. The description adds only the India-retailer scope and does not explain filtering interactions (e.g., how brand/store/price filters relate to facets), so the baseline 3 applies.

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?

States a specific verb + resource ('Search PriceInIndia for products sold in India') and scopes the result set (aggregated listings from Amazon, Flipkart, Croma, Reliance Digital). An agent can immediately distinguish it from compare_prices and render_product_results, which the description names as downstream steps.

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?

Explicitly says 'Call this first for any product question', then prescribes the optional follow-ups: compare_prices for cheapest-per-retailer and render_product_results for card rendering. The ordering and the role of each sibling are stated rather than inferred.

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