Skip to main content
Glama
alyiox

mcp-walmart-marketplace

Walmart Marketplace APIs

CI PyPI Python 3.13+ License: MIT

MCP-сервер для Walmart Marketplace APIs — товары, заказы, остатки, цены, акции, фиды, отчёты, возвраты, логистика и другое.

Предоставляет управляемое спецификациями обнаружение (list_endpoints, describe_endpoint), универсальный API-прокси (call_endpoint), помощники для загрузки фидов и скачивания файлов, а также обновление спецификаций в рантайме (refresh_specs). ИИ-агент обнаруживает эндпоинты во встроенных OpenAPI-спецификациях, а затем вызывает их; сервер автоматически обрабатывает получение и обновление OAuth2-токенов и обязательные заголовки Walmart. Базовые адреса жёстко заданы для каждого окружения, поэтому в конфигурационном файле хранятся только учётные данные.

Возможности

  • Обнаружение на основе спецификаций — 28 встроенных OpenAPI-спецификаций, покрывающих 234 операции, обновляемые в рантайме

  • Любой эндпоинт — вызов по идентификатору операции или по паре метод+путь; при изменении API не требуется правок кода

  • Автоматический OAuth2 — токены получаются, кэшируются для каждого набора учётных данных, обновляются до истечения срока, при 401 выполняется одна повторная попытка. Секрет клиента никогда не покидает этап получения токена

  • Несколько продавцов — много учётных данных продавца для каждого региона и окружения, выбор при каждом вызове

  • Мультирегиональность и мультиокружение — production и sandbox

  • Обязательные заголовки Walmart (WM_SEC.ACCESS_TOKEN, WM_SVC.NAME, WM_QOS.CORRELATION_ID, WM_MARKET, WM_GLOBAL_VERSION, WM_SANDBOX, WM_PARTNER_ID) внедряются на стороне сервера и скрыты от агента

  • Большие ответы усекаются, полные данные доступны через URI ресурса MCP

Related MCP server: MoySklad MCP Server

Требования

  • Python 3.13+

  • Walmart Marketplace client ID и client secret для каждого продавца (Developer Portal)

Быстрый старт

Настройте конфигурацию (см. Конфигурация), затем запустите сервер:

# Run directly with uvx (no clone needed)
npx -y @modelcontextprotocol/inspector uvx mcp-walmart-marketplace
# Or run from source
git clone https://github.com/alyiox/mcp-walmart-marketplace.git
cd mcp-walmart-marketplace
uv sync
npx -y @modelcontextprotocol/inspector uv run mcp-walmart-marketplace

Конфигурация

Конфигурационный файл находится в вашем домашнем каталоге по пути ~/.config/mcp-walmart-marketplace/config.json.

Примечание для Windows: ~ соответствует %USERPROFILE%, поэтому полный путь — %USERPROFILE%\.config\mcp-walmart-marketplace\config.json.

1. Создайте каталог конфигурации и скопируйте пример

mkdir -p ~/.config/mcp-walmart-marketplace
cp config.example.json ~/.config/mcp-walmart-marketplace/config.json

2. Отредактируйте ~/.config/mcp-walmart-marketplace/config.json

{
  "response_cache_ttl": 3600,
  "truncate_threshold": 1024,
  "regions": {
    "primary": {
      "production": {
        "credentials": [
          {
            "client_id": "11111111-2222-3333-4444-555555555555",
            "client_secret": "acme-client-secret-goes-here",
            "advertisers": [
              { "id": 1000001, "partner_id": "10000000001" },
              { "id": 1000002 }
            ]
          }
        ]
      },
      "sandbox": {
        "credentials": [
          {
            "client_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
            "client_secret": "acme-sandbox-client-secret-goes-here",
            "advertisers": [{ "id": 1000001 }]
          }
        ]
      }
    }
  }
}

Config field

Description

response_cache_ttl

Сколько секунд хранить усечённые ответы в памяти (по умолчанию 3600)

truncate_threshold

