Skip to main content
Glama

openapi_v2_markets_rating_count_distributions

  1. Function

Select up to 100 Amazon Listings with the highest monthly unit sales or monthly revenue in the market, then group them by rating-count range. Each group returns Listing count and share, monthly unit sales and share, monthly revenue and share, and per-Listing means for price, star rating, rating count, monthly unit sales and monthly revenue.

  1. Use cases

Assess accumulated rating volume by comparing sales and revenue for Listings with few versus many ratings, helping evaluate the rating base associated with participation in the market.

  1. Example

{"categoryIds":["679399011"],"sampleType":"unitSalesTop100"}

  1. Data range

US marketplace only. Each category is analyzed independently; product coverage can include or exclude descendants. Missing metrics remain null. Based on a leading sample of up to 100 Amazon Listings selected by monthly unit sales or revenue; results describe the sample. Omit the date for the latest available snapshot. An explicit date requires a published snapshot on that day; otherwise return no data. Use the resolvedDate returned by market search to query the same snapshot. Before querying, balance must cover the distinct requested market count at the endpoint unit price; this check does not deduct credits. Billing counts distinct returned markets (site and category ID); empty data costs zero. Price and rating means in this response exclude Listings whose corresponding metric is null; zero values participate. Different means can have different denominators; no valid values returns null.

Input Schema

NameRequiredDescriptionDefault
dateNoPublished snapshot date (YYYY-MM-DD). Omit for the latest available common snapshot; an unpublished explicit date returns no data. Use the resolvedDate returned by market search to query the same snapshot.
sampleTypeNounitSalesTop100 selects up to 100 Amazon Listings by monthly unit sales; revenueTop100 selects up to 100 by monthly revenue. Concentration analysis uses the same metric to rank products, brands or sellers and calculate their sample shares.unitSalesTop100
categoryIdsYesReal category IDs; each ID selects an independent market.
marketplaceNoMarketplace code; currently US only.US
includeDescendantCategoryProductsNotrue includes products from this category and its descendants; false counts only directly assigned products. Controls product statistics, not market-row selection.

Output Schema

NameRequiredDescriptionDefault
dataNoResponse data payload
metaYesResponse metadata including pagination info
errorNoError details if request failed
successNoWhether the request was successful

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the sampling basis (leading top-100 sample, results describe the sample), US-only scope, null handling for missing metrics, mean-denominator rules, and detailed billing behavior (balance must cover distinct requested market count; the check does not deduct credits; billing counts distinct returned markets; empty data costs zero). This is unusually rich disclosure beyond what any annotation would provide.

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 numbered sections (Function, Use cases, Example, Data range) front-load the purpose and the example is compact and useful. It is dense and somewhat over-long, and the date/snapshot sentence duplicates the date parameter description almost verbatim, which is wasted space.

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?

For a complex, unannotated analytics tool this covers the essentials: scope, sampling, snapshot/date semantics, null and denominator handling, and billing. An output schema exists so return fields need not be re-explained (though they are), and the only real omission is guidance on obtaining valid category IDs and how this tool relates to its many distribution siblings.

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 every parameter (date, sampleType, categoryIds, marketplace, includeDescendantCategoryProducts) is already documented in the schema. The description reinforces sample semantics and the date/snapshot rule, but adds no syntax or meaning the schema lacks, so the baseline of 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 'Function' section states a specific verb and resource: select up to 100 Amazon Listings by monthly unit sales or revenue, then group them by rating-count range, and it enumerates the returned measures. This is far more precise than a generic 'distributions' tool. It never names the obvious sibling openapi_v2_markets_rating_distributions (star-rating buckets) or price/listing-age distributions, so differentiation is left implicit.

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 'Use cases' section gives a clear analytical context: compare sales/revenue for Listings with few versus many ratings to assess accumulated rating volume. That is genuine usage guidance, but there are no exclusions or explicit alternatives (e.g., when to prefer rating_distributions over rating_count_distributions), so it stops short of a 5.

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.

Resources