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

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

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
73%
Vollständigkeit des Schemas
99%
Qualität der Benennung
96%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (4)

  • LOWTool 'search_products' description lacks action verbin search_products
  • LOWTool 'get_product' description lacks action verbin get_product
  • LOWTool 'check_stock' description lacks action verbin check_stock
  • LOWTool 'get_delivery_options' description lacks action verbin get_delivery_options

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~1,698Tokens (Tool-Definitionen)
~1.4 KBTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (1.33% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

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

Remote-Endpunkte

https://sampo.shop/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (9)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢search_products(q, category_id, limit)

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

Eingabe-Schema

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

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

Eingabe-Schema

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

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

Eingabe-Schema

{
  "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}.

Eingabe-Schema

{
  "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 возвращает тот же заказ.

Eingabe-Schema

{
  "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.

Eingabe-Schema

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

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

Eingabe-Schema

{
  "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. Клиент должен быть в базе. Если мессенджер не привязан, в ответе будет ссылка на бота. Код в ответ не входит.

Eingabe-Schema

{
  "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.

Eingabe-Schema

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

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet9 Tools