mcp-shopify-admin
Shopify Admin MCP
English | Русский
A1 Shopify Admin MCP는 Admin GraphQL API를 통해 AI 애플리케이션을 하나의 Shopify 스토어에 연결합니다. 제품, 주문, 고객, 재고, 할인 및 스토어 데이터에 대해 일상 언어로 질문하세요. 어시스턴트는 서버의 준비된 도구를 사용하여 결과를 표시합니다.
서버당 하나의 스토어. 스토어 도메인과 액세스 토큰은 구성에서 가져옵니다. 도구는 다른 스토어로 전환할 수 없습니다.
16개의 집중된 도구. 스토어 데이터, 제품, 주문, 고객, 위치, 재고 및 할인을 읽고 지원되는 레코드를 생성하거나 업데이트합니다.
GraphQL 오류가 표시됩니다. Shopify는 실패한 뮤테이션에 대해 HTTP 200을 반환할 수 있으므로 서버는
userErrors를 확인하고 비어 있거나 잘못된 GraphQL 응답을 거부합니다.비용 인식 응답. 모든 결과에는 GraphQL 비용 버킷(요청 비용과 다음 호출에 현재 사용 가능한 포인트)이 포함됩니다.
위험이 표시됩니다. 읽기는 읽기 전용입니다. 제품, 가격, 재고 및 할인 쓰기는 명시적입니다. 주문 취소 및 임의 GraphQL은 파괴적인 것으로 표시됩니다.
읽기 전용 요청으로 시작하세요:
최신 주문과 현재 재고가 있는 제품을 보여주세요.
서버 연결 · 사용 사례 살펴보기 · 기술 문서 열기
1분 만에 작동 확인하기
You: 최신 주문과 현재 재고가 있는 제품을 보여주세요.
Assistant: 최근 주문을 상태 및 합계와 함께 표시한 다음 제품을 가격 및 재고와 함께 표시합니다. 변경되는 것은 없습니다.
You: 2주 동안
SUMMER라는 20% 할인 코드를 준비하세요.Assistant: 제안된 코드, 비율, 날짜 및 제한 사항을 표시한 다음 생성하기 전에 확인을 요청합니다.
You: 확인합니다.
Related MCP server: Shopify Store MCP Server
목차
빠른 시작
Node.js 20+, my-store.myshopify.com과 같은 스토어 도메인, 유효한 Shopify Admin API 액세스 토큰이 필요합니다. 이 서버는 SHOPIFY_ACCESS_TOKEN을 통해 사용 준비가 된 토큰을 허용합니다. OAuth, 클라이언트 자격 증명 교환 또는 토큰 새로 고침을 수행하지 않습니다.
액세스 권한 얻기 및 최신 Admin API 액세스 토큰을 준비합니다.
AI 애플리케이션에 MCP 서버를 추가합니다.
시작 섹션의 안전한 요청을 보냅니다.
서버는 npx를 통해 stdio로 로컬에서 실행됩니다. 브라우저 전용 ChatGPT 및 Claude 웹 세션은 로컬 stdio 프로세스를 직접 시작할 수 없습니다.
앱을 통한 방법:
설정 → 플러그인 → MCP 서버를 엽니다.
서버 추가를 선택합니다.
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설정 → 개발자 → 구성 편집을 열고 추가합니다:
{
"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"
}
}
}
}구성 편집을 사용할 수 없으면 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: 사용자 구성 열기를 실행하고 추가합니다:
{
"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: 서버 나열로 서버를 확인합니다.
무엇을 요청할 수 있나요?
스토어 검사. 스토어 세부 정보, 위치, 제품, 주문, 고객 또는 할인을 표시합니다.
제품 작업. 제품 초안을 만들거나, 제품 필드를 업데이트하거나, 변형 가격을 변경합니다.
재고 추적. 위치를 찾고 재고 항목의 절대 사용 가능 수량을 설정합니다.
주문 검토. 주문을 검색하거나, 전체 주문을 검사하거나, 명시적인 환불 및 재입고 선택으로 적격 주문을 취소합니다.
할인 관리. 기존 할인을 나열하거나 기본 코드 할인을 만듭니다.
탈출구 사용. 전용 도구가 없는 기능에 대해 임의의 Admin GraphQL 문서를 실행합니다.
Shopify에서 변경할 수 있는 것
작업 | 결과 | 데이터 경계 |
스토어, 제품, 주문, 고객, 위치, 할인 | 스토어 데이터 읽기 | 읽기 전용 |
제품 필드 또는 변형 가격 | 요청에 제공된 필드를 대체합니다 | 스토어 전면 데이터를 변경합니다 |
재고 수량 | 절대 사용 가능 수량을 설정합니다 | 제품 가용성을 변경합니다 |
제품 또는 할인 생성 | 새 Shopify 개체를 만듭니다 | 데이터를 생성하며 자동으로 취소할 수 없습니다 |
주문 취소 | 주문을 취소하고 환불 및/또는 재입고할 수 있습니다 | 파괴적이며 되돌릴 수 없습니다 |
| 모든 Admin API 쿼리 또는 뮤테이션을 실행할 수 있습니다 | 잠재적으로 파괴적입니다 |
이 서버는 주문 생성, 주문 이행, 고객 쓰기, 변형 생성, 미디어, 타겟 할인 또는 판매 채널에 제품 게시를 위한 전용 도구를 제공하지 않습니다. 문서와 해당 userErrors 응답을 이해하는 경우에만 graphql_request를 사용하세요.
AI 클라이언트는 쓰기 전에 확인을 요청할 수 있지만 확인 동작은 해당 클라이언트의 몫입니다. 생성, 업데이트, 설정 또는 취소에 대한 명확한 요청은 해당 서버 작업을 승인합니다.
액세스 권한 얻기
이 서버는 현재 사용 준비가 된 Admin API 액세스 토큰을 사용합니다. 클라이언트 ID와 시크릿을 허용하지 않으며 만료되는 토큰을 새로 고치지 않습니다.
기존 관리자 생성 사용자 지정 앱
기존 관리자 생성 사용자 지정 앱은 계속 작동하지만 Shopify는 더 이상 Shopify 관리자에서 새 관리자 생성 사용자 지정 앱을 만들 수 없습니다. 이미 유지 관리 중인 경우:
Shopify 관리자에서 앱을 엽니다.
read_products,write_products,read_orders,read_customers,read_locations,write_inventory,read_discounts,write_discounts와 같은 필수 Admin API 액세스 범위를 확인합니다.Shopify에서 자격 증명을 생성하라는 메시지가 표시되면 앱을 설치하거나 다시 설치합니다.
발급된 Admin API 액세스 토큰을
SHOPIFY_ACCESS_TOKEN으로 사용합니다.
Shopify의 레거시 관리자 생성 사용자 지정 앱 문서를 참조하세요.
새 앱
새 통합의 경우 Shopify Dev Dashboard 또는 Shopify CLI를 사용하세요. Dev Dashboard 앱은 OAuth 기반 흐름을 사용합니다. 자체 Shopify 조직의 스토어의 경우 클라이언트 자격 증명 부여는 클라이언트 ID와 시크릿을 24시간 후에 만료되는 액세스 토큰으로 교환합니다. 토큰 획득 및 새로 고침은 이 MCP 서버 외부에 있으므로 서버를 다시 시작하기 전에 외부에서 토큰을 갱신하세요.
모든 토큰을 암호처럼 취급하고 Git에 커밋하지 마세요. 안전한 테스트를 위해 Shopify 개발 스토어를 사용하세요.
구성
변수 | 필수 | 설명 |
| 예* |
|
| 예* | 사용 준비가 된 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 서버에 대해 비활성화합니다.
기술 문서
기능 카탈로그 — 16개 도구 각각에 대한 작업 중심 페이지입니다.
지원
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