Skip to main content
Glama
amazon-in-mcp

amazon-in-mcp

Search Amazon.in

search_amazon_in
Read-onlyIdempotent

Search Amazon India by keyword and return ranked product listings with prices, ratings, stock status, and value, budget, and highly rated picks for comparison.

Instructions

Search amazon.in (Amazon India) for products by keyword and return ranked listings.

Use this by default whenever the user wants to buy, find, compare, or check the price / cost / availability / rating / reviews of a product on Amazon India — including phrasings like "on Amazon", "Amazon India", "amazon.in", "find me a…", "cheapest…", or "what's the price of…". Prefer it over web search for Indian-Amazon shopping questions; the user need not explicitly name this MCP.

This tool scrapes the public amazon.in search page (no API key needed). Picks are computed over every listing on the page, not just the returned ones:

  • trusted_rating (on each listing): the rating adjusted for how many reviews back it, so 4.9★ from 10 reviews ranks below 4.4★ from 100

  • best_value: highest trusted_rating − λ·log2(price), where λ comes from price_sensitivity

  • budget_pick: cheapest listing about as good as the middle listing on the page or better, with enough reviews to back it; absent when none qualifies

  • top_rated: highest trusted_rating, whatever it costs

  • cheapest_in_stock: lowest price among listings showing stock

  • frontier: listings left after dropping anything both pricier and worse, cheapest first

  • close_call + runner_up: present when best_value is nearly tied; compare features before choosing

  • why: one-line reason for each pick Colour/size variants that share one rating, review count and a near-identical title are merged into the cheapest. On pages with at least 8 priced listings, listings priced over 25× above or below the page median are marked price_outlier and left out of the picks (usually a different kind of product).

Args:

  • query (string, 2-200 chars): search keywords

  • max_results (int, 1-20, default 5): number of listings to return

  • page (int, 1-20, default 1): which result page to fetch; use to look past page 1

  • include_sponsored (bool, default false): include ad listings

  • price_sensitivity ("low" | "medium" | "high", default "medium"): how much price matters for best_value

Returns: JSON with schema: { "query": string, "page": number, // which result page was fetched "total_results": number, // listings parsed from this page (pre-slice) "returned": number, // how many are in results[] after applying max_results "results": [ { "asin": string, "title": string, "url": string, "image": string, "price_inr": number, "price_display": string, "mrp_inr": number, "rating": number, "review_count": number, "prime": boolean, "sponsored": boolean, "in_stock": boolean, "delivery": string, "price_history_url": string, "trusted_rating": number } ], "best_value": , "budget_pick": , "top_rated": , "cheapest_in_stock": , "frontier": [], "close_call": true, // only when nearly tied "runner_up": , // only when close_call "why": { "best_value": string, "budget_pick": string, "top_rated": string, "runner_up"?: string } }

Error handling:

  • "Amazon served a bot-check page" → wait 30-60s and retry

  • "Failed to reach amazon.in" → transient network or throttling

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_amazon_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoResult page to fetch (1-based). Amazon shows ~16-24 organic listings per page; use this to look past the first page. Default 1.
queryYesKeyword search query (e.g., 'bluetooth speaker under 2000')
max_resultsNoMaximum listings to return (1-20). Default 5.
include_sponsoredNoInclude sponsored / ad listings. Defaults to false.
price_sensitivityNoHow much price matters for best_value. high = favour cheaper listings, low = favour better-rated ones even if pricier. Default medium.medium

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • addedInput schema / properties / price_sensitivity
      Added value: +{
      +  "default": "medium",
      +  "description": "How much price matters for best_value. high = favour cheaper listings, low = favour better-rated ones even if pricier. Default medium.",
      +  "enum": [
      +    "low",
      +    "medium",
      +    "high"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.1.3
    • addedInput schema / properties / page
      Added value: +{
      +  "default": 1,
      +  "description": "Result page to fetch (1-based). Amazon shows ~16-24 organic listings per page; use this to look past the first page. Default 1.",
      +  "maximum": 20,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  3. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only, open-world, idempotent and non-destructive hints, yet the description adds substantial behavior: it scrapes the public page with no API key, computes picks over all listings rather than the returned slice, merges variant listings, flags price_outlier above 25× the page median, and gives retry guidance for bot-check pages. That is materially more than the annotations convey.

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 then usage, followed by compact bullet definitions of each pick type and a parameter list. The Returns block is long, but with no output schema declared it earns its place; a few lines (e.g. restating arg ranges) duplicate the schema.

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?

No output schema exists, so the description supplies the full return shape including optional fields (close_call, runner_up, why) and their conditional presence. Combined with error-handling notes for bot checks and network failures, an agent has everything needed to call and interpret it.

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

Parameters4/5

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

Schema coverage is 100%, so each parameter is already documented; the description still adds meaning by explaining that price_sensitivity feeds λ in the best_value formula and that page is how you look past page 1. Minor redundancy with the schema's own enum/range text keeps it from a 5.

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 and scope: searches amazon.in for products by keyword and returns ranked listings. It also distinguishes itself from the general alternative (web search) and from product-level siblings like get_product by making clear this is keyword search.

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 to use it by default whenever the user wants to buy, find, compare, or check price/availability/rating/reviews on Amazon India, and enumerates trigger phrasings ('on Amazon', 'cheapest…', 'what's the price of…'). It also names the alternative to prefer it over (web search) and notes the user need not name the tool.

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

Deploy Server

Other Tools