Лимит размера ответа в байтах до усечения (по умолчанию 1024)

regions.<R>

Метка региона — без учёта регистра, произвольная. Группирует продавцов; не влияет на то, какой хост вызывается

regions.<R>.<E>

Окружение — строго production или sandbox

…<E>.credentials[]

Одна запись на каждый набор учётных данных Walmart

…credentials[].client_id

Walmart client ID (UUID)

…credentials[].client_secret

Walmart client secret в виде открытого текста

…credentials[].advertisers

Продавцы, которых обслуживает этот набор учётных данных; каждый {"id": …} с необязательным "partner_id"

Сделайте конфигурационный файл доступным для чтения только вам — в нём хранятся секреты клиентов в открытом виде.

Всё остальное фиксировано сервером: базовые URL (marketplace.walmartapis.com для production, sandbox.walmartapis.com для sandbox), WM_SVC.NAME, грант client_credentials и значения заголовков WM_MARKET / WM_SANDBOX для каждой операции.

Регионы

Регион — это пространство имён, а не маршрут. Базовые адреса фиксированы сервером для каждого окружения, поэтому любой регион обращается к одним и тем же хостам Walmart. Этот уровень нужен, чтобы advertiser id были уникальны только в пределах одного региона — один и тот же id в двух регионах может означать разных продавцов с разными учётными данными.

Partner ID

Добавьте partner_id продавцу, у которого есть Walmart Partner ID:

"advertisers": [
  { "id": 1000001, "partner_id": "10000000001" },
  { "id": 1000002 }
]

Две операции payments — payments:getTaxForms и payments:downloadTaxForm — требуют его в заголовке WM_PARTNER_ID. Вызов такой операции для продавца, настроенного без partner id, завершится ошибкой с сообщением о необходимости добавить его, а не Walmart 400. Все остальные операции игнорируют его, поэтому большинство записей — просто {"id": …}.

Продавцы

advertiser_id обязателен для каждого инструмента, который обращается к сети; значения по умолчанию нет. Прочитайте ресурс wmm://config, чтобы узнать, какие advertiser id настроены. Он сообщает только регион, окружение и advertiser id — никогда client id или секреты.

Инструменты

Tool

Purpose

list_endpoints

Список операций во встроенных спецификациях с фильтрацией по запросу, домену, тегу или методу

describe_endpoint

Одна операция вместе с замыканием её схемы, без управляемых сервером заголовков

call_endpoint

Выполнение любой операции по id или по паре метод+путь

upload_feed

Загрузка файла фида (multipart) для типа фида

download_file

Скачивание отчёта, этикетки или другого бинарного файла в локальный путь

refresh_specs

Повторное получение спецификаций из ReadMe api-registry в пользовательский кэш

Ресурсы

URI

Contents

wmm://config

Настроенные регионы, окружения и advertiser id

wmm://responses/{request_id}

Полное тело усечённого ответа

wmm://curl/{request_id}

Эквивалентная команда cURL для предыдущего запроса

Примеры MCP-хостов

Cursor

Добавьте в .cursor/mcp.json:

{
  "mcpServers": {
    "walmart-marketplace": {
      "command": "uvx",
      "args": ["mcp-walmart-marketplace"]
    }
  }
}

Claude Code

Добавьте в конфигурацию MCP для Claude Code:

{
  "mcpServers": {
    "walmart-marketplace": {
      "command": "uvx",
      "args": ["mcp-walmart-marketplace"]
    }
  }
}

Codex

[mcp_servers.walmart-marketplace]
command = "uvx"
args = ["mcp-walmart-marketplace"]

OpenCode

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "walmart-marketplace": {
      "type": "local",
      "enabled": true,
      "command": ["uvx", "mcp-walmart-marketplace"]
    }
  }
}

GitHub Copilot

{
  "inputs": [],
  "servers": {
    "walmart-marketplace": {
      "type": "stdio",
      "command": "uvx",
      "args": ["mcp-walmart-marketplace"]
    }
  }
}

