Skip to main content
Glama

Purchased products

get_purchased_products
Read-only

Returns non-zero purchase attribution after ad clicks by default: advertised ASIN to purchased ASIN, campaign/ad group, sales, orders, and units; recent ~3 days may be incomplete. Set non_zero_only=false to include zero-attribution rows. Use for halo/cross-sell attribution patterns. Does not include spend, clicks, impressions, ACOS, or total product sales; use get_product_performance or get_sales_and_traffic/get_tacos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows (1-1000, default 20).
offsetNoPagination offset (0-100000, default 0). Use the returned pagination.next_offset to continue.
sort_byNoColumn to sort bysales
end_dateNoOptional. YYYY-MM-DD. Defaults to today if omitted.
profile_idNoFilter by profile ID
sort_orderNoSort orderdesc
start_dateNoOptional. YYYY-MM-DD. Defaults to 30 days ago if omitted.
campaign_nameNoFilter by campaign name (LIKE match, use % for wildcards)
non_zero_onlyNoWhen true, omit rows where sales, orders, and units are all zero. Defaults to true.
purchased_asinNoFilter by purchased ASIN (exact match)
advertised_asinNoFilter by advertised ASIN (exact match)
include_raw_rowsNoFalse returns compact rows. Default true.
include_diagnosticsNoTrue may add expanded freshness diagnostics. Basic empty-result data-window diagnostics are included by default when available.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
evidenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 and destructiveHint=false, so safety is covered; the description adds real behavioral context beyond that: default non-zero filtering, the freshness caveat that the most recent ~3 days may be incomplete, and the explicit list of excluded metrics. It stops short of describing pagination or row shape, though the schema and output schema cover those.

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?

Three sentences, each front-loaded with the highest-value fact: what is returned and the default filter, the freshness caveat and toggle, then the exclusions and alternatives. No filler or restatement of the tool name.

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 13-parameter read tool with full schema coverage and an output schema, the description supplies everything an agent still needs: the attribution grain, default filter semantics, data-freshness limits, and which siblings cover the metrics this tool omits.

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 parameters such as limit, offset, sort_by and non_zero_only are already fully documented in the schema. The description restates the non_zero_only default behavior but adds no syntax or semantics beyond what structured fields provide; baseline 3 is appropriate.

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 (returns purchase attribution rows) plus the exact grain: advertised ASIN to purchased ASIN, campaign/ad group, sales, orders, units. It also names the sibling tools that cover the metrics it lacks (get_product_performance, get_sales_and_traffic, get_tacos), so an agent can distinguish it without opening any schema.

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?

Gives explicit when-to-use (halo/cross-sell attribution patterns), the default filtering behavior, and the condition that flips it (set non_zero_only=false to include zero-attribution rows). It also states when NOT to use it by naming three alternative tools for spend/clicks/ACOS/total sales.

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.