Skip to main content
Glama

Easyparser — Amazon Product & Seller Data

get_sales_history

Read-only

Retrieve a product's historical performance over up to 12 months: weekly aggregated trends for estimated views/traffic, sales, price, and Best Sellers Rank. This is Easyparser's 'time machine' — the deepest competitive-intelligence tool in this server.

Use this tool for trend forecasting, seasonality analysis, conversion-rate estimation, and investment/sourcing due diligence. Do NOT use it for a simple current price check — get_product_detail is 5x cheaper for that.

IMPORTANT cost rule: the base cost is 5 credits, and each month of history adds 1 credit (3 months = 8 credits, 12 months = 17 credits). Always ask the user how far back they need, or default to 3 months for a quick trend read. The history array in the response is aggregated by WEEK, not by day.

Input Schema

TableJSON 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 — prices, availability and rankings differ across marketplaces..com
history_rangeNoDepth of historical data in months. '0' returns only the current snapshot (5 credits). '3', '6', '9', '12' add weekly history at +1 credit per month. Default '0'.0

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 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, openWorldHint, and destructiveHint, so the base safety profile is clear. The description adds non-obvious behavioral context: the credit cost formula, weekly rather than daily aggregation, and the presence of a history array in the response. It does not contradict the annotations and usefully elaborates on cost and granularity.

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?

Three compact paragraphs are front-loaded with purpose, followed by use-case routing and then the cost/default rule. The 'time machine' and 'deepest competitive-intelligence tool' phrasing is mildly promotional but not harmful. Overall, each sentence contributes to tool selection or invocation guidance.

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 read-only tool with three parameters and no output schema, the description adequately covers when to use it, how to size history_range, and what the response contains (weekly aggregated history). It does not explicitly state that history_range '0' returns only the current snapshot, though the schema does cover that. The output shape beyond 'history array' is not specified, but enough context is present for a competent agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already documents all three parameters with 100% coverage, so the baseline is 3. The description adds extra selection guidance: the cost per month, the recommendation to default to 3 months, and the weekly aggregation semantics that affect interpretation of history_range. It avoids merely repeating schema text while still enriching parameter decisions.

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 opens with a specific verb and resource: 'Retrieve a product's historical performance over up to 12 months,' and enumerates the exact metrics returned (views/traffic, sales, price, Best Sellers Rank). It also differentiates from get_product_detail by labeling this the 'deepest competitive-intelligence tool' and explicitly excluding simple price checks.

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?

It gives concrete use cases: trend forecasting, seasonality analysis, conversion-rate estimation, and due diligence. It also tells the agent when not to use it, naming the alternative 'get_product_detail is 5x cheaper for that,' and instructs how to choose history depth: ask the user or default to 3 months. This is explicit routing.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool maps to a distinct resource or action, and overlapping data is carefully disambiguated in the descriptions—e.g., get_product_detail includes BSR and dimensions, but get_bestseller_rank and get_package_dimensions are explicitly positioned as narrower alternatives. The bulk-job tools also form a clear pipeline with no realistic confusion between listing jobs, inspecting items, fetching item data, and checking webhook logs.

Naming Consistency4/5

The dominant get_* pattern is consistent for data retrieval, and list_* is used for collection-style endpoints. Minor deviations like check_credits, lookup_product, and search_products are understandable but break the strict verb_noun consistency enough to prevent a perfect score.

Tool Count4/5

At 17 tools, the server is slightly above the ideal 3-15 range, but the count is justified by the breadth of the domain: product details, offers, sales history, seller intelligence, bulk job monitoring, account credits, and error logs. Each tool earns its place, and the heavier count does not feel bloated.

Completeness4/5

Real-time product and seller data coverage is strong, including search, barcode lookup, product detail, offers, BSR, dimensions, sales history, seller profile, seller products, and seller feedback. The main gap is that bulk jobs can be listed and inspected but there is no tool to create or submit a new bulk job from the MCP server, leaving that workflow incomplete.