Skip to main content
Glama

Easyparser: Amazon Product & Seller Data

get_bestseller_rank

Read-only

Get a product's current Best Sellers Rank (BSR): its numerical rank in main categories and sub-category node identifiers. A lightweight, single-purpose tool for popularity and demand tracking.

Use this tool when you only need the rank, e.g. 'Is this product selling well?' or daily rank monitoring. Lower rank number means higher sales velocity. If you also need price, rating or content, use get_product_detail instead (it includes BSR along with everything else). For historical rank trends, use get_sales_history. Costs 1 credit.

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": {
      "asin": "<asin>"
    },
    "name": "get_bestseller_rank"
  }
}

Input Schema

NameRequiredDescriptionDefault
asinYesAmazon Standard Identification Number, a 10-character alphanumeric product identifier (e.g. B0CJB6V2L5). Found in the product URL after /dp/ or /gp/product/.
domainNoAmazon marketplace domain extension. Determines the regional Amazon site the data is fetched from. Use the domain that matches the user's market, because prices, availability and rankings differ across marketplaces..com

Output Schema

NameRequiredDescriptionDefault
dataNoParsed Amazon data for the operation.
successYesTrue when the request completed.
operationYesEasyparser operation that ran, e.g. DETAIL or OFFER.
request_idNoEasyparser request ID, useful for support and error logs.
credits_usedNoCredits charged for this request.
applied_addressNoDelivery address the request used (zipCode array, city, district, country_code). Without address fields this is the marketplace default.
credits_remainingNoCredits left on the account after this request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / applied_address
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Delivery address the request used (zipCode array, city, district, country_code). Without address fields this is the marketplace default.",
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / asin / description
      Previous value: -"Amazon Standard Identification Number — a 10-character alphanumeric product identifier (e.g. B0CJB6V2L5). Found in the product URL after /dp/ or /gp/product/."New value: +"Amazon Standard Identification Number, a 10-character alphanumeric product identifier (e.g. B0CJB6V2L5). Found in the product URL after /dp/ or /gp/product/."
    • changedInput schema / properties / domain / description
      Previous value: -"Amazon marketplace domain extension. Determines the regional Amazon site the data is fetched from. Use the domain that matches the user's market — prices, availability and rankings differ across marketplaces."New value: +"Amazon marketplace domain extension. Determines the regional Amazon site the data is fetched from. Use the domain that matches the user's market, because prices, availability and rankings differ across marketplaces."
  3. Changed1 schema field changed
    • changedInput schema / properties / domain / enum
      Previous value: -[
      -  ".com",
      -  ".co.uk",
      -  ".de",
      -  ".fr",
      -  ".it",
      -  ".es",
      -  ".ca",
      -  ".com.mx",
      -  ".com.br",
      -  ".co.jp",
      -  ".in",
      -  ".com.au",
      -  ".ae",
      -  ".sa",
      -  ".nl",
      -  ".pl",
      -  ".se",
      -  ".be",
      -  ".com.tr",
      -  ".sg",
      -  ".ie"
      -]New value: +[
      +  ".com",
      +  ".co.uk",
      +  ".de",
      +  ".fr",
      +  ".it",
      +  ".es",
      +  ".ca",
      +  ".com.mx",
      +  ".com.br",
      +  ".co.jp",
      +  ".in",
      +  ".com.au",
      +  ".ae",
      +  ".sa",
      +  ".nl",
      +  ".pl",
      +  ".se",
      +  ".com.be",
      +  ".com.tr",
      +  ".sg",
      +  ".ie",
      +  ".eg"
      +]
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "credits_remaining": {
      +      "description": "Credits left on the account after this request.",
      +      "type": "number"
      +    },
      +    "credits_used": {
      +      "description": "Credits charged for this request.",
      +      "type": "number"
      +    },
      +    "data": {
      +      "description": "Parsed Amazon data for the operation."
      +    },
      +    "operation": {
      +      "description": "Easyparser operation that ran, e.g. DETAIL or OFFER.",
      +      "type": "string"
      +    },
      +    "request_id": {
      +      "description": "Easyparser request ID, useful for support and error logs.",
      +      "type": "string"
      +    },
      +    "success": {
      +      "description": "True when the request completed.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success",
      +    "operation"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that with the per-call cost (1 credit), the 'lightweight, single-purpose' framing, and the rank-interpretation semantics. It doesn't discuss rate limits or latency, so it stops 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core definition, then use-cases, then alternatives, then cost. Every sentence carries distinct information — the examples ('Is this product selling well?') and the one-line credit cost both earn their place with no repetition.

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?

For a two-parameter read-only lookup with an output schema, the description covers purpose, interpretation, alternatives and cost. Nothing an agent needs to select or invoke it correctly is missing.

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% and both parameters (asin, domain) are already documented in the schema, including the domain enum and its marketplace caveat. The description adds no parameter-level meaning beyond the schema, 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 and resource (get a product's current Best Sellers Rank) and defines what the output is: a numerical rank in main categories plus sub-category node identifiers. It also gives the interpretation rule (lower rank = higher sales velocity), which lets an agent know exactly what this tool answers.

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 when to use it ('when you only need the rank', daily monitoring) and names two alternatives with the conditions that select them: get_product_detail for price/rating/content, get_sales_history for historical trends. Exclusions and routing are fully specified.

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.