Спецификации

28 встроенных спецификаций взяты из ReadMe api-registry, который лежит в основе developer.walmart.com. Они сначала загружаются из пользовательского каталога кэша (~/.cache/mcp-walmart-marketplace/specs/), а при отсутствии — из копии, поставляемой в wheel, поэтому refresh_specs вступает в силу немедленно, без переустановки.

Файлы на диске хранятся дословно в том виде, в котором их отдал реестр, поэтому комплект является источником истины, а diff после обновления показывает ровно то, что изменил Walmart. Сокращение происходит при загрузке, что делает его политикой времени выполнения, а не чем-то, зашитым в файлы:

  • Слишком большие примеры отбрасываются. Всего есть 3,514 встроенных example-полезных нагрузок общим объёмом 4.13 MB, но медиана — 16 bytes, а две нагрузки /v3/items/taxonomy занимают 3.25 MB. Всё, что не превышает MAX_EXAMPLE_BYTES (1 KB), сохраняется — 97% из них, для ~133 KB, — так что подсказки по форматам дат, sku и идентификаторов остаются доступны, а «монстры» никогда не попадают к агенту.

  • x-readme удаляется — это метаданные рендеринга документационной платформы, а не детали API.

Загрузка всех 28 спецификаций стоит ~80 ms один раз на процесс; результаты кэшируются для каждой спецификации и инвалидируются по mtime файла, поэтому refresh_specs вступает в силу немедленно. Вывод describe_endpoint имеет медианный размер 5.1 KB и максимальный 88 KB (шесть операций order-management включают очень большие схемы ответов).

Чтобы пересобрать встроенные копии:

uv run python scripts/fetch_specs.py            # all
uv run python scripts/fetch_specs.py order-management

Предостережения

Спецификации и API расходятся в вопросе аутентификации. 76 операций объявляют заголовок Basic Authorization, формируемый из client id и секрета, а fulfillment-management и insights-management, судя по всему, требуют его вместо токена доступа. Проверка на production показывает, что это не так: на каждом протестированном сервисе один Basic возвращает 401, а один токен доступа — 200. Поэтому этот сервер отправляет WM_SEC.ACCESS_TOKEN в каждом запросе и никогда не отправляет client secret никуда, кроме /v3/token. Если вы сравните его поведение со справочной документацией, это расхождение намеренно.

WM_SVC.NAME нельзя прочитать из спецификаций. 103 операции объявляют буквальную строку-заглушку "Walmart Service Name" и только 100 — реальное значение, поэтому оно зафиксировано как Walmart Marketplace, что подтверждают реальные вызовы.

Не каждый документированный эндпоинт доступен с учётными данными продавца. GET /v3/utilities/apiStatus возвращает HTTP 520 Unable to route request, указывая wm_svc.name: PARTNERMANAGEMENTSERVICES и wm_svc.env: prod как ожидаемые заголовки, но отправка именно их по-прежнему даёт 520. Похоже, он принадлежит сервису, недоступному для 3P-учётных данных, а сообщение об ошибке вводит в заблуждение. Ожидайте несколько похожих случаев среди 234 операций.

Эндпоинты отчётов строго согласуют содержимое. Они отклоняют Accept: */* с кодом 406 и перечнем того, что могут выдать, поэтому Accept выводится из типов медиа, объявленных операцией для успешных ответов (с предпочтением application/json, если он предлагается). Если вы добавите эндпоинт, в спецификации которого не объявлено содержимое ответа, он вернётся к */* и может ответить 406.

Покрытие реальными вызовами невелико. Семь операций из пяти доменов вернули 200 на production — feed-management, advertising, fulfillment-management, insights-management, settings-management — включая две загрузки отчётов, которые приходят как настоящие книги Excel. Остальные ~227 подключены на основе спецификаций и ни разу не вызывались. Обнаружение и формирование запросов покрыты тестами; поведение вышестоящей системы — нет.

