Супермаркет САМПО

Каталог и заказ супермаркета САМПО. Оплата на странице банка.

我该使用它吗

质量与安全性

A
描述质量
73%
模式完整度
99%
命名质量
96%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(4)

  • LOWTool 'search_products' description lacks action verb在 search_products 中
  • LOWTool 'get_product' description lacks action verb在 get_product 中
  • LOWTool 'check_stock' description lacks action verb在 check_stock 中
  • LOWTool 'get_delivery_options' description lacks action verb在 get_delivery_options 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,698token 数(工具定义)
~1.4 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.33%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "catalog": {
      "url": "https://sampo.shop/mcp"
    }
  }
}

远程端点

https://sampo.shop/mcpstreamable-http

它能做什么

工具清单

工具(9)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_products(q, category_id, limit)

Найти товары каталога. Без авторизации.

输入模式

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "description": "Строка поиска"
    },
    "category_id": {
      "type": "integer",
      "description": "Идентификатор категории"
    },
    "limit": {
      "type": "integer",
      "description": "Сколько позиций вернуть, не больше 20"
    }
  },
  "required": [],
  "additionalProperties": false
}
🟢get_product(goods_id)

Карточка товара и ступени количества. Без авторизации.

输入模式

{
  "type": "object",
  "properties": {
    "goods_id": {
      "type": "integer",
      "description": "Идентификатор товара"
    }
  },
  "required": [
    "goods_id"
  ],
  "additionalProperties": false
}
🟢check_stock(goods_id, qty)

Сколько штук можно заказать сейчас. Без авторизации.

输入模式

{
  "type": "object",
  "properties": {
    "goods_id": {
      "type": "integer",
      "description": "Идентификатор товара"
    },
    "qty": {
      "type": "integer",
      "description": "Сколько штук нужно"
    }
  },
  "required": [
    "goods_id",
    "qty"
  ],
  "additionalProperties": false
}
⚪quote_cart(lines, mode, service, city, street, ...)

Итог корзины по текущим ценам и остатку. Заказ не создаёт. Без авторизации. Тело — объект lines: массив строк {goods_id, min_qty, cards}.

输入模式

{
  "type": "object",
  "properties": {
    "lines": {
      "type": "array",
      "description": "Строки: goods_id, min_qty ступени, cards — сколько таких упаковок",
      "items": {
        "type": "object",
        "properties": {
          "goods_id": {
            "type": "integer",
            "description": "Идентификатор товара, как в адресе /catalog/{id}"
          },
          "min_qty": {
            "type": "integer",
            "description": "Ступень с карточки: сколько штук в одной упаковке"
          },
          "cards": {
            "type": "integer",
            "description": "Сколько таких упаковок. Пусто — одна"
          }
        },
        "required": [
          "goods_id",
          "min_qty"
        ]
      }
    },
    "mode": {
      "type": "string",
      "description": "pickup, city или distant. Пусто — только товары"
    },
    "service": {
      "type": "string",
      "description": "cdek или dostavista"
    },
    "city": {
      "type": "string",
      "description": "Город"
    },
    "street": {
      "type": "string",
      "description": "Улица"
    },
    "house": {
      "type": "string",
      "description": "Дом"
    },
    "tariff_code": {
      "type": "integer",
      "description": "Тариф СДЭК"
    },
    "pvz_code": {
      "type": "string",
      "description": "Код пункта выдачи"
    }
  },
  "required": [
    "lines"
  ],
  "additionalProperties": false
}
🟡create_checkout(idempotency_key, lines, mode, name, phone, ...)

Создать заказ и ссылку на страницу банка. Нужен вход пользователя и scope checkout. Телефон клиента берётся из его аккаунта. Цена и остаток считаются заново. Повтор с тем же idempotency_key возвращает тот же заказ.

输入模式

