Get store performance
get_store_performanceMeasure the store, or a product, collection, page, article or URL given as subject. metrics returns headline values with their previous period, definition and source. breakdown returns ranked rows such as queries, landing pages, channels, AI assistants, devices, countries, products or discount codes. With neither, returns what exists for the subject. Periods default to the 28 days ending three days ago against the 28 days before. Google Analytics, Search Console and Shopify are separate measurements.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_store_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| sort | No | Breakdown metric to rank by, e.g. clicks, impressions, sessions, revenue, orders. | |
| limit | No | ||
| store | No | The connected store to use. Omit when only one is connected. | |
| device | No | all | |
| offset | No | ||
| compare | No | ||
| country | No | Search Console three-letter country code, e.g. usa. | |
| endDate | No | ||
| metrics | No | ||
| subject | No | What to measure: a product, collection, page or article ID (product-42 or a Shopify GID), its name or handle, a storefront URL or path (/products/x), or omit for the whole store. | |
| ascending | No | ||
| breakdown | No | ||
| startDate | No | ||
| comparisonEnd | No | ||
| comparisonStart | No |