All docs
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)

ToolWhat it does
shopify__get_shop_infoShopify shop metadata (Admin tier): name, currency, timezone, primary domain, created date — cheap connection health check + report header
shopify__sales_summaryShopify SALES SUMMARY (Admin tier): server-side exact aggregation over orders in a window (sinceDays, default 30) — revenue, netRevenue, order count, AOV,…
shopify__detect_anomaliesDetect 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_ordersRecent Shopify ORDERS (Admin tier — needs the merchant's Admin token/client credentials): totals, status, line items PLUS per-order attribution (channel /…
shopify__get_productsShopify PRODUCTS via Admin API (includes DRAFT/ARCHIVED + live totalInventory, unlike the public catalog): title, status, vendor, type, price range;…
shopify__get_customersShopify CUSTOMERS (Admin tier, needs read_customers): id, order count, total spent, created date — the name ONLY with includePii:true (the result says…
shopify__admin_queryGeneric Shopify Admin GraphQL READ (Admin tier): any query document — mutation/subscription documents are rejected
shopify__shopifyqlShopify's OWN report engine (ShopifyQL): "FROM sessions SHOW sessions, conversion_rate GROUP BY…
shopify__list_locationsThe store's LOCATIONS (id, name, isActive, fulfillsOnlineOrders, shipsInventory, city/country) — the locationId every inventory write needs.
shopify__get_inventory_levelsInventory 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_codesDiscounts on the store (discountNodes): code and automatic discounts with title, status (ACTIVE / EXPIRED / SCHEDULED), startsAt / endsAt, usageLimit, times…
shopify__list_returnsOrders with RETURNS and each return's status (RETURN_REQUESTED / IN_PROGRESS / INSPECTION_COMPLETE / RETURNED / RETURN_FAILED), quantity, reasons.
shopify__list_fulfillmentsOrders with their FULFILLMENTS: status, tracking company / number / url, in-transit / delivered / estimated-delivery dates.
shopify__list_marketing_activitiesShopify Marketing ACTIVITIES (the ad campaigns Shopify knows about, from apps and Shopify's own channels): title, status, tactic, channel, UTM parameters,…
shopify__get_app_scopesWhat THIS store's authorization actually grants (currentAppInstallation.accessScopes) plus shop name / domain / currency / time zone — the truth about which…
shopify__get_web_pixelThe app's WEB PIXEL on this store (id, settings), or null when none is installed.
shopify__pixel_funnelThe 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_urlA 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_catalogSearch the Shopify store's product catalog (Storefront MCP, anonymous): query + optional limit/country/language — returns products with variants + prices
shopify__get_productOne Shopify product's full details (variants, options, prices) by productId from a prior search_catalog
shopify__search_policiesSearch the Shopify store's policies/FAQ (shipping, returns, warranty) via Storefront MCP
shopify__get_cartA 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.

ToolApprovalWhat it does
shopify__mutateApproval settingShopify Admin MUTATION gateway (Admin tier; token needs matching write_* scopes): any GraphQL mutation document — productCreate/productUpdate/productDelete,…
shopify__create_discount_codeApproval settingWrite_discounts): discountCodeBasicCreate, all customers, idempotent 15 min; 50 % off or more…
shopify__update_discount_codeApproval settingWrite_discounts): read first; the approval shows before → after; endsAt now / past or startsAt…
shopify__set_discount_code_statusPerson approvesActivate or deactivate a code discount.
shopify__delete_discount_codePerson approvesDelete a code discount and its redemption history (discountCodeDelete).
shopify__update_inventoryApproval settingADJUST inventory by a DELTA per item and location (inventoryAdjustQuantities with the REQUIRED @idempotent key — the caller's idempotencyKey, else one…
shopify__set_inventoryPerson approvesSET an ABSOLUTE quantity per item and location (inventorySetQuantities, an overwrite — a wrong number oversells or hides stock).
shopify__update_productApproval settingEdit a product (productUpdate), read first.
shopify__update_variant_pricesPerson approvesCatalog repricing): set price and/or compareAtPrice on up to 100 variants of ONE product (productVariantsBulkUpdate), MAJOR units.
shopify__add_product_mediaApproval settingAttach images / videos to a product FROM PUBLIC https URLS Shopify downloads (productCreateMedia).
shopify__create_web_pixelApproval settingInstall the Agent Planners CUSTOMER EVENTS PIXEL on this store (webPixelCreate).
shopify__update_web_pixelApproval settingChange the app's web pixel settings (webPixelUpdate), read first.
shopify__delete_web_pixelPerson approvesRemove the app's web pixel from this store (webPixelDelete) — every conversion event it sent stops for every visitor.
shopify__create_automatic_discountApproval settingWrite_discounts): NO code — applies to every matching cart from startsAt; omitted = 24…
shopify__delete_automatic_discountPerson approvesDelete an AUTOMATIC discount (discountAutomaticDelete).
shopify__create_collectionApproval settingCreate 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_collectionApproval settingAdd products to a MANUAL collection (collectionAddProducts).
shopify__remove_products_from_collectionApproval settingRemove 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_collectionPerson approvesDelete a collection (collectionDelete) — it leaves every sales channel and a page an ad or email links to goes dead; the products stay.
shopify__update_cartApproval settingStorefront: 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.

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.
Use the Shopify tools

Run them through the in-app agent, or call them from Claude, ChatGPT, Codex or Cursor over the hosted MCP server.