Skip to main content
Glama
aleccritser

storelink-mcp

by aleccritser

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STORELINK_MODENomock = in-process fixtures; http = call the real APImock
STORELINK_API_KEYNoOptional Bearer for non-store endpoints
KORRAL_GCP_PROJECTNoGCP project where Korral stores weekly-rotated store keys (required in http mode)
STORELINK_BASE_URLNoBase URL used in http modehttps://storelink.com
STORELINK_BUYER_MDNoCategory-buyer activity (readable markdown)logs/buyer-activity.md
STORELINK_AUDIT_LOGNoNDJSON audit log file pathlogs/storelink-audit.ndjson
STORELINK_BUYER_LOGNoCategory-buyer activity (JSON lines)logs/buyer-activity.ndjson
STORELINK_THREAD_IDNoOptional agent/thread id for correlating a chat
KORRAL_SECRET_PREFIXNoSecret id = {prefix}{store_id} (e.g. korral-store-47)korral-store-
GOOGLE_APPLICATION_CREDENTIALSNoPath to service account key file for GCP Secret Manager (Application Default Credentials)

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
list_storesA

List all StoreLink stores (id, name, city, country code, active flag).

Args: reason: Why you are listing stores (required for audit).

get_storeA

Get details for a single store by store_id (e.g. 47 or store-001).

Args: store_id: Store identifier. reason: Why you need this store's details (required for audit).

get_on_hand_vs_posA

Current on-hand plus POS sales for a SKU at a store (category buyer view).

Returns inventory, last-24h POS (by default), delta = units_sold − available, and a product block (name, case_pack, supplier lead_time_days) for order sizing. If delta >= 6, call create_replenishment (prefer multiples of case_pack).

Args: store_id: Store identifier (e.g. 47 or 102). sku: Product SKU (e.g. 8847291 for Madeta butter 250g). reason: Why you are checking on-hand vs POS (required for audit). since: Optional ISO-8601 start of the POS window. If omitted, defaults to 24 hours ago (UTC).

create_replenishmentA

Raise a replenishment order when get_on_hand_vs_pos delta >= 6.

Call after get_on_hand_vs_pos when units_sold − available is at least 6. Prefer ordering in multiples of product.case_pack from that response.

Args: store_id: Store identifier (e.g. 47). sku: Product SKU to replenish (e.g. 8847291). quantity: Units to order (must be > 0; prefer case_pack multiples). reason: Why you are raising this order (required for audit). order_reason: Optional note stored on the replenishment order record. priority: One of low, normal, high, urgent (default normal).

get_replenishmentB

Get status of a replenishment order by store_id and order_id.

Args: store_id: Store identifier. order_id: Replenishment order id. reason: Why you are checking order status (required for audit).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
buyer_activity_feedPlain-language activity feed for category buyers (what the agent did and why).

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/aleccritser/storelink-mcp'

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