Два известных сбоя вышестоящей системы, ни один из которых не является ошибкой клиента: fulfillment-management:getInventoryHealthReport отвечает 520 WFS_INTERNAL_SERVER_ERROR, а feed-management:getFeedErrorReport отвечает 404 для фида, который обработался без ошибок.

Sandbox не проверен. Walmart выдаёт sandbox-учётные данные отдельно от production, и ничего здесь не запускалось против sandbox.walmartapis.com. Обработка WM_SANDBOX: v2 — которая включает динамический sandbox и меняет семантику ответов, а не только маршрутизацию — реализована по спецификациям, а не по наблюдениям.

upload_feed не протестирован сквозным образом. Он проверяется только модульными тестами против скриптованного транспорта — единственный способ проверить его вживую — отправить настоящий фид, что изменяет живой каталог. download_file был проверен на production.

Путь редиректа между хостами не опробован. download_file сбрасывает учётные данные, когда редирект уводит с хоста Walmart, что важно, если отчёт когда-либо будет отдаваться из подписанного хранилища. Все наблюдавшиеся до сих пор загрузки возвращали байты напрямую, за один переход, поэтому эта ветвь покрыта только модульными тестами.

Лицензия

MIT

Available Tools

6 tools
call_endpointA
Destructive

[WalmartMarketplace] Execute an authenticated API request. Give operation_id, or method and path together. Auth, WM_MARKET, WM_GLOBAL_VERSION, WM_SANDBOX and correlation headers are added by the server.

ParametersJSON Schema
NameRequiredDescriptionDefault
bodyNo[WalmartMarketplace] JSON request body for POST/PUT/PATCH.
pathNo[WalmartMarketplace] API path after the base URL, e.g. /v3/orders. Required unless operation_id is given.
methodNo[WalmartMarketplace] HTTP method. Required unless operation_id is given.
paramsNo[WalmartMarketplace] Query string parameters as a JSON object.
regionYes[WalmartMarketplace] Region label, e.g. us. Src: config.
environmentYes[WalmartMarketplace] Target environment — production or sandbox. Src: config.
path_paramsNo[WalmartMarketplace] Values for {placeholders} in the path, e.g. {"purchaseOrderId": "1796277083022"}.
operation_idNo[WalmartMarketplace] Operation id as domain:operationId. Resolves method, path, and required headers from the spec. Src: operations.
advertiser_idYes[WalmartMarketplace] Advertiser (seller profile) id to act as. Required — selects the credential. Src: config.

Output Schema

ParametersJSON Schema
NameRequiredDescription
bodyNo
curlNo
errorNo
cached_atNo
truncatedNo
status_codeNo

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true and readOnlyHint=false, so the agent knows this can modify or delete data. The description adds that authentication headers are injected by the server, which is useful but does not elaborate on side effects or risk. Since the annotation already covers the main behavioral traits, the description adds modest context but could explicitly warn about potential for mutations or irreversible actions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only two sentences, tightly packed with the essential information: the tool is an authenticated API caller, accepts either operation_id or method+path, and that auth headers are server-managed. Every sentence earns its place, and the primary guidance is front-loaded. No fluff or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has nine parameters and an output schema, which covers return values. The description does not address error handling, pagination, or response format, but the output schema likely handles that. However, it lacks guidance on preferred usage (e.g., using operation_id when available vs raw path) and does not mention that it can call any endpoint in the spec, which could be helpful for agent decision-making. Given the schema's richness, this is adequate but not exceptional.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all nine parameters are already documented in the input schema. The description repeats the relationship between operation_id and method/path, which is also captured in the schema. It provides no additional parametric detail or syntax beyond what the schema offers, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Execute an authenticated API request' and specifies the two invocation modes (operation_id or method+path). This distinguishes it from sibling tools like list_endpoints and upload_feed, which are more specialized. The verb 'Execute' and resource 'authenticated API request' are specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains how to invoke the tool (operation_id or method+path) but provides no guidance on when to use this tool versus alternatives such as upload_feed or describe_endpoint. It does not mention any exclusions or scenarios where a sibling would be more appropriate, leaving the agent to infer that this is the low-level fallback without explicit direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

