Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REPLENISHRADAR_API_KEYYesYour ReplenishRadar API key (rr_sk_live_...)
REPLENISHRADAR_API_URLNoAPI base URL (for self-hosted/testing)https://api.replenishradar.com

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
rr_get_stockout_risk

Get items at risk of stocking out, sorted by days to stockout. Filter by risk level, SKU, or store.

rr_get_inventory_position

Get stock-by-location breakdown for a single item. Returns on-hand quantities across all warehouses and stores.

rr_get_demand_forecastB

Get demand forecast statistics (mu/sigma) for a SKU or item. Returns active forecast windows.

rr_get_suggested_purchase_orders

Get system-generated purchase order suggestions based on demand forecasts and stockout risk.

rr_get_replenishment_actions

List canonical buyer work across supplier PO, transfer, combined, and no-action replenishment outcomes. Prefer this over suggested purchase orders or alerts for deciding what action to take next.

rr_get_replenishment_action

Get one replenishment action with child item provenance, immutable snapshots, linked execution records, and event history.

rr_get_alerts

Get inventory alerts (stockout warnings, sync failures, reorder points). Supports filtering by type, severity, status, and SKU.

rr_list_items

List catalog items with optional search, vendor filtering, and pagination. Returns SKU, display name, lead time, and supplier info.

rr_get_sync_status

Get recent data sync runs (Shopify, Amazon). Returns sync status, timing, and error details.

rr_list_suppliersA

List all suppliers/vendors for the organization. Optionally include vendor SKU mappings.

rr_list_purchase_ordersB

List purchase orders with filtering by status, vendor, and search. Supports pagination.

rr_get_purchase_orderA

Get a single purchase order with full details including line items and vendor info.

rr_get_po_pdf

Get the PDF generation endpoint for a purchase order.

rr_get_po_documents

List documents attached to a purchase order (invoices, packing slips, etc.).

rr_get_po_notes

Get notes/comments on a purchase order.

rr_get_sales_history

Get daily sales history (units sold, revenue) for a SKU or store over a date range.

rr_get_top_sellers

Get top-selling SKUs ranked by units sold over a date range.

rr_get_slow_movers

Overstock / dead-stock / slow movers: SKUs you are holding (on-hand > 0) that aren't selling. Returns on_hand, units sold in the window, and a dead_stock flag. Inventory-first, so never-sold dead stock is surfaced too.

rr_get_inventory_value

Get total inventory value and per-SKU breakdown. Cost/value fields require sensitive_read capability.

rr_get_sku_health

Get a high-level SKU health snapshot: stockout risk counts by level and active alert counts by type.

rr_get_lost_sales

Estimate lost sales from current stockouts based on demand velocity and days out of stock.

rr_get_store_health

Diagnose connected store health, sync status, and connection errors.

rr_get_data_freshness

Get data freshness by inventory dimension before quoting operational numbers.

rr_get_setup_status

Get onboarding milestones, setup completion state, and next recommended step.

rr_get_recent_activity

Get recent alerts, purchase orders, and sync activity counts.

search_knowledge

Search ReplenishRadar product knowledge for grounded answers.

rr_evaluate_fit

Evaluate whether ReplenishRadar fits your use case (deterministic ICP + tier match) and capture demand signal. Mirrors the public agent-intake survey; reads no org data.

rr_trigger_sync

Trigger a data sync from Shopify or Amazon. Respects 5-minute cooldown to prevent spam.

rr_acknowledge_alert

Acknowledge an active alert with an optional note.

rr_create_purchase_order

Create a new purchase order (always created as draft). Include line items with SKUs and quantities.

rr_import_purchase_orders

Import open and historical purchase orders from a CSV export (Stocky / Inventory Planner migration). One row per line item, grouped by po_number; both tools' column names are recognized. Records received quantities as a snapshot only - never moves stock. Idempotent on po_number. preview defaults to true (validate without writing); pass preview=false to commit.

rr_update_purchase_order

Update a draft or in-review purchase order (notes, expected delivery date, vendor).

rr_add_po_note

Add a note/comment to a purchase order.

rr_request_approval

Request human approval for a purchase order. Returns a time-limited approval URL (15 min) to share with a team member.

rr_send_purchase_order

Mark an approved purchase order as sent. Requires prior human approval via rr_request_approval.

rr_cancel_purchase_order

Cancel a purchase order. Cannot cancel POs with status cancelled, received, or closed.

rr_add_replenishment_action_note

Add a note to a replenishment action.

rr_dismiss_replenishment_action

Dismiss a replenishment action with an optional reason.

rr_prepare_replenishment_actionA

Preview a replenishment action and return its current updated_at before executing. Use the returned updated_at as expected_updated_at on execute/resolve/retry.

rr_execute_replenishment_actionA

Execute a replenishment action in draft mode: creates a draft purchase order and/or draft transfer order for the action's items. Idempotent by idempotency_key; rejects with conflict if the action changed since prepare (stale expected_updated_at) or if the same key is reused with a different payload or actor. Never auto-sends to suppliers and never commits stock.

rr_resolve_replenishment_actionA

Resolve a replenishment action as no-action with a reason. Idempotent; requires idempotency_key and expected_updated_at and applies the same stale-state conflict contract as execute.

rr_retry_replenishment_actionA

Retry a blocked or failed replenishment action by re-running the draft execution path. Idempotent; requires idempotency_key and expected_updated_at and applies the same stale-state conflict contract as execute.

rr_get_document_upload_urlC

Create a document record for a purchase order (invoice, packing slip, etc.). Requires Scale tier.

rr_record_pi_reviewB

Record proforma invoice details on a purchase order (PI number, date, total, terms).

rr_create_locationB

Create a manual inventory location such as warehouse, 3PL, or inbound location.

rr_set_stock_at_locationC

Set stock quantity for a SKU at a manual location.

rr_get_agent_contextA

Get one agent context entry by namespace and key. Expired entries are omitted. The namespace must be granted to this API key by a human admin.

rr_set_agent_contextA

Store a bounded JSON object under a namespace and key. The value must be a JSON object (max 16 KiB), must not contain secrets or raw PII, and ttl_seconds is optional and capped at 90 days. The namespace must be granted to this key.

rr_list_agent_contextA

List live agent context entries for a single namespace. The namespace is required and the limit is bounded (max 200). This tool never lists across namespaces.

rr_delete_agent_contextA

Delete one agent context entry by namespace and key. Records actor provenance. The namespace must be granted to this key.

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/ReplenishRadar/MCP'

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