Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
pyaterochka_statusA

Show local setup state. Read-only; call this before shopping.

set_storeA

Select a Pyaterochka delivery store by its SAP code. No purchase.

find_nearest_storeC

Find the delivery store for coordinates.

Read-only unless select=true. Do not pass a private address: use coordinates
already chosen by the user.
list_categoriesA

List product categories for the selected delivery store. Read-only.

search_productsB

Search available products and prices at the selected store. Read-only.

list_category_productsA

List products in one category for the selected store. Read-only.

get_productA

Get one product's current price, stock, ingredients and attributes.

view_cartA

Show the live cart. Requires a locally captured cart_get endpoint.

add_to_cartA

Add a product. No charge; invalidates any earlier checkout preview.

update_cart_itemA

Set exact cart quantity; zero removes the product. No charge.

clear_cartA

Remove all cart items. No charge.

list_delivery_intervalsA

List currently available delivery types and time intervals. Read-only.

select_delivery_intervalB

Select EXPRESS, SUPERFAST, or a listed INTERVAL. Does not place an order.

list_payment_methodsA

List masked payment methods. Never exposes full card numbers.

select_payment_methodA

Choose a listed payment method and optionally remember its linked id.

Remembering stores only the upstream method id, never card number or CVV. New/unlinked cards cannot be remembered until Pyaterochka exposes them as linked payment methods after the official payment flow.

clear_preferred_payment_methodA

Forget the local preferred method id. Does not alter or delete a card.

set_order_detailsA

Set delivery details and comments. Does not charge or submit an order.

checkout_previewA

Recalculate checkout and remember an immutable fingerprint.

Charges nothing, but may write payment selection, loyalty recalculation,
and revised prices to the shared upstream cart. Show the total and items to
the user; obtain an explicit confirmation before confirm_order.
confirm_orderA

Submit and potentially charge a REAL order.

Fail-closed: disabled by default, requires a fresh preview, exact total,
unchanged live cart fingerprint/version, a selected delivery interval and
payment method, and a configured maximum total. Submit is never retried.
active_ordersA

List the current active order. Read-only; requires a captured session.

order_historyA

List recent orders with personal address and contact fields redacted.

get_order_statusA

Read one order's current status; personal fields are redacted.

list_cancel_reasonsA

List cancellation reason codes accepted by the current 5ka API.

cancel_orderA

Cancel an order.

Call only after the user explicitly asks to cancel this exact order id.
Obtain reason_code from list_cancel_reasons and show the selected reason
before calling this tool.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shi-kirill/pyaterochka-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server