describe_endpointA
Read-only

[WalmartMarketplace] Describe one OpenAPI operation with its schema closure. Returns the operation plus every components.schemas entry reachable from it, so request bodies and responses can be built without the full spec. Server-managed auth and QoS headers are omitted — do not supply them.

ParametersJSON Schema
NameRequiredDescriptionDefault
operation_idYes[WalmartMarketplace] Operation id, qualified as domain:operationId (e.g. order-management:getAllOrders). Src: operations.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds behavioral context beyond annotations: it states that server-managed auth and QoS headers are omitted and instructs not to supply them, and it explains the output (operation plus reachable schemas). Since annotations already mark readOnlyHint=true, this extra detail is valuable and doesn't contradict.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the core function, followed by concrete output description and a clear instruction. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the existence of an output schema and the read-only annotation, the description covers what the tool returns, the intended use case, and an important behavioral note about headers. Nothing critical is missing for an agent to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides a full description of the operation_id parameter with format and example, so the tool description adds no additional parameter semantics. With 100% schema description coverage, the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: to describe an OpenAPI operation and its schema closure. It specifies the verb 'describe', the resource (an OpenAPI operation), and the additional detail of returning reachable schemas. This distinguishes it from siblings like list_endpoints (listing) and call_endpoint (calling).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies a usage scenario: when you need to understand the schema of an endpoint to build request bodies and responses without the full spec. However, it does not explicitly compare with alternatives or state when not to use it, so it's clear context but lacks explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

download_fileA
Read-only

[WalmartMarketplace] Download a report, label, or other binary payload to a local path. Give a full url, or operation_id (or method and path). Follows redirects and drops credentials when a redirect leaves Walmart's host.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlNo[WalmartMarketplace] Absolute URL to fetch, e.g. a report URL returned by a previous call.
pathNo[WalmartMarketplace] API path when not using url.
methodNo[WalmartMarketplace] HTTP method when using path.
paramsNo[WalmartMarketplace] Query string parameters.
regionYes[WalmartMarketplace] Region label, e.g. us. Src: config.
dest_pathYes[WalmartMarketplace] Local path to write the downloaded bytes to.
environmentYes[WalmartMarketplace] Target environment — production or sandbox. Src: config.
path_paramsNo[WalmartMarketplace] Values for {placeholders} in path.
operation_idNo[WalmartMarketplace] Operation id as domain:operationId. Src: operations.
advertiser_idYes[WalmartMarketplace] Advertiser (seller profile) id to act as. Src: config.

Output Schema

ParametersJSON Schema
NameRequiredDescription
pathNo
urlsNo
errorNo
status_codeNo
content_typeNo
bytes_writtenNo

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate readOnlyHint=true, so the read-only nature is covered. The description adds valuable behavioral context: it follows redirects and drops credentials when redirecting away from Walmart's host. This goes beyond the annotations and informs the agent of security-relevant behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with zero waste. The primary purpose is stated first, followed by essential behavioral detail about redirects. Every sentence earns its place and the structure is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a download tool with 10 parameters and read-only annotations, the description covers the key usage scenarios and security behavior. It does not mention output schema or file handling details, but the presence of an output schema and the tool's straightforward nature make this acceptable. Overall, it is complete enough for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so parameters have individual descriptions. The tool description adds value by clarifying the relationship between url, operation_id, and method/path (i.e., you can use one of these alternatives), which is not evident from the schema alone. However, it does not add syntax or format details beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (download), the resource type (report, label, or other binary payload), and the destination (local path). It also lists multiple ways to specify the target (full url, operation_id, or method+path), making the tool's purpose distinct from siblings like call_endpoint which are for API calls.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains how to invoke the tool (via url, operation_id, or method+path) but does not explicitly contrast it with sibling tools or state conditions for when to choose this over call_endpoint or upload_feed. The context of binary payload download is implied but not made explicit against alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_endpointsB
Read-only

