OZON MCP
OZON MCP
MCP-сервер с открытым исходным кодом для продавцов Ozon, включающий базу знаний по операционному управлению на китайском языке из 42 уроков и 466 методов API, позволяющий AI-агентам искать опыт ведения бизнеса, вызывать Seller/Performance API и выполнять реальные бизнес-операции.
Содержание
Related MCP server: wildberries-mcp
О проекте
OZON MCP — это сервер MCP, основанный на знаниях и построенный на Model Context Protocol. Он инкапсулирует полную документацию по API Ozon Seller API и Performance API, схемы параметров, правила ограничения частоты запросов и бизнес-процессы в стандартизированные MCP-инструменты, позволяя таким AI-агентам, как Claude, Cursor, Codex, напрямую искать, понимать и вызывать Ozon API.
Какую проблему решает
У открытой платформы Ozon есть два набора API (Seller + Performance), всего более 460 интерфейсов, распределённых по 55 бизнес-модулям. Ручной поиск по документации, сборка запросов, обработка пагинации и ограничений частоты запросов отнимают много времени.
OZON MCP превращает AI-агента в вашего ассистента по работе с Ozon:
Агент может искать методы API на китайском или русском языке, чтобы найти нужный интерфейс
Каждый метод возвращает полностью разобранную JSON-схему, включая параметры запроса, структуру ответа, правила ограничения частоты и известные ошибки
При выполнении операций записи действует многоуровневая защита безопасности, предотвращающая случайные операции
Поддерживается автоматическая пагинация для обхода больших объёмов данных
Встроены 13 отобранных бизнес-процессов, охватывающих анализ риска дефицита, диагностику ценообразования, проверку магазина и другие сценарии
Кому подходит
Продавцам Ozon, которые хотят использовать ИИ для повседневного операционного анализа
Разработчикам инструментов для трансграничной электронной коммерции, которым необходимо интегрировать возможности Ozon в агента
Разработчикам, интересующимся протоколом MCP и желающим узнать о реальных вариантах его внедрения
Ключевые возможности
Обнаружение API и навигация
Инструмент | Функция |
| Выводит список всех модулей API (Seller + Performance), включая количество методов в каждом модуле |
| Полнотекстовый поиск (сортировка BM25), поддержка китайского и русского языков, фильтрация по модулю/API/уровню безопасности |
| Получение полной документации по одному методу: JSON Schema, ограничения, известные проблемы, примеры, связанные методы |
| Вывод списка всех методов в указанном модуле |
Бизнес-процессы
13 отобранных процессов, охватывающих следующие бизнес-категории:
Категория | Примеры процессов |
Заказы | Синхронизация заказов, управление отгрузкой |
Склад | Анализ риска дефицита, диагностика оборачиваемости запасов |
Ценообразование | Анализ индекса цен, сравнение цен конкурентов |
Аналитика | Отчёты о продажах, сводка финансовых данных |
Реклама | Данные рекламных кампаний, анализ эффективности продвижения |
Товары | Массовый запрос информации о товарах, обход дерева категорий |
Каждый процесс включает: последовательность шагов, рекомендации по пагинации/параллелизму, рекомендуемую схему базы данных, известные ошибки и пояснения по интерпретации результатов.
Безопасное выполнение
Инструмент | Функция |
| Выполнение одного вызова API с трёхуровневой защитой (уровень безопасности / права подписки / проверка схемы) |
| Автоматический обход с пагинацией, поддержка 4 режимов (offset / cursor / last_id / page_number) |
Справочная информация
Инструмент | Функция |
| Запрос правил ограничения частоты для метода/модуля/глобально |
| Запрос кодов ошибок Ozon API и решений |
| Получение реальных примеров запросов для метода |
| Просмотр версии встроенной документации API и времени обновления |
| Поиск других методов, связанных с указанным |
Права подписки
Инструмент | Функция |
| Вывод списка методов, доступных только при указанном уровне подписки |
| Запрос уровня подписки текущей учётной записи |
Примечание: текущая версия — это сервер знаний — все инструменты обнаружения, поиска, справки и рабочих процессов работают даже без настройки учётных данных API. Учётные данные требуются только для выполнения реальных вызовов API.
Обзор методов API
Проект включает полный каталог на китайском языке из 466 методов Ozon API (methods_catalog.md), охватывающий все сферы бизнеса продавцов Ozon:
Бизнес-сфера | Содержимое |
Управление товарами | Загрузка и обновление товаров, атрибуты категорий, экономичные товары, цифровые товары, цена и остатки |
Заказы и логистика | Запрос и отмена заказов, доставка FBO/FBS/rFBS, отслеживание посылок, возвраты, зоны доставки |
Склады и поставки | Управление складами FBS, заявки на поставку FBO, FBP прямая доставка/пункты выдачи/самовывоз |
Финансы и отчёты | Финансовые отчёты (реализация/комиссии/возвраты), аналитические отчёты (трафик/поиск/конверсия), рейтинг продавца |
Маркетинг и цены | Стратегии ценообразования, акции Ozon, собственные акции продавца, промоакции и продвижение |
Обслуживание клиентов | Чат с покупателями, управление отзывами, вопросы и ответы, push-уведомления |
Аккаунт и аутентификация | Управление ключами API, сертификация бренда, сертификаты качества, информация о магазине |
После подключения агент может искать на китайском языке (например, «запросить список заказов», «массово обновить остатки»), используя карточки-каталоги с китайскими описаниями, чтобы быстро найти нужный API и выполнить вызов. Для каждого метода указаны HTTP-метод, путь интерфейса, уровень безопасности и требования к подписке, поэтому агент может сразу определить, требуется ли подтверждение на запись или права повышенной подписки.
База знаний по ведению бизнеса на Ozon на китайском языке
Проект включает полную базу знаний по ведению бизнеса на Ozon на китайском языке, составленную на основе 42 уроков по электронной коммерции Ozon и содержащую 610 доступных для поиска фрагментов знаний. Агент может искать на китайском языке с помощью естественного языка, быстро находя опыт ведения бизнеса, операционные процедуры и руководства по предотвращению ошибок.
Обзор базы знаний
Параметр | Содержимое |
Количество курсов | 42 урока |
Фрагменты знаний | 610 шт. |
Язык | Упрощённый китайский |
Тип источника | Опыт ведения бизнеса из курсов |
Поисковый движок | Локальный BM25 |
Китайский поиск | Бинарная/тернарная сегментация + защита бизнес-терминов |
База данных | Не требуется |
Embedding | Не требуется |
Внешние сервисы | Не требуются |
Охватываемые темы
База знаний охватывает весь путь продавца Ozon — от открытия магазина до послепродажного обслуживания:
Модели ведения бизнеса на платформе (торговля по чужой цене, точечная торговля, массовая торговля, дропшиппинг)
Четыре модели исполнения: FBS, FBO, FBP, rFBS
Регистрация магазина и расчёт международной стоимости доставки
Настройка склада и логистики
Методы выбора товара и создание пула товаров
Проверка веса и габаритов товара
Подробный обзор панели продавца
Оптимизация карточки товара и создание главного изображения
Стратегии ценообразования и расчёт рентабельности
Продвижение и рекламные кампании
Процесс выполнения заказа и отгрузки
Обработка возвратов и нестандартных заказов
Операционные риски и предотвращение блокировки магазина
MCP-инструменты базы знаний
Инструмент | Назначение | Основные параметры |
| Поиск по базе знаний |
|
| Чтение полного фрагмента знаний |
|
| Просмотр содержания курса |
|
Рекомендуемая последовательность вызовов: сначала поиск → выбор chunk_id → чтение полного доказательства → формирование ответа.
Процесс вызова агента
graph TD
A[客户提问] --> B{运营知识问题?}
B -->|是| C[ozon_search_operations_knowledge]
B -->|API数据问题| F[ozon_search_methods]
C --> D[选择1-3个chunk_id]
D --> E[ozon_get_operations_knowledge]
E --> G{需要当前数据?}
F --> G
G -->|是| H[ozon_call_method / ozon_fetch_all]
G -->|否| I[组织回答]
H --> I
I --> J[标注来源与时效风险]Примеры вызовов
«Что новичку делать в первую очередь: торговать по чужой цене или точечно?»
Агент сначала вызывает ozon_search_operations_knowledge({"query": "新手先做跟卖还是精铺"}), получает релевантные фрагменты, затем вызывает ozon_get_operations_knowledge для чтения полного доказательства и на основе содержания курса объясняет преимущества, недостатки и условия применимости обеих моделей.
«Что такое логистический посредник, и каков полный процесс доставки rFBS?»
Агент ищет "货代 rFBS 发货流程", получает релевантные фрагменты из урока 01 и, опираясь на содержание курса, объясняет концепцию логистического посредника и полный путь rFBS от заказа до получения.
«Как провести дифференциацию при точечной торговле?»
Агент ищет "精铺差异化", получает из урока 02 полные доказательства стратегии дифференциации при выборе товаров для точечной торговли, а ответ включает оптимизацию карточки товара, дифференциацию главного изображения, стратегии ценообразования и другие аспекты.
«Как настроить склад и логистику Ozon?»
Агент ищет "仓库物流设置", получает из урока 06 подробные шаги по настройке склада и меры предосторожности.
«Как проверить вес товара перед размещением?»
Агент ищет "上架前核实重量", получает из урока 07 методы проверки веса и типичные ошибки.
«Что проверить в первую очередь, если у товара нет показов?»
Агент ищет "商品没有曝光", получает диагностические соображения по карточке товара, ценообразованию, позициям в поиске и другим связанным фрагментам.
Границы ответов
Важное примечание:
Знания из курсов — это обобщение опыта ведения бизнеса и не являются действующими официальными правилами Ozon
Комиссии, тарифы, сроки доставки, запрещённые товары, штрафы, реклама и политика возвратов могут меняться в любое время
Для фрагментов с
verification_required=trueнеобходимо напомнить клиенту перепроверить актуальные официальные материалыПри работе с реальными данными магазина, заказов, остатков, товаров, финансов или рекламы клиента обязательно вызывать реальный Ozon API
Если в базе знаний нет информации по запросу, нельзя её выдумывать
Обновление базы знаний
При будущем обновлении операционных знаний замените следующие файлы:
src/ozon_mcp/operations_knowledge/data/manifest.yamlsrc/ozon_mcp/operations_knowledge/data/chunks.jsonlsrc/ozon_mcp/operations_knowledge/data/topics.jsonsrc/ozon_mcp/operations_knowledge/data/ozon_operations_knowledge.md
Затем выполните проверку:
uv run python scripts/validate_operations_knowledge.py
uv run pytestСценарии использования
Сценарий 1: Запрос заказов, ожидающих отгрузки
«Найди все заказы, ожидающие отгрузки»
Агент сначала ищет ozon_search_methods по запросу "order list" или «список заказов», находит OrderAPI_GetOrderList, затем использует ozon_describe_method для просмотра структуры параметров и, наконец, с помощью ozon_fetch_all постранично выгружает все заказы.
Сценарий 2: Проверка риска дефицита
«Запусти анализ риска дефицита и посмотри, каким SKU может не хватить товара»
Агент запускает ozon_get_workflow({"name": "oos_risk_analysis"}), пошагово вызывает AnalyticsAPI_StocksTurnover и, следуя встроенным в процесс правилам интерпретации, помечает SKU из группы риска.
Сценарий 3: Проверка здоровья магазина
«Проверь состояние моего магазина»
Агент запускает ozon_get_workflow({"name": "cabinet_health_check"}), параллельно вызывает три интерфейса: рейтинг, информацию о магазине и сроки доставки, и обобщает показатели и статусы.
Сценарий 4: Массовый экспорт информации о товарах
«Выгрузи основную информацию обо всех товарах в продаже»
Агент использует ozon_fetch_all для вызова ProductAPI_GetProductList, автоматически обходит пагинацию last_id и возвращает полный список товаров.
Сценарий 5: Непонятно, как использовать какой-либо API
«Есть ли у Ozon интерфейс для запроса остатков на складе? Как заполнять параметры?»
Агент использует ozon_search_methods({"query": "warehouse stock"}) для поиска соответствующего метода, затем ozon_describe_method для получения полной схемы параметров и примера вызова, после чего помогает собрать параметры запроса.
Системная архитектура
graph TD
A[MCP 客户端<br/>Claude / Cursor / Codex / Windsurf]
B[OZON MCP Server<br/>FastMCP stdio]
C[API 知识层<br/>Swagger + YAML]
K[运营知识层<br/>BM25 + 中文分词]
D[Seller API Client<br/>api-seller.ozon.ru]
E[Performance API Client<br/>api-performance.ozon.ru]
F[Ozon Seller API]
G[Ozon Performance API]
A -->|JSON-RPC over stdio| B
B --> C
B --> K
B --> D
B --> E
D -->|Client-Id + Api-Key| F
E -->|OAuth2 Bearer| G
subgraph 安全守卫
H[安全等级检查<br/>read/write/destructive]
I[订阅权限校验]
J[Schema 验证]
end
B --> H --> I --> JОписание ключевых модулей:
Уровень знаний: при запуске загружает полные определения 466 методов из встроенных Swagger-файлов и YAML-базы знаний
Поисковый индекс: полнотекстовый поиск на основе BM25 с поддержкой китайской и русской сегментации и взвешивания полей
Граф методов: автоматически построенная сеть взаимосвязей методов на основе ссылок в документации и рабочих процессов
Управление ограничениями: ограничение частоты на уровне каждого API, автоматическая постановка в очередь и повторные попытки с экспоненциальной задержкой
Защита безопасности: трёхуровневая проверка — уровень безопасности (только чтение/запись/деструктивные) → права подписки → проверка JSON Schema
Структура проекта
ozon-mcp/
├── src/ozon_mcp/ # 核心代码
│ ├── __init__.py # 版本号
│ ├── __main__.py # CLI 入口,MCP stdio 启动
│ ├── config.py # 环境变量配置(SecretStr 保护凭据)
│ ├── server.py # FastMCP 服务器工厂
│ ├── state.py # 进程内缓存(订阅等级 TTL)
│ ├── errors.py # 统一错误模型
│ ├── data/ # Swagger API 文档
│ │ ├── seller_swagger.json # Seller API (420 方法)
│ │ ├── perf_swagger.json # Performance API (46 方法)
│ │ └── swagger_meta.json # 文档版本元数据
│ ├── knowledge/ # 精选知识库(YAML)
│ │ └── ... # 工作流、限流、错误码等
│ ├── operations_knowledge/ # 中文运营知识库
│ │ ├── models.py # 数据模型(Pydantic)
│ │ ├── loader.py # 加载与完整性校验
│ │ ├── tokenizer.py # 中文分词器
│ │ ├── search.py # BM25 检索引擎
│ │ └── data/ # 知识库数据
│ │ ├── manifest.yaml # 元数据
│ │ ├── chunks.jsonl # 610 个知识片段
│ │ ├── topics.json # 42 个课程主题
│ │ └── ozon_operations_knowledge.md # 原始知识文档
│ ├── schema/ # Schema 引擎
│ │ ├── extractor.py # OpenAPI → JSON Schema 提取
│ │ ├── search.py # BM25 全文搜索
│ │ ├── graph.py # 方法关系图 (networkx)
│ │ ├── catalog.py # 方法目录
│ │ └── resolver.py # $ref 内联解析
│ ├── tools/ # MCP 工具定义(15 个)
│ │ ├── discovery.py # 发现类工具 (4)
│ │ ├── execution.py # 执行类工具 (2)
│ │ ├── reference.py # 参考类工具 (4)
│ │ ├── workflow.py # 工作流工具 (2)
│ │ ├── subscription.py # 订阅工具 (2)
│ │ └── graph.py # 图谱工具 (1)
│ └── transport/ # HTTP 传输层
│ ├── seller.py # Seller API 客户端
│ ├── performance.py # Performance API 客户端
│ ├── oauth.py # OAuth2 Token 管理
│ ├── ratelimit.py # 速率限制
│ └── base.py # 基类(重试、错误映射)
├── tests/ # 测试
│ ├── unit/ # 单元测试 (25 文件)
│ ├── integration/ # 集成测试 (4 文件)
│ ├── golden/ # 回归测试 (3 文件)
│ └── live/ # 真实 API 烟雾测试 (需凭据)
├── scripts/ # 辅助脚本
│ ├── export_methods.py # 导出方法目录
│ └── generate_subscription_overrides.py # 生成订阅覆盖配置
├── Dockerfile # 多阶段 Docker 构建
├── pyproject.toml # 项目配置
├── uv.lock # 依赖锁定
└── glama.json # Glama MCP 注册Требования к окружению
Параметр | Требование |
ОС | Windows / macOS / Linux |
Python | 3.12 или 3.13 |
Менеджер пакетов | |
Docker (опционально) | Для контейнерного развёртывания |
Аккаунт Ozon | Требуется только для вызовов API; для поиска по знаниям не нужен |
Права Ozon API
Seller API: необходимо сгенерировать
Client-IdиApi-Keyв панели OzonPerformance API: необходимо запросить
Client IDиClient Secret
Быстрый старт
Способ 1: с помощью uv (рекомендуется)
# 克隆仓库
git clone https://github.com/yifan4243-sketch/OZON_MCP.git
cd OZON_MCP
# 安装依赖
uv sync
# 验证启动
uv run ozon-mcp --helpПоявление справочной информации означает успешную установку. Теперь можно подключаться к MCP-клиенту (см. Настройка MCP-клиента).
Способ 2: с помощью Docker
# 构建镜像
docker build -t ozon-mcp:local .
# 启动(stdio 模式,需要凭据)
docker run -i \
-e OZON_CLIENT_ID=your_client_id \
-e OZON_API_KEY=your_api_key \
ozon-mcp:localОбраз Docker не содержит учётных данных, их необходимо передавать через
-eили--env-file.
Переменные окружения
Имя переменной | Обязательность | Назначение | Пример |
| Обязательно для Seller API | Seller API Client-Id |
|
| Обязательно для Seller API | Seller API Api-Key |
|
| Обязательно для Performance API | Performance OAuth Client ID |
|
| Обязательно для Performance API | Performance OAuth Client Secret |
|
| Нет | Уровень журналирования (по умолчанию |
|
Все учётные данные защищены с помощью pydantic.SecretStr и не будут случайно выведены в лог или записаны в журнал.
Пример конфигурации см. в .env.example.
Настройка MCP-клиента
OZON MCP использует протокол MCP stdio. Ниже приведены конфигурации для различных MCP-клиентов.
Claude Desktop
Отредактируйте файл конфигурации:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"ozon": {
"command": "uv",
"args": ["--directory", "D:/path/to/ozon-mcp", "run", "ozon-mcp"],
"env": {
"OZON_CLIENT_ID": "your_client_id",
"OZON_API_KEY": "your_api_key"
}
}
}
}В Windows используйте прямые или двойные обратные слэши, например
D:/ozon-mcpилиD:\\ozon-mcp.
Claude Code (CLI)
# 在项目目录下执行
claude mcp add ozon -- uv run ozon-mcpИли вручную отредактируйте ~/.claude/mcp.json:
{
"mcpServers": {
"ozon": {
"command": "uv",
"args": ["--directory", "/path/to/ozon-mcp", "run", "ozon-mcp"],
"env": {
"OZON_CLIENT_ID": "your_client_id",
"OZON_API_KEY": "your_api_key"
}
}
}
}Cursor
Settings → MCP → Add new MCP Server, или отредактируйте ~/.cursor/mcp.json:
{
"mcpServers": {
"ozon": {
"command": "uv",
"args": ["--directory", "/path/to/ozon-mcp", "run", "ozon-mcp"],
"env": {
"OZON_CLIENT_ID": "your_client_id",
"OZON_API_KEY": "your_api_key"
}
}
}
}Codex
Отредактируйте ~/.codex/mcp.json:
{
"mcpServers": {
"ozon": {
"command": "uv",
"args": ["--directory", "/path/to/ozon-mcp", "run", "ozon-mcp"],
"env": {
"OZON_CLIENT_ID": "your_client_id",
"OZON_API_KEY": "your_api_key"
}
}
}
}Windsurf
Отредактируйте ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"ozon": {
"command": "uv",
"args": ["--directory", "/path/to/ozon-mcp", "run", "ozon-mcp"],
"env": {
"OZON_CLIENT_ID": "your_client_id",
"OZON_API_KEY": "your_api_key"
}
}
}
}Другие MCP-клиенты
Подойдёт любой клиент, поддерживающий протокол MCP stdio. Универсальная конфигурация:
command: uv
args: ["--directory", "/path/to/ozon-mcp", "run", "ozon-mcp"]
transport: stdio
env:
OZON_CLIENT_ID: your_client_id
OZON_API_KEY: your_api_keyДругие клиенты см. в официальном списке клиентов MCP.
Примеры вызовов
Ниже приведены примеры взаимодействия с OZON MCP через AI-агента на естественном языке.
Запросы
Вы: Перечисли модули Ozon Seller API
Агент вызывает ozon_list_sections, возвращает 55 модулей и количество методов в каждом.
Вы: Найди все интерфейсы, связанные с «заказами»
Агент вызывает ozon_search_methods({"query": "订单"}), возвращает совпадения и оценки.
Вы: Покажи полную документацию по OrderAPI_GetOrderList
Агент вызывает ozon_describe_method({"operation_id": "OrderAPI_GetOrderList"}), возвращает полную JSON Schema, правила ограничения частоты и пример вызова.
Анализ
Вы: Проанализируй общее состояние моего магазина
Агент запускает ozon_get_workflow({"name": "cabinet_health_check"}) для получения шагов процесса, затем пошагово вызывает интерфейсы рейтинга, информации о магазине и т.д., обобщая результаты анализа.
Вы: Какие товары находятся в зоне риска дефицита
Агент запускает ozon_get_workflow({"name": "oos_risk_analysis"}), вызывает интерфейс оборачиваемости запасов и, следуя встроенным в процесс правилам интерпретации, помечает SKU со статусами DEFICIT и NO_SALES.
Массовые операции
Вы: Выгрузи все товары в продаже
Агент вызывает ozon_fetch_all({"operation_id": "ProductAPI_GetProductList", "params": {"filter": {"visibility": "ALL"}}}), автоматически обходит пагинацию и возвращает полный список товаров.
Устранение неполадок
Вы: При вызове интерфейса списка товаров ошибка, код 429
Агент вызывает ozon_get_error_catalog({"code": "429"}) для получения описания ошибки ограничения частоты и решения, а также ozon_get_rate_limits({"operation_id": "ProductAPI_GetProductList"}) для просмотра конкретных правил ограничения частоты для этого интерфейса.
Разработка и тестирование
Установка зависимостей для разработки
uv sync --devЗапуск тестов
# 运行所有测试(跳过需要真实 API 凭据的测试)
uv run pytest -m "not live"
# 包含覆盖率报告
uv run pytest -m "not live" --cov=src/ozon_mcp --cov-report=termПроверка кода
# Ruff 格式检查
uv run ruff check src/ tests/
# MyPy 类型检查
uv run mypy src/ozon_mcp/Запуск локального сервера
# 仅知识模式(无需凭据)
uv run ozon-mcp
# 带 Seller API 凭据
OZON_CLIENT_ID=xxx OZON_API_KEY=xxx uv run ozon-mcpСборка Docker
docker build -t ozon-mcp:local .Замечания по безопасности
Не коммитьте файл
.env. Все учётные данные передаются через переменные окружения,.envдобавлен в.gitignoreНе записывайте полные учётные данные в логи. Все поля с учётными данными защищены с помощью
SecretStr,repr()иprint()не раскроют фактические значенияИспользуйте минимальные права. Рекомендуется создавать отдельный ключ API Ozon для MCP-сервера, выдавая только необходимые разрешения
Регулярно меняйте ключи. Рекомендуется периодически обновлять ключи API в панели Ozon
Операции записи требуют подтверждения. Все операции
writeиdestructiveтребуют дополнительного параметра подтвержденияЗапускайте в доверенной среде. Рекомендуется запускать локально или на доверенном сервере, не открывайте доступ в интернет
Сверяйтесь с правилами платформы. Правила ограничения частоты, требования к правам и тарифная политика Ozon API могут меняться
Часто задаваемые вопросы
MCP-клиент не находит службу
Убедитесь, что uv установлен и находится в PATH:
uv --versionКоманда uv не найдена
Установите uv:
# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | shПеременные окружения не применяются
Убедитесь, что имена переменных используют префикс OZON_ и заданы корректно. Проверьте командой:
OZON_LOG_LEVEL=DEBUG uv run ozon-mcp --helpOzon API возвращает 401 или 403
Проверьте правильность OZON_CLIENT_ID и OZON_API_KEY, убедитесь, что ключ не истёк.
Ограничение частоты запросов (429)
Сервер уже имеет встроенный механизм автоматических повторных попыток с экспоненциальной задержкой. Если ошибка 429 повторяется, снизьте частоту параллельных запросов.
Сбой запуска Docker
Убедитесь, что Docker установлен, а команда сборки выполняется из корневого каталога проекта:
docker build -t ozon-mcp:local .
docker run -i -e OZON_CLIENT_ID=xxx -e OZON_API_KEY=xxx ozon-mcp:localПроблемы с путями в Windows
В конфигурации MCP-клиента используйте прямые или двойные обратные слэши:
"args": ["--directory", "D:/path/to/ozon-mcp", "run", "ozon-mcp"]Как настроить несколько магазинов
В текущей версии один процесс MCP-сервера соответствует одной учётной записи Ozon. Для нескольких магазинов необходимо запустить несколько экземпляров сервера с разными переменными окружения.
База знаний операций недоступна (knowledge_unavailable)
Если при запуске не удалось загрузить базу знаний операций (например, из-за повреждения или отсутствия файлов данных), три инструмента знаний операций по-прежнему существуют, но при вызове возвращают единую ошибку:
{
"error": "knowledge_unavailable",
"error_type": "knowledge_unavailable",
"message": "中文Ozon运营知识库当前不可用,请检查知识库资源是否完整并重新启动MCP Server。",
"component": "operations_knowledge",
"recovery_hint": "检查 src/ozon_mcp/operations_knowledge/data/ 下的 manifest.yaml、chunks.jsonl、topics.json 是否完整,然后重启 MCP Server。"
}Описание возвращаемых полей:
Поле | Значение | Описание |
|
| Машиночитаемый код ошибки |
|
| Значение перечисления типа ошибки |
| Текст на китайском языке | Понятное описание для Agent |
|
| Компонент, в котором произошёл сбой |
| Инструкция по восстановлению | Действия по восстановлению для Agent или персонала |
Примечание: при недоступности базы знаний API-уровень знаний и другие инструменты продолжают正常工作, затрагивается только функция поиска знаний операций. После восстановления файлов базы знаний и перезапуска всё автоматически восстановится.
Лицензия
Данный проект распространяется по лицензии MIT License.
Отказ от ответственности
Данный проект не является официальным проектом Ozon и не имеет отношения к Ozon
Интерфейсы Ozon API, правила ограничения запросов, комиссионная политика и требования к правам доступа могут меняться в любое время
Пользователи обязаны самостоятельно соблюдать условия обслуживания платформы Ozon и применимое законодательство
При выполнении операций записи и операций с денежными средствами рекомендуется предварительно выполнять ручную проверку
Данный проект не несёт ответственности за любые убытки, возникшие в результате использования данного программного обеспечения
Available Tools
15 toolsozon_describe_methodA
Get a complete description of one Ozon API method.
Returns the method's metadata plus fully-resolved JSON Schema for request and responses. All $ref pointers are inlined; oneOf/anyOf/allOf combinators are preserved verbatim. When knowledge layer is loaded, also includes rate_limit, quirks, examples, and related methods — everything an agent needs to call the method correctly.
Provide either operation_id (preferred) OR path (+ optional http_method).
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| http_method | No | ||
| operation_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure, and it mostly delivers. It reveals that all $ref pointers are inlined, combinators are preserved verbatim, and the response conditionally includes rate_limit, quirks, examples, and related methods when the knowledge layer is loaded. It does not mention behavior for invalid, missing, or ambiguous input, but the main output characteristics are clearly disclosed.
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 front-loaded: purpose first, then key output behavior, then input instructions. Every sentence adds value, and there is no filler or repetition of schema field titles. The length is appropriate for the tool's complexity.
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 method-description tool, the description is largely complete: it covers what is returned, the conditional enrichment, and the parameter selection strategy. It could be stronger by noting error behavior or when to prefer sibling discovery tools, but the presence of an output schema reduces the need to explain return values in prose.
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 0%, so the description must compensate, and it does. It explains the relationship between path and http_method, identifies operation_id as the preferred alternative, and states that path can be optionally paired with http_method. It stops short of giving concrete formats or examples, but the core semantic distinction between the two lookup modes is present.
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: 'Get a complete description of one Ozon API method.' It goes beyond a generic statement by specifying the unique output traits—fully-resolved JSON Schema, inlined $ref pointers, preserved combinators—that distinguish this tool from sibling introspection tools. The scope ('one method') is explicit.
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 input-selection guidance ('Provide either operation_id (preferred) OR path (+ optional http_method)'), which helps the agent choose between parameter combinations. However, it does not explicitly explain when to use this tool versus siblings like ozon_search_methods or ozon_get_related_methods. The usage context is implied rather than stated with alternatives or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_get_error_catalogA
Look up Ozon API errors and their solutions.
Without arguments returns all known errors. With code (e.g. "429" or "InvalidArgument") filters by code. With operation_id returns errors specific to that method plus all generic ones.
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| operation_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and it does disclose the key behavioral outcomes: return all errors, filter by code, or return method-specific plus generic errors. The main gap is how the tool behaves when both code and operation_id are supplied together, but core transparency is strong.
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 first sentence states the core purpose, followed by three terse, high-signal sentences covering each argument mode. There is no filler and every sentence earns its place.
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 lookup tool with two optional parameters and an output schema, the description covers the main behaviors and parameter meanings well. The only notable omission is the combined `code` + `operation_id` case, which is a minor completeness gap.
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 0%, and the description fully compensates: it explains what `code` does with examples and explains the meaningful behavior of `operation_id` (method-specific plus generic errors). Each parameter receives semantic context the schema lacks.
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 ('Look up') and resource ('Ozon API errors and their solutions'), and explicitly explains the three invocation modes (no arguments, by code, by operation_id). This makes the tool's purpose immediately distinguishable from siblings like rate limits, examples, or method descriptions.
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 by telling exactly what happens with no arguments, with a code, and with an operation_id. It does not explicitly discuss alternatives or when not to use the tool, so it stops short of the top score, but the run-mode guidance is concrete and actionable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_get_examplesB
Get hand-crafted request examples for one method.
Examples are real, validated payloads matching the method's request schema — copy them as starting points for your own calls.
| Name | Required | Description | Default |
|---|---|---|---|
| operation_id | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It adds value by stating the examples are 'real, validated payloads matching the method's request schema,' which is a meaningful guarantee. However, it doesn't disclose error behavior, whether multiple examples are returned, or any limitations.
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?
Two sentences, front-loaded with the core purpose and a practical usage hint. There is no filler or repetition; every clause contributes meaningful 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 simple one-parameter tool with an output schema, the description conveys the purpose and the nature of the returned data. However, it omits how to discover a valid operation_id and offers no context about when this tool is the right choice, leaving an agent partially under-informed.
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 0%, so the description must compensate for the undocumented operation_id parameter. It only loosely ties the parameter to 'one method' and doesn't explain what the ID looks like or where to obtain it. This leaves a significant gap for an agent selecting a 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?
The description uses a specific verb ('Get') and a distinct resource ('hand-crafted request examples for one method'), making it clear that this tool returns example payloads rather than descriptions or schemas. It is distinguishable from sibling tools like describe_method or search_methods, though it does not explicitly name an alternative.
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 no guidance on when to choose this tool over siblings. The phrase 'copy them as starting points for your own calls' explains how to use the result, not when to invoke the tool. It also doesn't mention how to find a valid operation_id via related tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_get_operations_knowledgeA
根据chunk_id读取一个完整的Ozon运营知识片段。
应在 ozon_search_operations_knowledge 返回相关chunk_id后调用, 用于取得完整证据并组织客户答案。
Args: chunk_id: 知识片段ID,来自搜索结果的chunk_id字段
| Name | Required | Description | Default |
|---|---|---|---|
| chunk_id | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden of behavioral disclosure. The verb '读取' (read) makes the read-only nature clear, and the purpose (retrieve full evidence) is transparent. It does not mention edge cases like missing chunk_id, but for a simple retrieval operation this is a minor gap.
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 core purpose, then gives usage context, then parameter details. Every sentence earns its place with no redundancy.
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 retrieval tool with an output schema available, the description fully covers what the tool does, when to use it, and where the parameter comes from. 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 input schema provides only the type and name, and schema description coverage is 0%. The description compensates by explaining the source of chunk_id ('来自搜索结果的chunk_id字段'), which adds meaningful guidance beyond the schema.
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 ('读取'/read) and resource ('完整的Ozon运营知识片段'/complete Ozon operations knowledge fragment), and clearly ties it to the search sibling. An agent can distinguish it from ozon_search_operations_knowledge and other getter 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?
It explicitly states when to use the tool: after ozon_search_operations_knowledge returns relevant chunk_id, and why: to obtain complete evidence and organize customer answers. This gives clear when-to-use guidance and implicitly defines the alternative search tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_get_rate_limitsA
Look up rate limits for a method, section, or the whole API.
Without arguments returns all known limits. With operation_id, returns the most specific limit (per-method overrides per-section overrides global).
NOTE: Many limits in v0.2 are conservative guesses (source: 'guess'). Verify against real Ozon responses before relying on them in production.
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | ||
| operation_id | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the read-only lookup behavior, the precedence behavior, and importantly warns that 'many limits in v0.2 are conservative guesses (source: 'guess')' and advises verification before production use. This is substantive behavioral context beyond the 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 compact and front-loaded with the core purpose. Every sentence earns its place: the first states what the tool does, the second explains argument behavior, and the note conveys an essential reliability caveat. 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 read-only lookup tool with two optional parameters and an output schema, the description covers the main usage modes and adds an important data-quality warning. It could more explicitly define what values 'section' expects and how to discover valid section identifiers, but sibling discovery tools likely cover that gap.
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 0%, so the description must compensate. It explains operation_id's meaning and precedence behavior clearly. The 'section' parameter is implied by 'a method, section, or the whole API' but not given a dedicated explanation; still, its purpose is reasonably inferable.
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 ('Look up') and clearly identifies the resource ('rate limits') and scope options ('a method, section, or the whole API'). This distinguishes it from sibling tools like ozon_describe_method or ozon_search_methods, which serve clearly different purposes.
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 invocation guidance: 'Without arguments returns all known limits' and 'With operation_id, returns the most specific limit'. It explains the precedence rule per-method over per-section over global. It does not explicitly contrast with sibling tools, but the focused scope makes the usage context clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_get_sectionA
List all methods inside a section (by section name or tag).
Args: query: section name or tag, e.g. "FinanceAPI", "Финансовые отчёты", "ProductAPI"
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the behavioral disclosure burden. It conveys that the tool is a read-only lookup ('List') and explains how the query is interpreted (section name or tag), but it does not mention matching behavior, error cases, or other operational details. This is adequate for a simple lookup tool but not rich.
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 short, front-loaded with the core purpose, and includes a concise parameter explanation with examples. Every sentence adds value 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, simple lookup tool with an output schema present, the description is complete enough. It tells the agent what the tool does, how the query parameter works, and what kind of answer to expect. No critical missing information prevents 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?
The schema only defines 'query' as a string with 0% coverage, so the description fully compensates by explaining that it accepts a section name or tag and providing concrete examples like 'FinanceAPI' and 'Финансовые отчёты'. This adds significant meaning beyond the schema.
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's function: 'List all methods inside a section' with a specific resource and query input. It differentiates well from sibling tools like ozon_list_sections and ozon_describe_method by indicating that it returns methods within a section.
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 intended use case is clear: call this when you need all methods belonging to a section identified by name or tag. It does not explicitly state when not to use it or mention alternatives, but the context is unambiguous enough for an agent to select it appropriately.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_get_swagger_metaA
Return metadata about the bundled Ozon swagger snapshots.
Tells the caller which spec version we are shipping, how many methods it contains, when the snapshot was refreshed, and the SHA-256 of the file. Useful for:
agents that need to decide whether to re-check docs online;
operators validating that a refresh actually landed;
bug reports — include this in the issue so reproduction is exact.
Returns {"error": "missing"} when the package was built without
swagger_meta.json (pre-v0.6 snapshot).
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. It discloses the return contents (spec version, method count, refresh timestamp, SHA-256) and the error case ('{"error": "missing"}') with a version qualifier. It does not mention side effects or network behavior, but the tone and content make this a read-only metadata operation.
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 purpose, followed by a tidy bullet list of use cases and a clear error note. Every sentence contributes information; the structure makes the content scannable without redundancy.
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 no-parameter tool with an output schema, the description provides all necessary context: what is returned, why it is useful, and what the failure mode looks like. Nothing an agent needs to invoke the tool correctly 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 tool has zero parameters, so the baseline is 4. There is nothing to explain about parameter semantics, and the description correctly focuses on the output. No parameter documentation is needed.
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 ('Return metadata') and a clear resource ('bundled Ozon swagger snapshots'), then lists the exact pieces of metadata delivered. It clearly distinguishes itself from sibling tools like ozon_search_methods or ozon_describe_method, which operate on API operations rather than the snapshot itself.
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 'Useful for' section gives concrete, actionable scenarios: deciding whether to re-check docs online, validating a refresh, and including in bug reports. It does not explicitly name alternative tools or state when not to use it, but the use cases are specific enough to guide selection among siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_get_workflowA
Get the full step-by-step plan for one workflow.
Returns ordered steps with operation_ids, pagination/batching/concurrency
guidance, recommended DB schema, and known gotchas. Analytical
workflows additionally carry interpret (how to read the data),
when_to_use (situations the workflow fits) and common_mistakes.
Args: name: workflow name from ozon_list_workflows, e.g. "sync_orders_fbs" or "oos_risk_analysis"
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden, and it does well by describing the rich return behavior: ordered steps, operation_ids, pagination/batching/concurrency guidance, recommended DB schema, and known gotchas. It also discloses conditional content for analytical workflows. It does not explicitly state that the operation is read-only, but 'Get' and 'Returns' strongly imply a safe retrieval.
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-structured: a one-line primary purpose, a concise summary of return contents, and a focused Args section. No filler or repetition exists, and the most important action is front-loaded.
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 retrieval tool with an output schema present, the description is complete enough. It identifies the prerequisite source for the argument, gives representative examples, and summarizes the return value. Agents can confidently select and invoke this tool without needing additional context.
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 provides only a bare 'name' string with no description, so 0% schema coverage. The description compensates fully by explaining that name is a workflow name from ozon_list_workflows and offering two realistic examples ('sync_orders_fbs', 'oos_risk_analysis'). This gives the agent the exact source and format of valid values.
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: 'Get the full step-by-step plan for one workflow.' It clearly differentiates from sibling tools like ozon_list_workflows because it targets a single workflow rather than listing all workflows, and it does not overlap with method-focused siblings like ozon_describe_method.
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 clear context for when to use the tool: after obtaining a workflow name from ozon_list_workflows. It gives concrete examples of valid names. It does not explicitly state when NOT to use it or name alternatives, but the one-workflow scope and prerequisite are clear enough for an agent to route correctly.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_list_methods_for_subscriptionA
List all Ozon methods that mention a specific subscription tier.
Useful when an agent wants to know "what extra capabilities do I unlock by upgrading to Premium Plus?" or "which methods will fail without Premium?". Tiers are auto-extracted from method documentation, so this is a hint, not a contract — the actual hard 403 set may differ.
Args: tier: one of UNSPECIFIED, PREMIUM_LITE, PREMIUM, PREMIUM_PLUS, PREMIUM_PRO
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden, and it handles this well by disclosing that tiers are auto-extracted from documentation, calling the result a 'hint, not a contract', and warning that the actual 403 set may differ. This is exactly the kind of behavioral nuance an agent needs to avoid over-trusting the output.
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 front-loaded: the first sentence states the core function, followed by practical use cases, a critical caveat, and parameter values. Each sentence earns its place; there is no filler or repetition of structured data.
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 one-parameter tool with an output schema present, the description covers purpose, when to use it, the main reliability caveat, and the complete set of valid parameter values. Nothing necessary for an agent to invoke it correctly 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 0%, so the description must compensate for the schema's bare string type. It does so by enumerating the valid tier values: UNSPECIFIED, PREMIUM_LITE, PREMIUM, PREMIUM_PLUS, and PREMIUM_PRO, and by tying them to subscription tiers in the usage examples. This adds real meaning beyond the input schema.
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: 'List all Ozon methods that mention a specific subscription tier.' It clearly differentiates from sibling tools like ozon_search_methods or ozon_get_related_methods by focusing on subscription-tier membership, and it reinforces this with concrete user questions.
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 when-to-use guidance through examples like 'what extra capabilities do I unlock by upgrading to Premium Plus?' and 'which methods will fail without Premium?'. It does not explicitly name alternative tools or state when not to use it, but the context is unambiguous enough for an agent to select it appropriately.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_list_operations_topicsA
列出中文Ozon运营知识库的课程目录和主题。
可按模块、课程标题或关键词筛选,用于了解知识库覆盖范围。
Args: query: 可选,按课程标题或关键词筛选 module: 可选,按模块筛选 limit: 返回数量(默认20) offset: 分页偏移(默认0) include_chunk_ids: 是否返回chunk_id列表(默认false,避免上下文过大)
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| module | No | ||
| offset | No | ||
| include_chunk_ids | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral burden. It discloses pagination via limit/offset and the side effect of include_chunk_ids (avoiding overly large context). Being a list operation, read-only behavior is reasonably inferable.
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 front-loaded: purpose first, then usage intent, followed by a clean Args block. Every sentence adds value, and there is no filler or duplication of schema-only 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?
All five optional parameters are semantically explained, the use case is clear, and an output schema exists so return-value documentation is unnecessary. The description is fully sufficient for an agent to call 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 has 0% description coverage, but the description fully compensates by explaining query, module, limit, offset, and include_chunk_ids, including defaults and the rationale for the chunk ID flag.
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 a concrete resource: the Chinese Ozon operations knowledge base's course catalog and topics. It also states filtering capabilities, making its scope distinct from the search/retrieval 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?
It explicitly says the tool is for understanding knowledge base coverage, and lists the available filters. It does not explicitly name sibling alternatives or state when not to use it, but the intended context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_list_sectionsA
List all Ozon API sections (Seller + Performance) with method counts.
Use this first to orient yourself in the API. Returns sections grouped by api ('seller' or 'performance'), each with the human-readable section name, the underlying tag, and the number of methods inside.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full disclosure burden. It clearly explains behavior: returns sections grouped by api, includes section name, tag, and method count, and covers both seller and performance APIs. It does not mention auth or side effects, but the listing nature and zero parameters make those less critical.
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 short sentences: purpose, usage, and output structure. The primary action is front-loaded, and every sentence carries useful information without padding.
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?
Given the tool's low complexity, zero parameters, and available output schema, the description is complete. It tells the agent when to use it, what it lists, and how the result is structured. Nothing important is missing for selecting and invoking it 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 schema coverage is 100%, so there are no parameter semantics to clarify. The description correctly adds no parameter-related confusion and earns the zero-parameter baseline of 4.
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: 'List all Ozon API sections' with explicit scope ('Seller + Performance') and output ('method counts'). The description makes the tool's purpose immediately clear and distinct from focused sibling tools like ozon_get_section.
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?
Gives explicit entry-point guidance: 'Use this first to orient yourself in the API.' This tells the agent when to invoke the tool. It does not name exclusions or alternatives, but for a zero-parameter orientation tool this is sufficient context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_list_workflowsA
List all curated workflows, optionally filtered by category.
Workflows are step-by-step recipes for chaining Ozon API methods into
real data pipelines or analytical reports. Use ozon_get_workflow
to fetch the full plan for a specific workflow.
Args:
category: optional filter — one of "catalog", "orders",
"analytics", "health", "pricing", "content", "advertising",
"warehouse", "returns", "finance". When provided, only
workflows in that category are returned. categories in
the response always lists every value present in the catalogue.
| Name | Required | Description | Default |
|---|---|---|---|
| category | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses the read-only listing behavior, the optional category filter, and adds a useful nuance: 'categories in the response always lists every value present in the catalogue.' This goes beyond the bare operation and gives the agent a clearer model of the tool's behavior.
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 structured with a clear one-sentence purpose, a brief explanatory paragraph about workflows, a pointer to the sibling tool, and a structured Args section. The category list is somewhat long but necessary, and every sentence contributes a useful detail.
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 list operation with one optional parameter and an existing output schema, the description is nearly complete. It covers purpose, filtering behavior, category values, and the sibling tool for deeper details. It doesn't explicitly mention the absence of required parameters or error handling, but 'optional' and the provided category list imply this well enough.
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 0%, so the description must fully explain the parameter. It does: category is described as optional, its allowed values are enumerated, and the filtering behavior is specified. This fully compensates for the missing 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?
The description opens with a clear, specific statement: 'List all curated workflows, optionally filtered by category.' It identifies the resource (curated workflows) and the action (list), and distinguishes itself from the sibling ozon_get_workflow by explaining that the sibling fetches the full plan. This makes the tool's purpose unmistakable.
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 context for when to use this tool ('List all curated workflows') and explicitly routes the agent to ozon_get_workflow when a full plan is needed. It does not explicitly discuss exclusions or when not to use it, but the sibling differentiation and category filter behavior provide adequate guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_search_methodsA
Full-text search across all Ozon API methods.
Searches over operation_id, path, summary, description, section, and tag using BM25 ranking with field boosting (summary x4, path/op_id x3, description x1). Supports Russian and English queries with stemming.
Args: query: free-text query, e.g. "list of postings" or "финансовые транзакции" section: optional filter — match by section name or tag (case-insensitive substring) api: optional filter — "seller" or "performance" safety: optional filter — "read", "write", or "destructive" limit: max results to return (default 10)
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | ||
| limit | No | ||
| query | Yes | ||
| safety | No | ||
| section | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. It discloses the BM25 ranking algorithm, field boosting weights, Russian/English stemming support, and available filters. This goes well beyond a basic statement and gives an agent realistic expectations about search behavior.
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 well-structured and front-loaded: a clear one-line purpose, followed by relevant search behavior details, then a compact argument list. Every sentence contributes useful information with 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?
The description covers search semantics, all parameters, and filtering options. Since an output schema exists, not detailing the return format is acceptable. The main gap is the lack of explicit routing guidance relative to sibling search/knowledge tools, but overall it is close to complete for this tool's complexity.
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 0%, and the description fully compensates. It explains query with examples, describes section, api, safety, and limit, and even specifies allowed values such as 'read', 'write', and 'destructive'. This adds significant meaning beyond the bare schema.
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 immediately states a specific action — full-text search across all Ozon API methods — and identifies the exact searched fields (operation_id, path, summary, description, section, tag). This clearly distinguishes it from sibling tools like ozon_list_sections or ozon_describe_method.
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?
Usage is implied: use this tool when you need to find API methods by free-text query. However, it does not explicitly say when to prefer this over alternatives such as ozon_search_operations_knowledge or ozon_get_related_methods, nor does it state any exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ozon_search_operations_knowledgeA
搜索中文Ozon运营知识库。
适用于经营模式、跟卖、精铺、选品、商品卡、定价、仓库、物流、货代、 促销、广告、履约、售后和风险问题。先搜索获取相关片段ID,再使用 ozon_get_operations_knowledge 读取完整证据。
Args: query: 搜索关键词(中文),例如"跟卖怎么选品""精铺差异化""货代发货流程" limit: 返回结果数量(默认5,最大10) module: 可选,按模块筛选 lesson_id: 可选,按课程ID筛选 verification_required: 可选,筛选需要时效复核的片段
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| module | No | ||
| lesson_id | No | ||
| verification_required | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses key behavior: this is a search step that returns fragment IDs, not full content, and that full evidence is obtained elsewhere. It could add more detail about output structure or edge cases, but the core behavioral contract is clear.
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 moderately long but every section earns its place: purpose, domain keywords, workflow, and parameter details. The topic list is somewhat lengthy but adds useful selection context. The Args section is cleanly structured and 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?
Given the output schema exists and the tool is a straightforward search operation, the description is complete: it covers the required query, all optional filters, the workflow, and the relationship to the companion get tool. An agent has enough information to invoke 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?
Schema description coverage is 0%, so the description is the only source of parameter meaning. It explains all five parameters: query with Chinese examples, limit with default and maximum, module filtering, lesson_id filtering, and verification_required for time-sensitive review. This fully compensates for the empty 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?
The description states a specific verb and resource: '搜索中文Ozon运营知识库' (search the Chinese Ozon operations knowledge base). It lists concrete application domains and explicitly distinguishes itself from the sibling read tool by saying to search first for fragment IDs and then use ozon_get_operations_knowledge to read full evidence.
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 clear usage context by enumerating the applicable topics ('经营模式、跟卖、精铺...') and gives an explicit workflow: first search to obtain fragment IDs, then use ozon_get_operations_knowledge for full evidence. This effectively tells the agent when to use this tool and names the alternative.
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.
15 tool updates
v0.1.1- First observed
ozon_describe_method - First observed
ozon_get_error_catalog - First observed
ozon_get_examples - First observed
ozon_get_operations_knowledge - First observed
ozon_get_rate_limits - First observed
ozon_get_related_methods - First observed
ozon_get_section - First observed
ozon_get_swagger_meta - First observed
ozon_get_workflow - First observed
ozon_list_methods_for_subscription - First observed
ozon_list_operations_topics - First observed
ozon_list_sections - First observed
ozon_list_workflows - First observed
ozon_search_methods - First observed
ozon_search_operations_knowledge
TDQS
Scored across 15 tools
Each tool has a clear, distinct purpose: searching methods, describing a method, listing sections, retrieving workflows, rate limits, errors, examples, and separate Chinese knowledge base tools. No two tools overlap in functionality.
Most tools follow the 'ozon_verb_noun' pattern (e.g., search_methods, get_workflow), but a few are inconsistent: 'ozon_get_section' actually lists methods rather than retrieving a section, and 'describe_method' vs 'get_section' uses different verbs for similar retrieval actions. Overall still predictable.
15 tools is reasonable for an API exploration and knowledge base server. It covers a comprehensive set of actions without being excessive or sparse.
The server covers all major aspects of Ozon API exploration: sections, methods, workflows, limits, errors, examples, metadata, subscription details, and a Chinese operations knowledge base. No obvious missing functionality for its stated purpose.
Maintenance
Related MCP Connectors
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Discover and call 10,000+ production APIs from one MCP server. Pay-per-call billing for AI agents.
MCP server giving AI agents one-connection access to China A-share market intelligence: financials,
Related MCP Servers
- AlicenseAqualityDmaintenanceozon-mcp is a knowledge-rich MCP server that turns the entire Ozon seller toolkit into 15 high-leverage tools. AI agents (Claude, Cursor, Cline, Continue, Goose, Zed, …) can search the API in Russian or English, drill into any of 466 methods with a fully-resolved JSON Schema, and execute calls with built-in safety guards. Subscription- aware, automatic pagination over all 4 cursor styles, retry/ba1523MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that turns Wildberries marketplace into a toolkit for LLM agents, enabling product search, detailed card inspection, price history, reviews, and cross-product comparison.-
- FlicenseNot gradedqualityDmaintenanceMCP server exposing 1688 and OZON e-commerce crawling tools, enabling AI agents to perform product search, image search, and supplier contact scraping via natural language.-
- AlicenseAqualityDmaintenanceMCP server for Ozon Seller API that enables AI clients to manage products, prices, stocks, orders, analytics, and finances on Ozon marketplace.2640 npm6-