Skip to main content
Glama

Get Best Sellers

get_best_sellers
Read-onlyIdempotent

Retrieve the top-selling ASINs for any Keepa category, providing an ordered list of best-selling products for market analysis.

Instructions

Get the top-selling ASINs in a Keepa category.

Returns an ordered list of ASINs. Find category ids at: https://keepa.com/#!categorytree/1

Common category ids (amazon.com):

  • 172282: Electronics

  • 1055398: Computers & Accessories

  • 3760901: Camera & Photo

  • 2619533: Musical Instruments

  • 284507: Kitchen & Dining

Args:

  • category_id (number): Keepa category id

  • domain (number, optional): Keepa domain id (default 1 = amazon.com)

Examples:

  • "What are the best sellers in Electronics?" -> category_id=172282

  • "Top Kitchen products" -> category_id=284507

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNoKeepa domain id (1 = amazon.com)
category_idYesKeepa category id (e.g. 172282 for Electronics on amazon.com). Find ids in the Keepa category tree at https://keepa.com/#!categorytree/1
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false. The description adds useful behavioral context: it returns an ordered list of ASINs, explains where to find category IDs, and gives common examples. No contradiction with annotations.

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?

The description is front-loaded with a clear purpose, then provides a link and examples. The Args and Examples sections add practical value, and the overall length is justified. Slightly longer than minimal, but each part earns its place.

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?

Given the tool's simplicity (two parameters, no output schema), the description is complete: it explains what the tool returns (ordered list of ASINs), how to find category IDs, and provides common examples. No major missing context for an agent to select and invoke the tool.

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%, so the schema already documents both parameters thoroughly. The description marginally adds value with example category mappings, but these are also present in the schema's category_id description. The description does not add meaning beyond the schema.

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?

The description clearly states 'Get the top-selling ASINs in a Keepa category' with a specific verb and resource. It also differentiates from siblings like search_products and get_deals by focusing on top-selling ASINs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use the tool (when you need top-selling ASINs in a category), examples of use cases, and a link to find category IDs. It does not explicitly exclude alternatives like search_products or get_deals, but the context implies the tool is for best sellers.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/purahmanian/keepa-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server