[WalmartMarketplace] List OpenAPI operations with optional filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
tagNo[WalmartMarketplace] Filter to operations whose OpenAPI tags include this value.
queryNo[WalmartMarketplace] Case-insensitive substring match on operation id, path, or summary.
domainNo[WalmartMarketplace] Limit to one API domain, e.g. order-management. Src: specs.
methodNo[WalmartMarketplace] Filter by HTTP verb — GET, POST, PUT, PATCH, DELETE.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=false, so the tool is known to be read-only with a bounded scope. The description adds the concept of 'optional filters' but does not disclose any additional behavioral traits such as sorting, pagination, or the format of the returned list. Given the annotation coverage, a score of 3 is appropriate – the description provides minimal added behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that is front-loaded with the domain context ('[WalmartMarketplace]') and immediately states the core action and resource. There is zero redundancy or wasted words, making it highly scannable for an agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (read-only, all parameters optional and documented, output schema present), the description is quite complete. It could arguably mention that it returns a list of operations or that it is a discovery tool, but the output schema covers the return structure, and the tool's purpose is clear. The only minor gap is lack of explicit guidance on when to use it, but that is more about usage guidelines than contextual completeness of the operation itself.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides 100% coverage with detailed descriptions for all four parameters (tag, query, domain, method). The description's mention of 'optional filters' adds no new meaning beyond what the schema already specifies. Baseline 3 is correct because the schema does the heavy lifting; the description does not enhance parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('List') and resource ('OpenAPI operations'), and mentions optional filters, which clearly conveys the tool's purpose. It is distinguishable from siblings like 'describe_endpoint' and 'call_endpoint' by the action and resource, though it does not explicitly name those alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus the sibling tools (e.g., 'describe_endpoint', 'call_endpoint'). It does not mention that it is a discovery tool for finding operations before calling them, nor does it state any exclusions or alternatives. The agent must infer usage from the name and parameters.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

refresh_specsA
Idempotent

[WalmartMarketplace] Refresh bundled OpenAPI specs from the public registry into the user cache, which then takes precedence over the bundled copies.

ParametersJSON Schema
NameRequiredDescriptionDefault
spec_idNo[WalmartMarketplace] Refresh only this spec, e.g. order-management. Omit to refresh all. Src: specs.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate a non-read-only, idempotent, non-destructive write. The description adds that the refresh comes from the public registry and that the cache takes precedence over bundled copies, which directly informs the agent of the effect on subsequent tool calls. This goes beyond the annotation baseline and clarifies the behavioral impact.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, front-loaded sentence conveys the entire purpose and key constraint. Every word contributes meaning; there is no redundancy or filler. The description efficiently sets expectations without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For such a simple tool with one optional parameter and a full schema description, the description covers everything needed: what it refreshes, where it refreshes from, and the precedence effect. The output schema exists, and no other behavioral aspects are missing, making the definition complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The sole parameter spec_id is fully described in the schema (including an example and the 'omit to refresh all' behavior), so the schema provides complete coverage. The tool description does not add any additional parameter detail, which is appropriate given the high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action (refresh bundled OpenAPI specs) with a clear source (public registry) and destination (user cache). It also notes the behavioral consequence that the cache takes precedence over bundled copies, which clearly distinguishes it from the sibling tools that list, describe, or call endpoints.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool—when you want to update cached spec definitions—but it does not explicitly state alternatives or when not to use it. No exclusions or routing guidance are provided, so an agent must infer appropriate usage from the tool name and siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

upload_feedA

[WalmartMarketplace] Upload a feed file for a feed type. Posts the local file as multipart/form-data to /v3/feeds and returns the feed id.

