SAP System
sap_systemInspect configured SAP systems and read-only state: list connections, ABAP short dumps, kernel memory parameters, and HANA memory metrics for troubleshooting and capacity checks.
Instructions
The configured SAP systems and their state: connections, ADT services, short dumps, memory. Read-only.
Actions (pass action plus that action's parameters; connectionId picks the system): • systems — List the SAP systems this server is configured for: connection id, URL, user and client, with the default connection marked. Call this first when more than one system is configured, and pass the id as connectionId to any other tool. SOAP RFC connections are flagged as read-only (tables and sources only, no ADT). • dumps — List ABAP runtime dumps (the short dumps shown in ST22) from the SAP system: category, short text, dump id and user. Lists them only; it does not return the dump text or stack. Use it to find a failing run after abap_debug(action: "run_class") or abap_test(action: "unit"), then open the dump in ST22. Optional: query. • abap_memory — Report the ABAP application server's key kernel memory / box-health profile parameters (PHYS_MEMSIZE, em/initial_size_MB extended memory, abap/heap_area_*, ztta/roll_*, abap/buffersize, work-process counts) via C_SAPGPARAM — basis-only, so it works on any ABAP box. Companion to sap_system(action: "hana_memory"): on a single-host AS+DB appliance, read BOTH and check that HANA global_allocation_limit + ABAP working memory + OS ≤ physical RAM (over-commit shows up as swap). 16+. Optional: icfPath. • hana_memory — M_* monitoring views — read-only). Reports host RAM/swap, per-service usage, top heap allocators, the largest loaded column tables, row store, SQL plan cache, and the configured global_allocation_limit. Use when the system is slow/swapping or before resizing. Optional: icfPath.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "sap_system"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | dumps: Free-text filter passed to the ADT dump feed; omit to list the dumps ADT returns by default | |
| action | Yes | What to do: systems, dumps, abap_memory, hana_memory (see the tool description) | |
| icfPath | No | abap_memory, hana_memory: SICF path of the engine (default: /sap/bc/zmcp_cust) | |
| connectionId | No | dumps, abap_memory, hana_memory: SAP system connection ID |