Run a Merchant Center report
merchant_reportRuns a read-only Merchant Center Query Language (MCQL) query on one account and returns up to limit rows. One view per query. product_performance_view: segments date, week, offer_id, title, brand, marketing_method (ADS or ORGANIC), customer_country_code, category_l1…l5, product_type_l1…l5, custom_label0…4; metrics clicks, impressions, click_through_rate (conversions, conversion_value and conversion_rate count free listings only). It needs a date range and at least one metric, e.g. SELECT offer_id, title, clicks, impressions FROM product_performance_view WHERE date DURING LAST_30_DAYS AND marketing_method = 'ADS' ORDER BY clicks DESC LIMIT 50. product_view (current status): id, offer_id, title, brand, price, availability, gtin, feed_label, aggregated_reporting_context_status (ELIGIBLE, ELIGIBLE_LIMITED, PENDING, NOT_ELIGIBLE_OR_DISAPPROVED), item_issues, click_potential (LOW, MEDIUM, HIGH); id must be selected. price_competitiveness_product_view (benchmark_price) needs id and report_country_code selected; price_insights_product_view (suggested_price, effectiveness) needs id. best_sellers_product_cluster_view and best_sellers_brand_view need report_date, report_granularity, report_country_code and report_category_id selected and WHERE report_granularity = 'WEEKLY' (or 'MONTHLY') AND report_country_code = 'US'; ORDER BY rank. WHERE joins conditions with AND only (no OR); dates as date BETWEEN 'YYYY-MM-DD' AND 'YYYY-MM-DD' or date DURING LAST_7_DAYS / LAST_30_DAYS. Reports work on standalone accounts and sub-accounts, not on an advanced account itself. Changes nothing.
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": {
"account_id": "<account_id>",
"query": "<query>"
},
"name": "merchant_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most rows to return | |
| query | Yes | An MCQL SELECT statement | |
| account_id | Yes | Merchant Center account ID, digits only (from merchant_accounts) |