ParametersJSON Schema
NameRequiredDescriptionDefault
regionYes[WalmartMarketplace] Region label, e.g. us. Src: config.
feed_typeYes[WalmartMarketplace] Walmart feedType, e.g. MP_ITEM, MP_INVENTORY, RETIRE_ITEM. Valid values are enumerated on each domain's POST /v3/feeds operation. Src: operations.
file_pathYes[WalmartMarketplace] Local path of the feed file to upload.
environmentYes[WalmartMarketplace] Target environment — production or sandbox. Src: config.
advertiser_idYes[WalmartMarketplace] Advertiser (seller profile) id to act as. Src: config.

Output Schema

ParametersJSON Schema
NameRequiredDescription
bodyNo
curlNo
errorNo
cached_atNo
truncatedNo
status_codeNo

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already set readOnlyHint=false and destructiveHint=false, so the description's mention of 'Upload' is consistent and adds no contradiction. The description does add behavioral context beyond annotations by specifying the HTTP method (multipart/form-data) and the endpoint ('/v3/feeds'), as well as the return value (feed id). It does not disclose potential side effects like asynchronous processing or rate limits, but these may be covered by the openWorldHint annotation. Overall, this is adequate 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, focused sentence that front-loads the purpose and includes the essential technical details (multipart/form-data, endpoint, return value). There is no redundant or vague phrasing; every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with 5 required parameters, all fully described in the schema, and an output schema present, the description is nearly complete. It covers the action, method, endpoint, and return value. It does not explicitly mention prerequisites like file accessibility or that the operation may be asynchronous, but these are either implied ('local path') or not critical for invocation. The description fills the essential gaps left by the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter has a documented description in the schema. The tool description does not add any extra meaning beyond restating 'feed file' and 'feed type'; it does not elaborate on parameter formats, constraints, or relationships. Since the schema already handles parameter documentation, a baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Upload a feed file'), the resource ('for a feed type'), and the specific mechanism ('Posts the local file as multipart/form-data to /v3/feeds'). It also tells the caller the key result ('returns the feed id'). This is distinct from siblings which handle endpoint listing, generic calling, or downloads, so there's no ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context (uploading a feed file) but does not explicitly state when to prefer this over other tools or provide exclusions. There is no mention of alternatives or conditions like 'use call_endpoint for non-feed operations'. However, the tool's specificity (multipart feed upload) makes the intent clear enough for most agents.

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.

  1. 6 tool updatesv0.1.0
    • First observedcall_endpoint
    • First observeddescribe_endpoint
    • First observeddownload_file
    • First observedlist_endpoints
    • First observedrefresh_specs
    • First observedupload_feed

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: listing/describing endpoints for discovery, calling endpoints for execution, uploading feeds, refreshing specs, and downloading binaries. No overlapping responsibilities that could cause misselection.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (list_endpoints, describe_endpoint, call_endpoint, upload_feed, refresh_specs, download_file). The convention is uniform and predictable.

Tool Count5/5

With 6 tools, the server is well-scoped for its purpose of interfacing with a large external API. Each tool earns its place, covering discovery, generic execution, and targeted conveniences without redundancy or bloat.

Completeness5/5

The call_endpoint tool provides generic access to all Walmart Marketplace operations, ensuring no dead ends. The other tools handle spec discovery, feed uploads, and binary downloads, covering the full lifecycle without significant gaps.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides access to WooCommerce REST API functionality, enabling product, order, customer, and coupon management.
    1,420 npm
    1
    MIT
  • A
    license
    C
    quality
    B
    maintenance
    MCP server for MoySklad (МойСклад) warehouse and CRM management API. 21 tools covering the full order lifecycle: products, stock, counterparties, customer orders, shipments, supplies, warehouses, organizations, reports, and webhooks.
    60
    54 npm
    9
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that lets you manage a Walmart Marketplace seller account in plain language, including orders, inventory, pricing, returns, WFS fulfillment, and reports.
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for Walmart Connect Ads APIs, enabling AI agents to execute any Sponsored Search or Display API endpoint with automatic RSA-SHA256 signing and download display snapshots.
    5
    1
    MIT