mcp-shopify-admin
Shopify Admin MCP
英文 | 俄语
A1 Shopify Admin MCP 是一个 MCP 服务器,它通过 Admin GraphQL API 将 AI 应用连接到单个 Shopify 商店。你可以用自然语言询问商品、订单、顾客、库存、折扣和商店数据;助手会使用服务器预置的工具完成操作并展示结果。
每台服务器只连接一个商店。 商店域名和访问令牌来自配置;工具无法切换到其他商店。
16 个专用工具。 读取商店数据、商品、订单、顾客、地点、库存和折扣,并可创建或更新受支持的记录。
GraphQL 失败会被精确暴露。 Shopify 可能在一次失败的 mutation 上返回 HTTP 200。因此服务器会检查
userErrors,并拒绝空或格式错误的 GraphQL 响应。考虑成本的响应。 每个结果都会显示 GraphQL 成本桶:本次请求的成本以及接下来调用时当前可用的点数。
风险可见。 读取是只读的;商品、价格、库存和折扣的有写入是明确的;订单取消和任意 GraphQL 操作被标记为破坏性操作。
从一个只读请求开始:
显示最新的订单和当前有库存的商品。
一分钟看效果
你: 显示最新的订单和当前有库存的商品。
助手: 它会先显示最近的订单(包含状态和金额),再显示商品的价格和库存,不会修改任何数据。
你: 准备一个 20% 折扣、名称为
SUMMER、有效期为两周的折扣码。助手: 显示建议的折扣码、折扣比例、日期和限制,并在创建前请求确认。
你: 确认。
Related MCP server: Shopify Store MCP Server
目录
快速开始
你需要 Node.js 20 或以上版本、一个商店域名(例如 my-store.myshopify.com)和有效的 Shopify Admin API 访问令牌。该服务器接受现有 SHOPIFY_ACCESS_TOKEN 提供的令牌;它不执行 OAuth、客户端凭证交换或令牌刷新。
获取访问权限 并准备好一个有效的 Admin API 访问令牌。
将 MCP 服务器添加到你的 AI 应用中。
从开头尝试发送安全请求。
服务器通过 npx 在本地 over stdio 运行。仅浏览器的 ChatGPT 和 Claude 网页会话无法直接启动本地 stdio 进程。
通过App:
打开 Settings → Plugins → MCP servers。
选择 Add server。
添加
npx -y mcp-shopify-admin@latest,并设置SHOPIFY_STORE_DOMAIN和SHOPIFY_ACCESS_TOKEN。
通过 CLI:
codex mcp add shopify-admin \
--env SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \
--env SHOPIFY_ACCESS_TOKEN=shpat_your_token \
-- npx -y mcp-shopify-admin@latest
codex mcp listclaude mcp add \
--env SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \
--env SHOPIFY_ACCESS_TOKEN=shpat_your_token \
--transport stdio --scope user shopify-admin \
-- npx -y mcp-shopify-admin@latest
claude mcp list打开 Settings → Developer → Edit Config 并添加:
{
"mcpServers": {
"shopify-admin": {
"command": "npx",
"args": ["-y", "mcp-shopify-admin@latest"],
"env": {
"SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_your_token"
}
}
}
}如果 Edit Config 不可用,则在 macOS 上编辑 ~/Library/Application Support/Claude/claude_desktop_config.json,或 Windows 上编辑 %APPDATA%\Claude\claude_desktop_config.json。
将服务器添加到 macOS/Linux 的 ~/.cursor/mcp.json 或 Windows 的 %USERPROFILE%\.cursor\mcp.json:
{
"mcpServers": {
"shopify-admin": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-shopify-admin@latest"],
"env": {
"SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_your_token"
}
}
}
}运行 MCP: Open User Configuration 并添加:
{
"inputs": [
{
"type": "promptString",
"id": "shopify_store_domain",
"description": "Shopify store domain, for example my-store.myshopify.com"
},
{
"type": "promptString",
"id": "shopify_access_token",
"description": "Shopify Admin API access token",
"password": true
}
],
"servers": {
"shopify-admin": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-shopify-admin@latest"],
"env": {
"SHOPIFY_STORE_DOMAIN": "${input:shopify_store_domain}",
"SHOPIFY_ACCESS_TOKEN": "${input:shopify_access_token}"
}
}
}
}然后使用 MCP: List Servers 检查服务器。
你可以让它做什么
查看商店。 显示店铺信息、地点、商品、订单、顾客或折扣。
处理商品。 创建商品草稿、更新商品字段或更改价格变体。
跟踪库存。 查找地点,并设置库存商品的绝对可用数量。
审阅订单。 搜索订单、查看完整订单,或取消有资格取消的订单,并可选择退款和/或补货。
管理折扣。 列出已有折扣或创建基本折扣码。
使用逃生通道。 对于没有专用工具的功能,运行任意 Admin GraphQL 文档。
在 Shopify 中会更改哪些内容?
操作 | 发生什么 | 结果 / 一般情况 |
商店、商品、订单、顾客、地点、折扣 | 读取商店数据 | 只读 |
商品字段或商品价格 | 替换请求中提供的字段 | 更改店面数据 |
库存数量 | 设置绝对可用数量 | 更改商品可用性 |
创建商品或折扣 | 创建新的 Shopify 对象 | 创建数据,无法自动撤销 |
取消订单 | 取消订单,不包含退款和/或补货 | 破坏性且不可恢复 |
| 可运行任意 Admin API 查询或 mutation | 可能具有破坏性 |
该服务器不提供专门用于创建订单、完成订单、编辑客户、创建变体、图片、定向折扣或将商品发布到销售渠道的工具。请仅在理解请求及其 userErrors 响应的情况下使用 graphql_request。
AI 客户端可以在非写入操作之前要求确认,但该行为属于客户端本身。当请求或确认创建、更新、设置或取消时,即可授权相应的服务器操作。
获取访问权限
该服务器目前接受现成的 Admin API 访问令牌;它不会接受客户端 ID 和密钥,也不会刷新过期的令牌。
现有的管理员创建的自定义应用
现有管理员创建的自定义应用可以继续工作,但 Shopify 不再允许在 Shopify 后台创建新的管理员创建自定义应用。如果你正维护着这样的应用:
在 Shopify 后台打开该应用。
确认所需的 Admin API 访问范围,例如
read_products、write_products、read_orders、read_customers、read_locations、write_inventory、read_discounts和write_discounts。如果 Shopify 要求你生成凭据,请重新安装该应用。
将生成的 Admin API 访问令牌用作
SHOPIFY_ACCESS_TOKEN。
参见 Shopify 的 旧版管理员创建的自定义应用文档。
新应用
新的集成请使用 Shopify Dev Dashboard 或 Shopify CLI。Dev Dashboard 应用使用基于 OAuth 的流程。对于你自己 Shopify 组织中的商店,客户端凭据授权 通过客户端 ID 和密钥交换到 24 小时后过期的 Access Token。Token 的获取和刷新,因此请在重启服务器外部进行续期。
将每个 Token 视为密码,切勿提交到 Git。安全建议使用 Shopify 开发商店 进行测试。
配置
变量 | 是否必须 | 说明 |
| 必须* | 永久 store host,例如 |
| 必须* | 现有的 Shopify Admin API 访问令牌。服务器将其放入 |
| 可选 | 季度版本( |
| 可选 | 覆盖完整 |
| 可选 | 每次请求的超时时间;默认: |
| 可选 | 在读取顺序的 |
* SHOPIFY_API_BASE 可将本地测试中的商店域名替换,但实际请求 Shopify 时仍需要 SHOPIFY_ACCESS_TOKEN。
数据、限制和后台任务
GraphQL 成本空间。 当 Shopify 返回
actualQueryCost、currentlyAvailable、maximumAvailable和restoreRate时,每个结果都会反映。在first最多 250 条记录时,比许多小分页要便宜。不对称重试。 对于
THROTTLED和 HTTP 429,会根据 Shopify 报告的时间等待后重试。5xx 和网络错误仅对读取重试;此类失败后不会重新写入操作。订单历史。 超过 60 天的订单需要
read_all_orders范围;没有它,Shopify 不会返回这些订单。没有后台监控。 服务器只有被调用时才工作。如果你的 AI 应用支持定时任务,它可以用周期性地检查订单或库存。
匿名遥测。 服务器会发送安装和使用信息事件,不包含秘密、商店数据、参数或提示。通过
ASKADS_TELEMETRY=0可以为所有 Ask ads MCP 服务器禁用遥测。
技术文档
能力目录 — 每个工具一个任务导向页面。
支持
发现 Bug 或缺少请求的场景?创建 Issue 或在 Telegram 上告诉我们。
# Shopify Admin MCP
英文 | Русский
A1 Shopify Admin MCP 是一个 MCP 服务器,通过 Admin GraphQL API 将 AI 应用连接到某个 Shopify 商店。你可以用自然语言询问商品、订单、顾客、库存、折扣和商店数据;助手会使用服务器现成的工具完成操作并展示结果。
每个服务器只对应一个商店。 商店域名和访问令牌来自配置;工具无法切换到其他商店。
16 个聚焦工具。 可读取商店数据、商品、订单、顾客、地点、库存和折扣,并创建或更新受支持的记录。
GraphQL 失败会被呈现。 Shopify 可能在失败的 mutation 上返回 HTTP 200,所以服务器会检查
userErrors,拒绝空的或格式错误的 GraphQL 响应。响应成本可见。 每个结果都包含 GraphQL 成本信息:本次请求的成本以及当前用于后续调用的可用点数。
风险一目了然。 读取操作是只读的;商品、价格、库存和折扣写入是明确的操作;取消订单和任意 GraphQL 操作会被标记为破坏性操作。
从一个只读请求开始:
显示最新订单和当前有库存的商品。
一分钟了解它能做什么
你: 显示最新订单和当前有库存的商品。
助手: 显示最近的订单及其状态和总额,然后显示商品及其价格和库存。不更改任何内容。
你: 准备一个为期两周、名称为
SUMMER的 20% 折扣码。助手: 显示建议的码、折扣比例、日期和限制,并请求确认后再创建。
你: 确认。
目录
快速开始
你需要 Node.js 20+、一个诸如 my-store.myshopify.com 的商店域名,以及有效的 Shopify Admin API 访问令牌。本服务器通过 SHOPIFY_ACCESS_TOKEN 接收现成令牌;它不执行 OAuth、客户端凭证交换或令牌刷新。
获取访问权限,准备一个有效的 Admin API 访问令牌。
将 MCP 服务器添加到你的 AI 应用中。
尝试首页开头的安全请求。
服务器通过 npx 在本地以 stdio 方式运行。仅限浏览器的 ChatGPT 和 Claude 网页会话无法直接启动本地 stdio 进程。
通过应用:
打开 Settings → Plugins → MCP servers。
选择 Add server。
添加
npx -y mcp-shopify-admin@latest,并设置SHOPIFY_STORE_DOMAIN和SHOPIFY_ACCESS_TOKEN。
通过 CLI:
codex mcp add shopify-admin \
--env SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \
--env SHOPIFY_ACCESS_TOKEN=shpat_your_token \
-- npx -y mcp-shopify-admin@latest
codex mcp listclaude mcp add \
--env SHOPIFY_STORE_DOMAIN=my-store.myshopify.com \
--env SHOPIFY_ACCESS_TOKEN=shpat_your_token \
--transport stdio --scope user shopify-admin \
-- npx -y mcp-shopify-admin@latest
claude mcp list打开 Settings → Developer → Edit Config 并添加:
{
"mcpServers": {
"shopify-admin": {
"command": "npx",
"args": ["-y", "mcp-shopify-admin@latest"],
"env": {
"SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_your_token"
}
}
}
}如果 Edit Config 不可用,则在 macOS 上编辑 ~/Library/Application Support/Claude/claude_desktop_config.json,或在 Windows 上编辑 %APPDATA%\Claude\claude_desktop_config.json。
将此服务器添加到 macOS/Linux 上的 ~/.cursor/mcp.json 或 Windows 上的 %USERPROFILE%\.cursor\mcp.json:
{
"mcpServers": {
"shopify-admin": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-shopify-admin@latest"],
"env": {
"SHOPIFY_STORE_DOMAIN": "my-store.myshopify.com",
"SHOPIFY_ACCESS_TOKEN": "shpat_your_token"
}
}
}
}运行 MCP: Open User Configuration 并添加:
{
"inputs": [
{
"type": "promptString",
"id": "shopify_store_domain",
"description": "Shopify store domain, for example my-store.myshopify.com"
},
{
"type": "promptString",
"id": "shopify_access_token",
"description": "Shopify Admin API access token",
"password": true
}
],
"servers": {
"shopify-admin": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-shopify-admin@latest"],
"env": {
"SHOPIFY_STORE_DOMAIN": "${input:shopify_store_domain}",
"SHOPIFY_ACCESS_TOKEN": "${input:shopify_access_token}"
}
}
}
}然后使用 MCP: List Servers 检查服务器。
你可以让它做什么
检查商店。 显示商店详情、地点、商品、订单、顾客或折扣。
处理商品。 创建商品草稿、更新商品字段或更改商品变体价格。
跟踪库存。 查找地点,并为库存商品设置绝对的可用数量。
查看订单。 搜索订单、查看完整订单,或取消符合条件的订单,并提供明确的退款和补货选择。
管理折扣。 列出已有折扣或创建基础折扣码。
使用后门方案。 对没有专用工具的功能,运行任意 Admin GraphQL 文档。
Available Tools
16 toolscancel_orderОтменить заказADestructive
НЕОБРАТИМО отменяет заказ. Два решения обязательны и не имеют значений по умолчанию: refund — вернуть ли деньги покупателю, restock — вернуть ли позиции на склад. notifyCustomer управляет письмом покупателю. Отмена выполняется фоновой задачей: в ответе job, а не обновлённый заказ — итог стоит проверить через get_order. Уже выданный (fulfilled) заказ Shopify отменить не даст — это придёт ошибкой userErrors. Расформировать отмену нельзя; частичные возвраты этот инструмент не делает.
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Причина отмены: CUSTOMER (просьба покупателя), DECLINED (платёж отклонён), FRAUD, INVENTORY (нет товара), STAFF (ошибка персонала), OTHER. | |
| refund | Yes | Вернуть ли платёж покупателю. Обязательное решение. | |
| orderId | Yes | Id заказа: число или gid://shopify/Order/<id>. | |
| restock | Yes | Вернуть ли позиции заказа на склад. Обязательное решение. | |
| staffNote | No | Внутренняя заметка к отмене (покупателю не видна). | |
| notifyCustomer | No | Отправить ли покупателю письмо об отмене. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the destructiveHint annotation, the description reveals that cancellation is irreversible, runs as a background task returning a job id rather than the updated order, and may fail with userErrors for fulfilled orders. It also discloses that cancellation cannot be undone and has no partial-return capability. This is rich behavioral context that annotations alone do not provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact, front-loaded with the most critical fact (irreversible), and every sentence carries essential operational or behavioral information. There is no filler or repetition of obvious schema details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description properly explains the asynchronous job response and directs the agent to verify via get_order. It covers required decisions, customer notification, failure modes, and unsupported scenarios. For a destructive tool with six parameters, this is a complete and actionable description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds value by highlighting that refund and restock are mandatory decisions with no defaults, and that notifyCustomer controls the customer email. This goes beyond simply restating the schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description opens with 'НЕОБРАТИМО отменяет заказ' — a specific verb and resource that clearly identifies the action. It further distinguishes itself from sibling read tools like get_order by focusing on the irreversible mutation, and from any partial-refund tool by explicitly stating partial returns are not supported.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear usage context: both refund and restock decisions are mandatory, cancellation is asynchronous, and the result must be verified via get_order. It also states exclusions — fulfilled orders cannot be cancelled and partial returns are not possible — though it does not explicitly name an alternative tool for those cases.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_basic_discountСоздать промокодA
Создаёт базовую промокодную скидку: один код, процент (percentage, доля 0..1: 0.2 = −20%) ИЛИ фиксированная сумма (amount в валюте магазина) — ровно одно из двух, для всех клиентов на все товары. startsAt по умолчанию — сейчас, то есть код начинает действовать немедленно; отложенный запуск задаётся явным startsAt. usageLimit — общий лимит применений, appliesOncePerCustomer — не больше раза на клиента. Скидки на отдельные коллекции/сегменты, BXGY и бесплатная доставка здесь не создаются (graphql_request), выключение скидки — тоже. Повторный вызов с тем же кодом провалится userErrors: код должен быть уникален.
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Промокод, который вводит покупатель, например BLACKFRIDAY. Уникален в магазине. | |
| title | Yes | Внутреннее название скидки (видно в админке). | |
| amount | No | Фиксированная сумма скидки в валюте магазина, например "500.00". | |
| endsAt | No | Конец действия, ISO-8601. Без него скидка бессрочная. | |
| startsAt | No | Начало действия, ISO-8601. По умолчанию — немедленно. | |
| percentage | No | Доля скидки 0..1 (0.2 = −20%). Ровно одно из percentage/amount. | |
| usageLimit | No | Общий лимит применений кода. | |
| appliesOncePerCustomer | No | Не больше одного применения на клиента. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false, openWorldHint=true), the description discloses meaningful behavioral traits: startsAt defaults to now so the code activates immediately, a repeat call with the same code fails via userErrors because codes must be unique, and only one of percentage/amount is accepted. These failure modes and default behaviors are exactly what an agent needs to anticipate outcomes. The description is consistent with the annotations — no contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Four dense sentences with a logical progression: what is created and its constraints, default timing, limit semantics, then boundaries and failure mode. Every sentence earns its place and the core purpose is front-loaded. It is on the longer side, and the usageLimit/appliesOncePerCustomer sentence partially duplicates the schema descriptions, but there is no filler or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For an 8-parameter mutation tool with no output schema, the description covers the essential operational context: scope, exclusivity constraint, default behavior, failure mode (userErrors on duplicate code), and scope boundaries. The main gap is that it does not describe the success return value or shape; however, the userErrors mention hints at the response contract, and the failure disclosure is the more critical information for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds value beyond the schema by elevating the mutual-exclusivity constraint between percentage and amount to a top-level rule, giving a concrete interpretation example (0.2 = −20%), and clarifying that an omitted startsAt means immediate activation. The mentions of usageLimit and appliesOncePerCustomer largely paraphrase the schema, but the exclusivity and timing semantics are genuine additions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb+resource — 'Создаёт базовую промокодную скидку' (creates a basic promo-code discount) — and then precisely defines the boundaries of 'basic': one code, all customers, all products, with exactly one of percentage/amount. It distinguishes itself from the sibling graphql_request by explicitly listing what this tool does NOT create (collection/segment discounts, BXGY, free shipping, disabling discounts), so an agent can disambiguate without inspecting other tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when not to use this tool and names the alternative: discounts on individual collections/segments, BXGY, free shipping, and disabling a discount are not created here — for those, use graphql_request. It also states the hard usage rule 'ровно одно из двух' (exactly one of percentage/amount) and the uniqueness constraint, leaving no ambiguity about preconditions or routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_productСоздать товарA
Создаёт товар и возвращает его с дефолтным вариантом, который Shopify добавляет сам. Товар НЕ появляется на витрине: созданные через API товары не опубликованы ни в одном канале продаж, и публикация делается отдельной операцией publishablePublish (её здесь нет — только через graphql_request). Статус по умолчанию — ACTIVE, но это не публикация: status: "DRAFT" дополнительно помечает товар черновиком. Цена задаётся следующим вызовом update_variant по id созданного дефолтного варианта (он есть в ответе). Варианты, изображения и остатки этот инструмент не создаёт. Повторный вызов создаст второй такой же товар. Провал приходит как ошибка с userErrors — HTTP-статус Shopify всегда 200.
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Теги. | |
| title | Yes | Название товара. | |
| status | No | ACTIVE (по умолчанию; товар всё равно не опубликован в каналах продаж) | DRAFT (черновик) | ARCHIVED. | |
| vendor | No | Вендор/бренд. | |
| productType | No | Тип товара в свободной форме. | |
| descriptionHtml | No | Описание в HTML. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations, the description discloses substantial behavioral traits: products are not published to any sales channel, ACTIVE status does not mean published, DRAFT marks a draft, failures come as userErrors with HTTP 200, and the default variant is included in the response. None of this contradicts the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is dense but every sentence adds critical operational knowledge. It front-loads the core behavior and then systematically covers publication, status, pricing, limitations, idempotency, and error handling with no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a create operation with no output schema, the description covers all essential context: what is returned, how to proceed with pricing, how to publish, what is not created, duplicate behavior, and the unusual HTTP 200 error pattern. An agent has enough information to invoke the tool correctly and handle next steps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds meaningful semantics beyond the schema, especially around status: ACTIVE is default but still unpublished, and DRAFT additionally marks the product as a draft. It also clarifies that the price is not set through this call but via a subsequent update_variant call.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool creates a product and returns it with the default Shopify-created variant. It also explicitly separates this tool from related operations by noting it does not publish, set prices, or create variants/images/inventory, which distinguishes it from siblings like update_variant and graphql_request.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit when-not-to-use and alternative guidance: publishing must be done via graphql_request, pricing via update_variant, and variants/images/stock are not handled here. It also warns that repeated calls create duplicate products, which is critical usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_customerКарточка клиентаARead-onlyIdempotent
Возвращает одного клиента целиком: контакты, адреса, заметку, теги и его 10 последних заказов с суммами. Принимает числовой id или gid://shopify/Customer/; клиент по email ищется через list_customers с query "email:...". Несуществующий клиент — это data: null, а не ошибка.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id клиента: число или gid://shopify/Customer/<id>. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false. The description adds meaningful behavioral context beyond those: what exact data is returned (including the 10 orders), accepted identifier formats, and the non-error behavior for non-existent customers (data: null). This fully discloses the operational traits an agent needs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two well-structured sentences. The first sentence fronts the primary return value; the second covers input formats and an important edge case. Every clause earns its place, and there is no redundant filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter read-only tool, the description is complete: it specifies the resource, the response contents, accepted input formats, the null behavior for missing entities, and directs email lookups elsewhere. No output schema exists, but the description adequately covers the return shape. Annotations cover safety and idempotence. Nothing critical is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description essentially repeats the schema's id format ('numeric id or gid://shopify/Customer/<id>') without adding new parameter-level meaning. The email routing comment is usage guidance rather than parameter semantics, so no credit above baseline is warranted.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb and resource: returns a single customer with a defined set of fields (contacts, addresses, note, tags, last 10 orders). It distinguishes itself from list_customers by explicitly noting that email-based lookup belongs to that sibling. The purpose is immediately recognizable and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit usage guidance: use this tool for fetching by numeric id or gid, and route email lookups to list_customers with a specific query format. This gives the agent clear conditions for selecting the correct tool among siblings and excludes a common misinvocation pattern.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_orderКарточка заказаARead-onlyIdempotent
Возвращает один заказ целиком: позиции (до 100), суммы (итог, доставка, возвраты), адрес доставки, заметку, теги, отгрузки с трек-номерами. Принимает числовой id или gid://shopify/Order/ — id, не «номер» вида #1001 (номер ищется через list_orders с query "name:#1001"). Несуществующий заказ — это data: null, а не ошибка.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id заказа: число или gid://shopify/Order/<id> (не номер #1001). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false. The description goes beyond these by disclosing that a non-existent order returns data:null rather than an error, and that item lists are capped at 100 entries. These are meaningful behavioral facts not captured by annotations or schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is one dense paragraph with every sentence carrying essential information: return contents, accepted id forms, the #1001 distinction with a routing instruction, and the not-found behavior. Nothing is redundant or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With one parameter fully documented in the schema, no output schema to rely on, and annotations covering the safety profile, the description provides the needed return-shape details, id-format nuance, and error semantics. An agent has everything necessary to invoke and interpret this tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already provides 100% coverage for the single id parameter, including the exact same guidance about numeric id vs gid:// vs #1001. The description repeats this but does not add additional parameter-level semantics beyond what the schema already states, so it stays at the baseline for full schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: returns one complete order. It enumerates the concrete contents (items, totals, address, note, tags, shipments with tracking numbers), which makes the tool's scope immediately clear and distinguishes it from list_orders and other sibling tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly explains when this tool is appropriate, including the id format accepted, and directly routes the agent to list_orders with query "name:#1001" when only the order number is available. This is clear usage guidance with an explicit alternative.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_productКарточка товараARead-onlyIdempotent
Возвращает один товар целиком: описание (HTML), опции, до 100 вариантов с ценами, остатками, SKU и id inventoryItem (этот id нужен инструменту set_inventory). Принимает числовой id или gid://shopify/Product/. Несуществующий товар — это data: null, а не ошибка. Медиафайлы и метаполя не возвращает — за ними graphql_request.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id товара: число или gid://shopify/Product/<id>. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark this as read-only, idempotent, and non-destructive, but the description adds valuable non-obvious behavior: a non-existent product returns data: null rather than an error, the response caps at 100 variants, and media/metafields are deliberately excluded. This goes well beyond the annotations and helps the agent set correct expectations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three dense sentences with no filler: the main return contents are front-loaded, followed by id format, null behavior, and exclusions. Every sentence adds necessary information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-product read tool with no output schema, the description is complete enough to invoke safely: it covers return contents, limits, id formats, error semantics, and what to use instead for missing data. No critical operational detail is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already fully documents the single id parameter, including that it can be a numeric id or a gid://shopify/Product/<id>. The description does not add new parameter meaning beyond restating what the schema provides, so schema coverage carries the weight.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb and resource ('Возвращает один товар целиком') and clearly enumerates what is included: description HTML, options, up to 100 variants with prices, stock, SKUs, and inventoryItem id. It also differentiates itself from list_products by focusing on a single full product, and explicitly says media/metafields are not returned.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly implies this is the tool to fetch one complete product, and it gives an explicit exclusion: media files and metafields are not returned, and for those the agent should use graphql_request. It does not explicitly contrast with list_products, but the single-item scope and the alternative routing for omitted data provide solid usage guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_shopДанные магазинаARead-onlyIdempotent
Возвращает магазин, к которому привязан сервер: название, myshopifyDomain, основной домен витрины, валюту, тариф (plan), контактный email, часовой пояс, число товаров и список локаций (id локаций нужны инструменту set_inventory). Аргументов не принимает — магазин задан в SHOPIFY_STORE_DOMAIN и не выбирается для отдельного вызова. Как и у всех инструментов здесь, в ответе есть cost: состояние cost-бакета GraphQL (actualQueryCost — сколько стоил запрос, currentlyAvailable/maximumAvailable — остаток и размер бакета, restoreRate — восстановление в секунду).
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare the tool read-only, idempotent, and non-destructive. The description adds useful behavior beyond that: the shop is fixed by an environment variable, and every response includes GraphQL cost-bucket details with field-level explanations. This gives the agent a clear model of what to expect.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the main return value and its fields, then explains input constraints, then covers the shared cost-bucket behavior. Every sentence adds distinct value, and the structure is easy to scan.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Since there is no output schema, the description carries the responsibility of explaining what the response contains, and it does so thoroughly: store name, domain, currency, plan, email, timezone, product count, and locations. It also explains the no-input contract and the cost fields, so an agent has enough information to call and interpret the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and the schema already communicates that perfectly. The description reinforces this with 'Аргументов не принимает' and explains why no shop argument is needed, which is useful context for an agent that might otherwise look for a shop selector parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Возвращает') and names a concrete resource: the shop bound to the server, including its domain, currency, plan, and locations. This clearly distinguishes get_shop from sibling tools like get_product and list_orders, and the no-argument behavior is stated explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains that the tool takes no arguments and that the shop is determined by SHOPIFY_STORE_DOMAIN, so an agent knows when it can call this tool. It also connects the returned location IDs to set_inventory, giving a concrete downstream use case. It does not explicitly discuss alternatives or exclusions, but none are really needed for this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
graphql_requestПроизвольный GraphQL-запросADestructive
Выполняет произвольный GraphQL-документ против Admin API магазина — для всего, чему нет отдельного инструмента (метаполя, медиа, коллекции, вебхуки, сегменты, bulk-операции). Токен, магазин и версию API подставляет сервер; переменные — через variables. Помечен destructive, потому что документ может быть мутацией; query безопасен. ВАЖНО: у мутаций Shopify HTTP 200 не значит успех — реальный вердикт в userErrors внутри data, и здесь он возвращается как есть, без интерпретации: поле userErrors нужно проверить самому. Ретраев для мутаций нет (повтор мог бы применить изменение дважды) — вид операции определяется разбором документа, поэтому мутация с фрагментом перед ней тоже не повторяется; THROTTLED повторяется сам после паузы. Стоимость запроса видна в cost ответа — глубокие вложенные выборки стоят дорого, а дороже 1000 очков запрос отклоняется валидатором Shopify.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GraphQL-документ, например "query { shop { name } }" или мутация. | |
| variables | No | Переменные документа, объект JSON. | |
| operationName | No | Имя операции — обязательно, если документ содержит больше одной; без него сервер GraphQL не знает, какую выполнять. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description goes far beyond the annotations. It explains why destructiveHint is set (documents may be mutations), warns that HTTP 200 does not mean success for mutations (userErrors must be checked), discloses that mutations are not retried to avoid double application, that THROTTLED is auto-retried, and that the cost is returned in the response with a 1000-point limit. These are critical behaviors not visible in annotations or schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is dense but each sentence earns its place. It front-loads the core purpose and usage, then flows logically through the destructive annotation, userErrors caveat, retry semantics, and cost limits. No redundant or vague content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex, open-world GraphQL tool with no output schema, the description provides all essential context: purpose, auth (token/shop/API version inserted by server), error interpretation (userErrors), retries, and cost. An agent has enough to call it correctly and know what to inspect in the response.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all three parameters. The description restates that variables are passed via 'variables' and implies queries are safe, but adds no substantive meaning beyond the schema's property descriptions. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action (executes an arbitrary GraphQL document against the Admin API) and explicitly clarifies it's the catch-all for operations lacking a dedicated tool, listing examples. This distinguishes it from the sibling tools (e.g., get_product, create_product) 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.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says to use this tool for everything that does not have a separate tool, providing examples like metafields, media, collections. This is a clear when-to-use instruction and implies using dedicated siblings when they exist. It also adds operational cautions about mutation vs query and retry behavior.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_customersСписок клиентовARead-onlyIdempotent
Возвращает страницу клиентов (имя, email, телефон, число заказов, потраченная сумма, город) плюс count — число клиентов под тем же фильтром. Пагинация курсорная: hasNextPage/endCursor в ответе, следующий вызов передаёт endCursor в after. query — строка поиска Shopify: "email:ivan@example.com", "phone:+79001234567", "state:enabled", "created_at:>=2026-01-01". Клиентов не создаёт и не меняет — записи с персональными данными изменяются только через graphql_request. Нужен scope read_customers.
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | endCursor предыдущей страницы — продолжить с него. | |
| first | No | Размер страницы, 1..250. По умолчанию 20. | |
| query | No | Строка поиска Shopify: "email:ivan@example.com", "state:enabled", "created_at:>=2026-01-01". |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint and destructiveHint, but the description goes well beyond them: it guarantees no creation or mutation, names graphql_request as the only mutation path for personal data, discloses the required OAuth scope, and explains the cursor-based pagination contract (hasNextPage/endCursor → after). This is exactly the kind of behavioral context an agent needs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three dense sentences, each earning its place: return shape, pagination protocol, and safety/scope. The most important information is front-loaded and there is no filler or repetition of obvious facts.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a paginated list tool with query-filter syntax and no output schema, the description covers all essentials: page contents, count semantics, cursor mechanics, query examples, side-effect guarantees, and required scope. An agent can invoke this tool correctly without needing to inspect the schema or sibling tools.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents all three parameters. The description still adds value by explaining the pagination round-trip (response endCursor becomes the next call's after) and by illustrating the query field syntax. This goes slightly beyond the static parameter descriptions, which warrants a 4 rather than a baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Возвращает страницу клиентов' plus the exact fields returned (name, email, phone, order count, total spent, city). This clearly distinguishes it from get_customer (which fetches a single customer) and from list_products/list_orders. No ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives concrete usage context: cursor pagination flow, query string formats, and the read_customers scope requirement. It also explicitly states this tool does not create or modify customers and that modifications go through graphql_request. It does not explicitly say 'use get_customer for a single customer', but the list-vs-get distinction is strongly implied by the sibling names.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_discountsСписок скидокARead-onlyIdempotent
Возвращает страницу скидок магазина — промокодных и автоматических: тип (__typename), название, статус, период действия, лимит использований, для кодовых — до 5 кодов и счётчик применений. Пагинация курсорная (hasNextPage/endCursor → after). query — строка поиска Shopify: "status:active", "type:code", "title:BLACKFRIDAY". Ничего не создаёт и не выключает.
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | endCursor предыдущей страницы — продолжить с него. | |
| first | No | Размер страницы, 1..250. По умолчанию 20. | |
| query | No | Строка поиска Shopify: "status:active", "type:code", "title:BLACKFRIDAY". |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false. The description adds behavioral detail beyond annotations by explaining pagination mechanics, exposing that code discounts include up to 5 codes and an application counter, and reiterating safety. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and well-ordered: purpose, return fields, pagination, query syntax, and safety note. Every clause contributes meaningful information without redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description compensates by listing the returned fields and pagination contract. All three optional parameters are fully covered by the schema and reinforced by the description, making the definition complete for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds value by illustrating real query strings and mapping endCursor to the 'after' parameter, which gives practical meaning beyond the schema definitions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb+resource ('Возвращает страницу скидок магазина') and enumerates the returned fields, making the tool's purpose explicit. It also distinguishes itself from mutation siblings by stating it creates and disables nothing, which differentiates it from create_basic_discount.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides concrete usage context: Shopify query syntax examples, cursor-based pagination instructions, and a clear read-only scope. It does not explicitly name an alternative or when-not-to-use case, but the context is unambiguous enough for correct selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_locationsСписок локацийARead-onlyIdempotent
Возвращает локации магазина (склады и точки), включая неактивные: id, название, адрес, активность, выполняет ли онлайн-заказы. Именно id локации нужен инструменту set_inventory. У большинства магазинов локаций одна-две, так что страницы по умолчанию хватает.
| Name | Required | Description | Default |
|---|---|---|---|
| first | No | Размер страницы, 1..250. По умолчанию 20. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint=true and idempotentHint=true, but the description adds meaningful behavioral context: it includes inactive locations, and it spells out the attributes returned. The note about typical store size and default pagination is also useful behavioral information. No contradiction exists between description and annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is exactly two sentences, front-loaded with the main purpose and fields, followed by the set_inventory wiring and pagination advice. Every sentence earns its place, with no filler or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only list tool with one optional parameter, no output schema, and annotations covering the safety profile, the description is complete. It tells the agent what the tool returns (including inactive items), which fields are present, how it relates to set_inventory, and that the default page size usually suffices. Nothing essential is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already covers the 'first' parameter fully (integer, 1..250, default 20), so the baseline is 3. The description adds value by stating that the default page size is enough for most stores, providing practical guidance on parameter usage beyond the schema's formal constraints.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Возвращает' with a clear resource 'локации магазина', and enumerates the returned fields (id, название, адрес, активность, выполняет ли онлайн-заказы). It also distinguishes itself by explaining that its id is needed by set_inventory, which clearly separates it from other list tools like list_products or list_orders.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives an explicit use case: use this tool to obtain the location id for set_inventory. It also notes that most stores have only one or two locations, so the default page size is sufficient. However, it does not explicitly name alternatives or state when not to use this tool, so it falls just short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_ordersСписок заказовARead-onlyIdempotent
Возвращает страницу заказов, новые первыми (номер, дата, финансовый статус, статус выдачи, сумма, клиент) плюс count под тем же фильтром. Пагинация курсорная: hasNextPage/endCursor в ответе, следующий вызов передаёт endCursor в after. query — строка поиска Shopify: "financial_status:pending", "fulfillment_status:unfulfilled", "created_at:>=2026-08-01", "email:ivan@example.com". Нужен scope read_orders; заказы старше 60 дней требуют ещё read_all_orders — без него они просто не приходят.
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | endCursor предыдущей страницы — продолжить с него. | |
| first | No | Размер страницы, 1..250. По умолчанию 20. | |
| query | No | Строка поиска Shopify: "financial_status:paid", "fulfillment_status:unfulfilled", "created_at:>=2026-08-01". |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations (readOnly, idempotent, non-destructive), the description discloses meaningful behaviors: pagination returns hasNextPage/endCursor, a count under the same filter, and the critical caveat that orders older than 60 days are silently omitted without the read_all_orders scope. This is exactly the kind of contextual disclosure an agent needs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Every sentence in the description earns its place: the first states what is returned, the second explains pagination, the third gives query examples, and the fourth covers authorization. It is information-dense without being bloated.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite lacking an output schema, the description tells the agent exactly what to expect: page fields, count, cursor fields, and edge cases like silent omission. It also covers the entire call flow from initial request to next-page continuation, making it complete for an agent to invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already covers all three parameters, and the description adds extra value by explaining that 'after' accepts the endCursor from the previous page and giving rich query string examples for the 'query' parameter. This goes beyond simple schema descriptions, though the coverage means the baseline is already solid.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states the tool returns a page of orders, newest first, with a defined list of fields (number, date, financial status, fulfillment status, amount, client) and a count under the same filter. This clearly distinguishes it from sibling tools like get_order or cancel_order, even without naming them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides detailed usage instructions: cursor pagination flow, query syntax with concrete examples, and required OAuth scopes. It does not explicitly say 'use this instead of get_order for listings', so it lacks direct alternative routing, but the context is unambiguous enough for a listing tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_productsСписок товаровARead-onlyIdempotent
Возвращает страницу товаров магазина (id, название, handle, статус, вендор, тип, теги, общий остаток, до 5 вариантов с ценами) плюс count — число товаров под тем же фильтром. Пагинация курсорная: в ответе pageInfo-поля hasNextPage и endCursor, следующий вызов передаёт endCursor в after; параметра "номер страницы" у Shopify нет. query — строка поиска Shopify, например "status:active", "vendor:Nike created_at:>=2026-01-01", "title:shirt". Страница first до 250 за один вызов дешевле по cost-бакету, чем много мелких страниц.
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | endCursor предыдущей страницы — продолжить с него. | |
| first | No | Размер страницы, 1..250. По умолчанию 20. | |
| query | No | Строка поиска Shopify, как есть: "status:active", "vendor:Nike", "tag:sale", "created_at:>=2026-01-01". |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, and the description is fully consistent with them — no contradiction. Beyond annotations it adds real behavioral value: the response shape (count under the same filter, pageInfo hasNextPage/endCursor), the cursor-continuation dependency across calls, and cost-bucket optimization behavior. The 'Shopify has no page number' note preempts a common misuse.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Four sentences, each earning its place: return shape, pagination mechanics, query syntax, cost guidance. The primary function is front-loaded in the first sentence, and the field enumeration is justified because no output schema exists to carry that information. No filler, no repetition of the title, logically ordered from what → how to paginate → how to filter → how to size.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description correctly compensates by enumerating return fields, count, and pageInfo. Pagination, query filtering, and page sizing are all fully specified, and the annotations carry the safety profile (read-only, idempotent, non-destructive). The only gap is error behavior on invalid queries, which is minor for a read-only list tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema: for 'after' it explains the full pagination loop (response endCursor feeds the next call), and for 'first' it adds cost-bucket sizing guidance absent from the schema. The 'query' examples largely mirror the schema, contributing less incremental value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: 'Возвращает страницу товаров магазина' with an explicit return-field list (id, name, handle, status, vendor, type, tags, total inventory, up to 5 variants with prices) plus count. The page/filter framing distinguishes it from get_product (single resource) and the create/update mutations among siblings. No tautology — the description adds field-level and behavioral detail far beyond the title.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides clear operational context: cursor pagination flow (endCursor from pageInfo → pass to after), the explicit warning that Shopify has no page-number parameter, query string examples ('status:active', 'vendor:Nike created_at:>=2026-01-01'), and page-size guidance (up to 250 per call is cheaper by cost bucket). It does not explicitly route to alternatives like get_product for single-item lookups, so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
set_inventoryЗадать остаткиAIdempotent
Устанавливает АБСОЛЮТНЫЙ доступный остаток (available) позиций на локациях — «стало N», не «изменить на N»: повторный вызов с теми же числами ничего не меняет. Каждый элемент quantities несёт inventoryItemId (id inventoryItem варианта — он в ответе get_product, это НЕ id варианта), locationId (из list_locations) и quantity >= 0. reason — из закрытого словаря Shopify, по умолчанию correction. Историю движений не пишет и резервы не трогает. Провал приходит как ошибка с userErrors — например, если позиция не отслеживается (inventory tracking выключен) или не привязана к локации.
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Причина изменения из словаря Shopify (correction, received, damaged, restock, …). По умолчанию correction. | |
| quantities | Yes | Позиции и их новые абсолютные остатки. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations (idempotentHint, readOnlyHint=false), the description discloses that repeated calls with the same numbers are no-ops, that reservations are untouched, that movement history is not written, and that failures surface as userErrors. This is exactly the kind of behavioral context that helps an agent predict side effects. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three dense, purposeful sentences. The most important semantic distinction (absolute set, not delta) is first, followed by parameter provenance, then behavioral side effects and failure mode. There is zero redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-parameter mutation with no output schema, the description covers the operation's core semantics, required parameter sources, default values, side effects, and error behavior. The failure examples (untracked items, unlinked locations) are particularly useful for an agent to diagnose errors. Nothing essential is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Although the schema already documents all parameters (100% coverage), the description adds critical semantic clarification: inventoryItemId is the inventoryItem variant id from get_product and explicitly NOT the variant id, locationId comes from list_locations, and reason defaults to correction. This prevents a highly likely misuse of the wrong ID.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Устанавливает АБСОЛЮТНЫЙ доступный остаток позиций на локациях' and explicitly contrasts with incremental changes ('не «изменить на N»'), making it unambiguous and distinct from sibling mutation tools like update_variant. The key nuance of absolute vs delta is front and center.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear operational context: it tells the agent how to source inventoryItemId from get_product and locationId from list_locations, and states the default reason. It also provides implicit exclusions ('Историю движений не пишет и резервы не трогает'), but it does not explicitly name an alternative tool for cases like incremental adjustments or history-writing operations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_productИзменить товарAIdempotent
Перезаписывает переданные поля товара (название, описание, вендор, тип, теги, статус) и не трогает остальные. tags замещают весь список тегов, а не добавляются к нему. Цены и остатки здесь не меняются — цены через update_variant, остатки через set_inventory. status: DRAFT снимает товар с витрины, ARCHIVED архивирует (обратимо — вернуть можно, снова передав ACTIVE). Провал приходит как ошибка с userErrors.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id товара: число или gid://shopify/Product/<id>. | |
| tags | No | Полный новый список тегов (замещает старый). | |
| title | No | Новое название. | |
| status | No | ACTIVE | DRAFT | ARCHIVED. | |
| vendor | No | Новый вендор. | |
| productType | No | Новый тип. | |
| descriptionHtml | No | Новое описание в HTML. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description goes well beyond annotations by disclosing partial-field overwrite semantics, full replacement of tags, the storefront effect of DRAFT, reversibility of ARCHIVED, and that failures surface as userErrors. This gives the agent a detailed operational model without requiring extra inference.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and information-dense: core overwrite behavior first, then tag replacement, exclusions, alternative tools, and status edge cases. Every sentence adds value and there is no repetition or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 7-parameter update tool with no output schema, the description covers what matters for correct invocation: affected fields, nontrivial tag/status behavior, adjacent tool routing, and error handling. Nothing essential is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds meaningful extra semantics by clarifying that tags replace the entire list and by giving real-world consequences for status values, which the schema does not fully communicate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a clear verb and resource: 'Перезаписывает переданные поля товара' and explicitly lists the affected fields. It also distinguishes itself from update_variant and set_inventory by stating that prices and stock are not changed here.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states this tool is for updating product metadata fields and that prices and inventory belong to other tools, naming update_variant and set_inventory as alternatives. It also explains the operational meaning of status values, so an agent knows exactly when and how to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_variantИзменить цены вариантаAIdempotent
Задаёт цену и/или зачёркнутую цену (compareAtPrice) вариантам одного товара — до 250 вариантов за вызов, каждый элемент variants несёт id варианта и новые значения. Суммы — десятичные строки в валюте магазина ("1999.00"); compareAtPrice: null убирает зачёркнутую цену. Больше ничего в варианте не меняет (SKU, штрихкод, опции — через graphql_request). Требуется id товара-родителя: он есть в ответах list_products и get_product. Провал приходит как ошибка с userErrors.
| Name | Required | Description | Default |
|---|---|---|---|
| variants | Yes | Варианты одного товара с новыми ценами. | |
| productId | Yes | Id товара-родителя: число или gid://shopify/Product/<id>. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false/not read-only, destructiveHint=false, and idempotentHint=true. The description adds important context: only price and compareAtPrice are affected, compareAtPrice:null removes the strike-through price, failures arrive as userErrors, and the call is limited to one product. It does not repeat annotation data, and no contradiction exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Every sentence carries distinct information: main function, scope limit, value format, null semantics, exclusions, prerequisite, and error behavior. It is dense but well-structured and does not restate the title or schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers all necessary context for a simple two-parameter write tool: required parent id, variant id format, value format, null handling, limits, and error reporting. With no output schema and 100% schema coverage, nothing essential is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema documents both parameters. The description adds semantic value beyond the schema: amounts are decimal strings in shop currency, compareAtPrice:null clears the old price, and only price fields are changed—not other variant attributes.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Задаёт') with a clear resource: prices and compareAtPrice for variants of one product. It explicitly states what it does NOT change (SKU, barcode, options), which distinguishes it from sibling tools like update_product and graphql_request.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly says when to use this tool (set price/compareAtPrice on variants) and when not to (other variant fields via graphql_request). It also specifies the prerequisite: parent product id from list_products/get_product.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
16 tool updates
v1.0.0- First observed
cancel_order - First observed
create_basic_discount - First observed
create_product - First observed
get_customer - First observed
get_order - First observed
get_product - First observed
get_shop - First observed
graphql_request - First observed
list_customers - First observed
list_discounts - First observed
list_locations - First observed
list_orders - First observed
list_products - First observed
set_inventory - First observed
update_product - First observed
update_variant
TDQS
Scored across 16 tools
Each tool maps to a distinct resource-action pair: get_* for single entities, list_* for collections, create_*/update_* for mutations, and set_inventory for stock. Even the overlap-prone update_product, update_variant, and set_inventory are clearly separated by the data they modify. graphql_request is explicitly a fallback for operations outside the dedicated tools, so it does not create ambiguity.
The overwhelming majority follow verb_noun with underscores: get_shop, list_products, create_product, update_variant, cancel_order, set_inventory. The two deviations are graphql_request (not verb-first) and create_basic_discount (narrower than list_discounts would imply), but both are still readable and predictable in context.
16 tools is slightly above the typical 3-15 sweet spot, but each tool covers a meaningful Shopify Admin resource: shop, products, variants, inventory, orders, customers, locations, and discounts. The count feels justified for a broad domain, especially with graphql_request covering edge cases.
The core lifecycles are well represented: products can be created, listed, fetched, and updated; prices and inventory can be changed; orders can be listed, fetched, and cancelled; customers can be listed and fetched; basic discounts can be created and listed. Gaps like product deletion, variant creation, or discount updates are not first-class but are workable via graphql_request, avoiding dead ends.
Maintenance
Related MCP Connectors
Connect AI to store orders, products and inventory with scoped access and human approvals.
Shopify product discovery and x402-paid offer verification for AI agents.
Manage your NanoCart store from any AI agent: products, orders, coupons, subscribers, reports.
Let your AI manage WooCommerce and Shopify stores: products, SEO, descriptions and images.
Related MCP Servers
- AlicenseDqualityDmaintenanceEnables interaction with Shopify stores through the GraphQL Admin API. Supports product management, customer data, order queries, blog/article management, and store-wide search capabilities through natural language.1511 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with live Shopify stores through Admin and Storefront APIs for tasks like GraphQL execution, bulk operations, and file uploads. It includes built-in rate limiting and operation logging to manage store data and schema discovery securely.28 npm3ISC
- AlicenseAqualityCmaintenanceExposes Shopify Admin API capabilities to LLMs, enabling product, order, customer, and inventory management via natural language.4960 npm1MIT
- AlicenseAqualityCmaintenanceEnables AI agents to read and write Shopify store data including products, orders, customers, inventory, and more via the Admin GraphQL API.2858 npmMIT