{
  "type": "object",
  "properties": {
    "idempotency_key": {
      "type": "string",
      "description": "Ключ повтора, до 80 символов"
    },
    "lines": {
      "type": "array",
      "description": "Строки: goods_id, min_qty ступени, cards — сколько таких упаковок",
      "items": {
        "type": "object",
        "properties": {
          "goods_id": {
            "type": "integer",
            "description": "Идентификатор товара, как в адресе /catalog/{id}"
          },
          "min_qty": {
            "type": "integer",
            "description": "Ступень с карточки: сколько штук в одной упаковке"
          },
          "cards": {
            "type": "integer",
            "description": "Сколько таких упаковок. Пусто — одна"
          }
        },
        "required": [
          "goods_id",
          "min_qty"
        ]
      }
    },
    "mode": {
      "type": "string",
      "description": "pickup, city или distant"
    },
    "name": {
      "type": "string",
      "description": "Имя получателя"
    },
    "phone": {
      "type": "string",
      "description": "Не передавайте. Телефон берётся из аккаунта вошедшего клиента и обязателен"
    },
    "email": {
      "type": "string",
      "description": "Почта"
    },
    "personal_data": {
      "type": "string",
      "description": "Согласие на обработку данных: 1"
    },
    "service": {
      "type": "string",
      "description": "cdek или dostavista"
    },
    "city": {
      "type": "string",
      "description": "Город"
    },
    "region": {
      "type": "string",
      "description": "Регион"
    },
    "street": {
      "type": "string",
      "description": "Улица"
    },
    "house": {
      "type": "string",
      "description": "Дом"
    },
    "flat": {
      "type": "string",
      "description": "Квартира"
    },
    "postal_code": {
      "type": "string",
      "description": "Индекс"
    },
    "tariff_code": {
      "type": "integer",
      "description": "Тариф СДЭК"
    },
    "pvz_code": {
      "type": "string",
      "description": "Код пункта выдачи"
    },
    "slot": {
      "type": "string",
      "description": "Слот Достависты"
    },
    "comment": {
      "type": "string",
      "description": "Комментарий"
    }
  },
  "required": [
    "idempotency_key",
    "lines",
    "mode",
    "name",
    "personal_data"
  ],
  "additionalProperties": false
}
🟢get_order_status(order)

Статус своего заказа. Нужен вход пользователя и scope checkout.

输入模式

{
  "type": "object",
  "properties": {
    "order": {
      "type": "string",
      "description": "Номер QD-… или uuid заказа"
    }
  },
  "required": [
    "order"
  ],
  "additionalProperties": false
}
🟢get_delivery_options(city, cdek_code, q, limit)

Сроки и способы доставки. Для Санкт-Петербурга — слоты Достависты, ближайший первый. Для другого города — срок СДЭК и пункты выдачи. Без авторизации.

输入模式

{
  "type": "object",
  "properties": {
    "city": {
      "type": "string",
      "description": "Город"
    },
    "cdek_code": {
      "type": "integer",
      "description": "Код города СДЭК, если известен"
    },
    "q": {
      "type": "string",
      "description": "Фильтр пункта: улица, метро или код"
    },
    "limit": {
      "type": "integer",
      "description": "Сколько пунктов вернуть, не больше 30"
    }
  },
  "required": [
    "city"
  ],
  "additionalProperties": false
}
⚪request_login_code(phone, channel)

Отправить код входа клиенту, который сам попросил войти. Канал: sms, telegram или max. Клиент должен быть в базе. Если мессенджер не привязан, в ответе будет ссылка на бота. Код в ответ не входит.

输入模式

{
  "type": "object",
  "properties": {
    "phone": {
      "type": "string",
      "description": "Телефон клиента"
    },
    "channel": {
      "type": "string",
      "description": "sms, telegram или max"
    }
  },
  "required": [
    "phone",
    "channel"
  ],
  "additionalProperties": false
}
⚪confirm_login(phone, code, password)

Завершить вход. Передайте код, который клиент получил и сообщил, либо его пароль. В ответе токен scope checkout.

输入模式

{
  "type": "object",
  "properties": {
    "phone": {
      "type": "string",
      "description": "Телефон клиента"
    },
    "code": {
      "type": "string",
      "description": "Код из СМС, Telegram или MAX"
    },
    "password": {
      "type": "string",
      "description": "Пароль, если клиент хочет войти им"
    }
  },
  "required": [
    "phone"
  ],
  "additionalProperties": false
}

社区

评价此服务器

证据

最近观测

已验证未记录版本9 个工具