Reference
Shopify tools: every read and write tool the agent and MCP can call
TL;DR
22 read and 20 write tools. Read and write support for the operations listed.
Support and limitations
- Read and write support for the operations listed.
- Permissions: the connected login's role and the permissions it granted decide what each tool can read or change. A tool the login cannot use answers with what is missing; it never works around it.
- Approvals: in the app, changes wait for approval unless the task runs with auto-approve. Over MCP and REST they follow the credential's setting (an API key applies ordinary changes at once unless it is set to require approval; a third-party OAuth connection waits). 7 writes are marked “Person approves”: they wait for a person on every lane — only the workspace's own OAuth app and an API key an admin set to apply changes you can't take back skip that wait. Forbidden Rules can block any of them.
- Operations the platform's API does not offer, and operations not in the catalog, are not available through these tools.
Read tools (22)
| Tool | What it does |
|---|---|
shopify__get_shop_info | Shopify shop metadata (Admin tier): name, currency, timezone, primary domain, created date — cheap connection health check + report header |
shopify__sales_summary | Shopify SALES SUMMARY (Admin tier): server-side exact aggregation over orders in a window (sinceDays, default 30) — revenue, netRevenue, order count, AOV,… |
shopify__detect_anomalies | Detect store anomalies (spikes/drops vs weekday-aware baseline) — daily ORDERS and REVENUE (shop currency; days bucket by the shop's time zone — UTC only… |
shopify__get_orders | Recent Shopify ORDERS (Admin tier — needs the merchant's Admin token/client credentials): totals, status, line items PLUS per-order attribution (channel /… |
shopify__get_products | Shopify PRODUCTS via Admin API (includes DRAFT/ARCHIVED + live totalInventory, unlike the public catalog): title, status, vendor, type, price range;… |
shopify__get_customers | Shopify CUSTOMERS (Admin tier, needs read_customers): id, order count, total spent, created date — the name ONLY with includePii:true (the result says… |
shopify__admin_query | Generic Shopify Admin GraphQL READ (Admin tier): any query document — mutation/subscription documents are rejected |
shopify__shopifyql | Shopify's OWN report engine (ShopifyQL): "FROM sessions SHOW sessions, conversion_rate GROUP BY… |
shopify__list_locations | The store's LOCATIONS (id, name, isActive, fulfillsOnlineOrders, shipsInventory, city/country) — the locationId every inventory write needs. |
shopify__get_inventory_levels | Inventory quantities per LOCATION (available, on_hand, committed, incoming) for every variant of a product, or for up to 50 inventory items — the… |
shopify__list_discount_codes | Discounts on the store (discountNodes): code and automatic discounts with title, status (ACTIVE / EXPIRED / SCHEDULED), startsAt / endsAt, usageLimit, times… |
shopify__list_returns | Orders with RETURNS and each return's status (RETURN_REQUESTED / IN_PROGRESS / INSPECTION_COMPLETE / RETURNED / RETURN_FAILED), quantity, reasons. |
shopify__list_fulfillments | Orders with their FULFILLMENTS: status, tracking company / number / url, in-transit / delivered / estimated-delivery dates. |
shopify__list_marketing_activities | Shopify Marketing ACTIVITIES (the ad campaigns Shopify knows about, from apps and Shopify's own channels): title, status, tactic, channel, UTM parameters,… |
shopify__get_app_scopes | What THIS store's authorization actually grants (currentAppInstallation.accessScopes) plus shop name / domain / currency / time zone — the truth about which… |
shopify__get_web_pixel | The app's WEB PIXEL on this store (id, settings), or null when none is installed. |
shopify__pixel_funnel | The store's shopping FUNNEL from the Agent Planners customer-events pixel: page views → product views → add to cart → checkout started → orders, step rates,… |
shopify__get_landing_url | A UTM-tagged LANDING URL for a product, collection, page or the home page on the shop's primary domain — the URL to put in an ad's destination so the… |
shopify__search_catalog | Search the Shopify store's product catalog (Storefront MCP, anonymous): query + optional limit/country/language — returns products with variants + prices |
shopify__get_product | One Shopify product's full details (variants, options, prices) by productId from a prior search_catalog |
shopify__search_policies | Search the Shopify store's policies/FAQ (shipping, returns, warranty) via Storefront MCP |
shopify__get_cart | A Shopify cart back by cartId (kind write only to keep it out of the read cache — cart state changes mid-run) |
Write tools (20)
A write marked “Person approves” waits for a person on every lane; the others follow the approval setting of the app or the credential.
| Tool | Approval | What it does |
|---|---|---|
shopify__mutate | Approval setting | Shopify Admin MUTATION gateway (Admin tier; token needs matching write_* scopes): any GraphQL mutation document — productCreate/productUpdate/productDelete,… |
shopify__create_discount_code | Approval setting | Write_discounts): discountCodeBasicCreate, all customers, idempotent 15 min; 50 % off or more… |
shopify__update_discount_code | Approval setting | Write_discounts): read first; the approval shows before → after; endsAt now / past or startsAt… |
shopify__set_discount_code_status | Person approves | Activate or deactivate a code discount. |
shopify__delete_discount_code | Person approves | Delete a code discount and its redemption history (discountCodeDelete). |
shopify__update_inventory | Approval setting | ADJUST inventory by a DELTA per item and location (inventoryAdjustQuantities with the REQUIRED @idempotent key — the caller's idempotencyKey, else one… |
shopify__set_inventory | Person approves | SET an ABSOLUTE quantity per item and location (inventorySetQuantities, an overwrite — a wrong number oversells or hides stock). |
shopify__update_product | Approval setting | Edit a product (productUpdate), read first. |
shopify__update_variant_prices | Person approves | Catalog repricing): set price and/or compareAtPrice on up to 100 variants of ONE product (productVariantsBulkUpdate), MAJOR units. |
shopify__add_product_media | Approval setting | Attach images / videos to a product FROM PUBLIC https URLS Shopify downloads (productCreateMedia). |
shopify__create_web_pixel | Approval setting | Install the Agent Planners CUSTOMER EVENTS PIXEL on this store (webPixelCreate). |
shopify__update_web_pixel | Approval setting | Change the app's web pixel settings (webPixelUpdate), read first. |
shopify__delete_web_pixel | Person approves | Remove the app's web pixel from this store (webPixelDelete) — every conversion event it sent stops for every visitor. |
shopify__create_automatic_discount | Approval setting | Write_discounts): NO code — applies to every matching cart from startsAt; omitted = 24… |
shopify__delete_automatic_discount | Person approves | Delete an AUTOMATIC discount (discountAutomaticDelete). |
shopify__create_collection | Approval setting | Create a MANUAL collection (collectionCreate), UNPUBLISHED — on no sales channel until a person publishes it in Shopify admin (this app does not request… |
shopify__add_products_to_collection | Approval setting | Add products to a MANUAL collection (collectionAddProducts). |
shopify__remove_products_from_collection | Approval setting | Remove products from a MANUAL collection (collectionRemoveProducts — Shopify runs it as a job; the tool waits up to ~10 s and reads membership back). |
shopify__delete_collection | Person approves | Delete a collection (collectionDelete) — it leaves every sales channel and a page an ad or email links to goes dead; the products stay. |
shopify__update_cart | Approval setting | Storefront: build an ANONYMOUS buyer cart → checkoutUrl… |
Authorized raw requests
shopify__raw_request takes a request in Shopify's own format and routes it through the family's own gateway tool, so the same account binding, approvals and refusals apply. It needs the tools:raw scope (and tools:write for a change) and is found through search_tools or the REST tool list. Reads run at once; a change follows the gateway's approval setting.
Related pages
Frequently asked questions
- How many Shopify tools are there?
- 42: 22 read and 20 write, of which 7 always wait for a person. The list on this page is the complete catalog for Shopify.
- Can an agent call the Shopify API directly?
- shopify__raw_request takes a request in Shopify's own format and routes it through the family's own gateway tool, so the same account binding, approvals and refusals apply. It needs the tools:raw scope (and tools:write for a change) and is found through search_tools or the REST tool list. Reads run at once; a change follows the gateway's approval setting.