Skip to main content
Glama

Amazon Best Sellers API

amazon_best_sellers_viewer
Read-onlyIdempotent

View top-selling products in an Amazon.com category by providing a category ID, helping you identify current category leaders and track what sells.

Instructions

See the top-selling products in any Amazon category. Costs 1 credit per successful call. Amazon.com only, and the list changes through the day. A wrong category id returns no results.

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": {
      "category_id": "<category_id>"
    },
    "name": "amazon_best_sellers_viewer"
  }
}

Input Schema

NameRequiredDescriptionDefault
category_idYesCategory id. Use a category id such as electronics, books or home-garden. A sub-category looks like electronics/281407.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world traits, and the description adds real value beyond them: credit cost is surfaced, the marketplace is restricted to Amazon.com, and results are volatile through the day. The volatility note is a meaningful caveat for an agent planning repeated calls, though it sits in slight tension with idempotentHint=true (no contradiction, just worth flagging). No return-format or size limits are described.

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?

Four short sentences, no filler, with the core purpose front-loaded and cost/marketplace caveats following. Nothing is redundant enough to remove.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one required parameter and no output schema, the main gap is return shape: result count, fields per product, and pagination are unspecified, so an agent cannot anticipate what it will receive. The marketplace, cost, and error behavior are adequately covered.

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% and the schema already explains the category_id format including sub-category syntax. The description adds only the failure mode ('a wrong category id returns no results'), which is useful but thin; the schema does the heavy lifting, so baseline 3 applies.

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 names a specific verb and resource ('See the top-selling products') and scopes it to 'any Amazon category,' which is distinct from a product search. It stops short of naming or contrasting a sibling such as amazon_product_search, so it is clear but not fully differentiated.

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?

It supplies useful usage context — Amazon.com only, cost of 1 credit per successful call, and that a wrong category id returns no results — but never says when to pick this over amazon_product_search or amazon_keyword_tool. Guidance is implied rather than explicit.

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