Skip to main content
Glama
justadityaraj

amazon-in-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AMAZON_IN_AFFILIATE_TAGNoOverride the default Amazon Associates affiliate tag. Set to 'none', 'off', 'false', or '' to disable affiliate links.artech-21

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_amazon_inA

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). It returns a normalised list of results plus two convenience picks:

  • cheapest_in_stock: lowest price among listings showing stock

  • best_value: weighted score = rating × log10(reviews+10) / sqrt(price), requires >=10 reviews

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

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 } ], "cheapest_in_stock": , "best_value": }

Error handling:

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

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

get_productA

Fetch a single amazon.in product's details by ASIN or URL.

Use this by default whenever the user pastes an amazon.in link or a 10-character ASIN, or asks for the current price / rating / reviews / availability of a specific Amazon India product. Prefer it over web search or training-data guesses.

Scrapes the product page and returns price, MRP, discount %, rating, review count, availability, bullets, brand, seller, delivery info, and a Keepa price-history URL.

Args:

  • asin_or_url (string): plain 10-char ASIN (e.g., "B0BDHWDR12") or any amazon.in product URL containing /dp/

Returns: JSON with schema: { "asin": string, "title": string, "url": string, "image": string, "price_inr": number, "price_display": string, "mrp_inr": number, "discount_percent": number, "rating": number, "review_count": number, "in_stock": boolean, "availability": string, "bullets": string[], "brand": string, "seller": string, "delivery": string, "price_history_url": string }

Error handling:

  • "Could not extract ASIN" → input was not a valid ASIN or amazon.in URL

  • "Bot-check page" → retry after a delay

price_history_linkA

Build a Keepa.com price-history URL for an amazon.in ASIN. No network call.

Keepa renders historical price charts in the browser using the format keepa.com/#!product/12-, where 12 is the amazon.in domain code. This tool is offline — just a deterministic URL builder.

Args:

  • asin_or_url (string): plain ASIN or amazon.in URL containing /dp/

Returns: JSON { "asin": string, "price_history_url": string }

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: get_product fetches details for a specific ASIN, search_amazon_in handles keyword queries, and price_history_link builds a static URL. No overlap in functionality.

Naming Consistency4/5

Naming is mostly consistent with verb_noun pattern (get_product, search_amazon_in), but price_history_link uses a noun_noun pattern. The deviation is minor and all names are clear.

Tool Count4/5

Three tools is on the lower end but appropriate for a focused product info server. The set covers the essential operations: search, single product detail, and price history URL generation.

Completeness4/5

The tool surface covers the main workflows (search and detail fetch). A minor gap is that price_history_link only returns a URL rather than actual price history data, but the overall coverage is solid for the stated purpose.

Maintenance

ActivityInactive
ResponsivenessUnresponsive