sap-ewm-io-agent
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SAP_PASSWORD | Yes | SAP password for authentication. | |
| SAP_USERNAME | Yes | SAP username for authentication. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_stock_overviewA | Returns EWM stock overview records (warehouse/storage type/bin/quantity/batch/owner) from the confirmed ZC_EWM_STOCK_OVERVIEW_CDS view. Does NOT support filtering by ERP plant or storage_location (those fields don't exist on this EWM-level view) and does NOT return any age/last-movement timestamp (none exists on this entity). |
| get_bin_utilizationA | Returns EWM bin-level utilization (block flags, distinct material count, empty flag) from the confirmed ZC_EWM_BIN_UTILIZATION_CDS view. NOTE: the raw field IsBlockedForOutbound actually blocks PUTAWAYS (inbound) per its own SAP quickinfo, and IsBlockedForInbound actually blocks STOCK REMOVALS (outbound). This tool returns both the raw fields and semantically-named aliases (isPutawayBlocked / isStockRemovalBlocked) to avoid that ambiguity. |
| get_storage_type_capacityA | Returns per-storage-type capacity utilization (bins, max/free capacity, volume, weight) for a warehouse, from the confirmed ZC_EWM_STORAGE_CAPACITY_CDS view. |
| get_goods_movement_historyA | BLOCKED. ZC_EWM_GOODS_MOVEMENT_HIST_CDS has no date field to support date_from/date_to filtering, and it is unconfirmed whether the view reads ORDIM_C (confirmed history) or ORDIM_O (open/in-progress tasks). Calling this tool currently raises an error explaining the gap rather than returning data. |
| abc_xyz_classifyA | Classifies materials by ABC (value/Pareto) and XYZ (demand variability) and returns the combined 9-cell matrix label (e.g. 'AX'). DEPENDS ON: caller-supplied { id, value } items for ABC and { id, demandSeries } items for XYZ — demand series cannot currently be sourced automatically from get_goods_movement_history, which is blocked pending CDS-view confirmation (see goodsMovementHistory.js). |
| calc_safety_stockC | Calculates safety stock via the Z-score method (service-level driven). DEPENDS ON: demand/lead-time statistics which would normally come from get_goods_movement_history (currently blocked) — for now, pass these values directly. |
| calc_reorder_pointA | Calculates reorder point = (avgDemandPerPeriod * avgLeadTimePeriods) + safetyStock. DEPENDS ON: calc_safety_stock's output (or an equivalent safetyStock value) and the same demand/lead-time inputs — ultimately sourced from get_goods_movement_history, which is currently blocked (see that tool's file). |
| detect_slow_moving_stockA | Flags slow-moving/dead stock by on-hand quantity vs. days-since-last-movement. Pulls on-hand quantities live from get_stock_overview for the given warehouse. DEPENDS ON: caller-supplied daysSinceLastMovement per material — this CANNOT currently be derived from get_goods_movement_history (blocked, no date field on that CDS view). Pass a movementAgeByMaterial map keyed by MaterialId. |
| forecast_demandA | Forecasts next-period demand via simple moving average (sma) or single exponential smoothing (ses). DEPENDS ON: a historical demand series which would normally come from get_goods_movement_history (currently blocked) — pass demandSeries directly for now. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Each tool targets a distinct inventory analysis function: ABC/XYZ classification, reorder point calculation, safety stock, slow-moving detection, demand forecasting, bin utilization, stock overview, storage capacity, and goods movement history. No two tools overlap in purpose, and descriptions clearly differentiate them.
Tool names use snake_case and are generally descriptive, but conventions vary: retrieval tools start with 'get_', calculations with 'calc_', but 'abc_xyz_classify', 'detect_slow_moving_stock', and 'forecast_demand' break this pattern. The mix is still readable but lacks a uniform verb prefix.
9 tools is a well-scoped set for inventory analytics in SAP EWM. It covers core data retrieval (stock, bins, capacity) and key calculations (ABC/XYZ, safety stock, reorder point, slow-moving, forecast) without being overwhelming or too sparse.
The server has a critical gap: get_goods_movement_history is blocked, yet it is a dependency for demand forecasting, safety stock, reorder point, and slow-moving detection. This undermines the server's ability to function autonomously, as agents must provide external data for these tools. No write operations exist, which is acceptable for a read-only analytics agent, but the missing data source is a serious limitation.