Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SAP_URLYesBase URL of the SAP system's ADT service, e.g. https://host:44300
SAP_USERYesSAP user to log on with; the server can do nothing beyond this user's authorizations
SAP_CLIENTNoSAP client, e.g. 100
SAP_LANGUAGENoLogon language (default EN)
SAP_PASSWORDYesPassword of the SAP user
ABAP_NO_WARMUPNo1 to skip the background logon at startup
ABAP_MCP_MAX_TIERNoHighest tool risk tier to register: 0 read-only, 1 governed customizing, 2 or unset full development surface
SAP_ALLOW_SELF_SIGNEDNotrue to accept a self-signed certificate (common on development systems)

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
sap_systemA

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.

abapA

Find and read ABAP repository objects and the dictionary: search, metadata, source, where-used, versions, packages, text elements, tables. Read-only.

Actions (pass action plus that action's parameters; connectionId picks the system): • search — Search ABAP repository objects by name or wildcard pattern and return type, name, description and ADT URL for each hit. Use it to find the URL that abap(action: "source"), abap_write(action: "write") or abap(action: "where_used") need; use abap(action: "package") to list a package instead, abap(action: "grep") to search inside source, and abap(action: "tables") for tables by keyword. Read-only; at most maxResults hits (default 50). Required: query. Optional: objectType, maxResults. • info — g. classes). Does not return source code; use abap(action: "source") for that and transport(action: "for_object") for transport and lock state. Required: url. • source — ). Give the object URL and /source/main is appended automatically if you omit it. Use abap(action: "grep") to find a pattern instead of reading everything, abap(action: "sources") for several objects at once, and abap(action: "info") for metadata only. Required: url. • sources — Return the source of several ABAP objects in one call, each under a header line with its URL. One failing URL is reported as an error entry and does not stop the others. Use abap(action: "source") for a single object. Required: urls. • grep — Find lines in one object's source that match a case-insensitive regular expression and return them as numbered lines (line number, then text). Use it to locate a statement before editing or setting a breakpoint; use abap(action: "where_used") for references across objects and abap(action: "source") to read the whole source. Read-only; searches a single object per call and reads the full source first. Required: url, pattern. • where_used — List where an ABAP object, or a symbol inside it, is used (the where-used list). Returns each usage as a location with a source snippet when SAP provides snippets, otherwise as name, type and URL. For symbol-level search pass line and column of the symbol in the object's source. Required: url. Optional: line, column. • versions — List the stored revisions of an ABAP object, one line per revision: version id, date, author and version title. Lists metadata only, not the source of each version. Use it to see who changed an object and when; use transport(action: "for_object") for its current transport. Required: url. • package — List the objects directly inside an ABAP package, grouped by object type, with name and description (at most maxObjects per package). Sub-packages appear as entries of type DEVC/K; includeSubPackages also lists the contents of those one level down. Use it to explore a package; use abap(action: "search") to find an object by name across packages. Required: packageName. Optional: includeSubPackages, maxObjects. • text_elements — 4). Omit category to retrieve all three. Required: objectType, objectName. Optional: category. • inactive — List ABAP objects with an inactive version (saved but not activated): type, name and ADT URL, for the connected user's inactive worklist. Use it after abap_write(action: "write") to find what still needs activating, then pass the URLs to abap_write(action: "activate") or abap_write(action: "activate_many"). Read-only; takes no object input. • table — Show all field names, types, lengths, and descriptions for a SAP database table or view. Key fields are marked with 🔑. Use this after abap(action: "tables") to understand the structure before querying, so you know which fields to filter or select. Required: tableName. • tables — Find database tables and views by keyword when you do not know the technical name, via the ADT object search for types TABL and VIEW. Returns kind, name, package and description per hit, sorted by name, for standard, industry and Z/Y objects alike. Follow with abap(action: "table") for the fields, then data(action: "rows") or data(action: "query") (off unless ABAP_MCP_DATA_TOOLS=1) for the rows; use abap(action: "search") for other object types. Required: keyword. Optional: maxResults.

abap_testA

Check ABAP code: syntax check, ABAP Unit, ATC. Changes no source.

Actions (pass action plus that action's parameters; connectionId picks the system): • syntax — Run the SAP syntax check on source text you supply, in the context of an existing object, without saving or locking anything. Returns each message as line:column, severity and text, or a no-errors confirmation. Use it before abap_write(action: "write"); use abap_test(action: "atc") for quality checks on the saved object. Required: url, source. Optional: mainUrl.

transportA

Transport requests: the open and released ones with their objects, one request's details, and which request an object is on. Read-only.

Actions (pass action plus that action's parameters; connectionId picks the system): • list — List transport requests of all users (or one owner), grouped by owner and newest first: number, kind, status, date, description, the piece of work it is remembered for, and optionally its objects including its tasks' objects. Reads the CTS tables E070, E07T and E071 (with SQL through ADT, which needs S_TABU_DIS; in governed mode through the engine, which needs S_TRANSPRT display). Use transport(action: "mine" | "details") or transport_write(action: "create" | "release" | "delete" | "change_owner") with list for one user's open requests and details for a single request. Optional: status, owner, withObjects. • for_object — Report how a change to an ABAP object is transported: its package, whether recording is needed (a local $ package needs none), the request it is already locked into, and the open requests the transport layer allows. Use it before abap_write(action: "write") or abap_write(action: "delete") to pick a transport; transport(action: "list") shows open requests generally. Read-only; takes no lock and creates no request. Required: url. Optional: packageName.

transport_writeC

Create, release, delete and reassign transport requests, and move objects between requests with their dependencies. Release and delete are irreversible.

Actions (pass action plus that action's parameters; connectionId picks the system): • move — Move object entries from one transport request/task to another, or reassign a whole task to another request — with the checks a careful Basis colleague makes first. DRY RUN by default: shows the plan, runs SAP's own test move (TR_MOVE_OBJECTS test mode), and reports what the moved objects use and are used by on other open requests, with the release order that follows. commit: true moves and verifies in E071. Required: from, to. Optional: objects, includeParts, commit, autoDeploy.

customizingA

Customizing (IMG/SPRO): find activities, describe and read maintenance objects and tables, compare keys, plan a change, show the system's recording status. Read-only.

Actions (pass action plus that action's parameters; connectionId picks the system): • search — Search the SAP Implementation Guide (IMG / SPRO) for customizing activities by keyword, using the IMG index (CUS_IMGACT activity titles) joined to the maintenance object. Returns activity IDs, SPRO titles, maintenance objects, and their pattern (V=view→VDAT, S=table→TABU, C=cluster→CDAT, T=transaction, D=doc). g. Required: keyword. Optional: namespace, inScopeOnly, language, maxResults. • describe — Describe a SAP customizing view or table: underlying base table, all fields with key markers, delivery class (transport behaviour), authorization group (S_TABU_DIS), maintenance program, and foreign-key references on key fields (org-unit candidates). Use after customizing(action: "search") to understand the structure before reading or changing config. Required: objectName. Optional: language. • read — Read the current rows of a customizing table or maintenance view (a view is resolved to its base table) as an aligned text table, optionally filtered to rows where one key field equals one value. The filter applies only when both keyField and keyValue are given. Use customizing(action: "diff") to compare two org units, customizing(action: "describe") for the field list, and data(action: "rows") for non-customizing tables. Required: objectName. Optional: keyField, keyValue, maxRows. • diff — g. plant 1000 vs plant 2000, or company code DE01 vs AT01). Shows rows present in source but missing from target, and vice versa. Required: objectName, keyField, sourceKey, targetKey. • plan — g. plant 1000 to a new plant 2000), with the maintenance view, delivery class and transport object. Nothing is written and the in-system engine is not needed, so it works before the engine is installed. Required: objectName, keyField, sourceKey, targetKey. Optional: onlyMissing. • status — Check the result of an asynchronous customizing write (customizing_write(action: "copy" | "delete") with commit: true) by its run_id. The write runs in a background job for headless transport recording; if it doesn't finish within apply's poll budget, apply returns a run_id — use this tool to poll until it reports ok/error. Required: runId. Optional: icfPath.

customizing_writeA

Change customizing through the engine's SM30 path, recorded on Customizing requests: copy or delete entries, create entries, copy or delete a whole org unit, list articles, copy retail sites.

Actions (pass action plus that action's parameters; connectionId picks the system): • copy — Copy the entries of one key to another in a maintenance object (SM30 runtime, recorded on a Customizing request). Required: table, keyField, targetKey. Optional: sourceKey, values, transport, onlyMissing, commit, recordTransport, createTransport, transportText, showAllTransports, workItem, autoDeploy, icfPath. • delete — Delete the entry of one key in a maintenance object (SM30 runtime, recorded on a Customizing request). Required: table, keyField, targetKey. Optional: sourceKey, values, transport, onlyMissing, commit, recordTransport, createTransport, transportText, showAllTransports, workItem, autoDeploy, icfPath. • create — Create new customizing rows from explicit field/value maps — full keys (including COMPOSITE keys) and distinct per-row values, with NO source row to copy from. g. storage locations T001L (key WERKS+LGORT) each with their own LGOBE description. Required: table, rows. Optional: transport, onlyMissing, commit, recordTransport, recordTableKeys, createTransport, transportText, showAllTransports, workItem, autoDeploy, icfPath. • org_copy — Copy an org unit (company code, plant, sales org, …) with all dependent customizing to a new key. Required: orgUnit, sourceKey. Optional: targetKey, commit, retestScope, createTransport, autoDeploy, icfPath. • org_delete — Delete an org unit's entries with all dependent customizing. Required: orgUnit, sourceKey. Optional: targetKey, commit, retestScope, createTransport, autoDeploy, icfPath. • retail_listing — List one or more articles into retail assortments via SAP's standard listing engine (EXECUTE_LISTING_ART_ASSORT_RFC, determine_data=X). Listing EXTENDS each article to the assortment's assigned sites (creating the plant/valuation segments) and writes the WLK1 listing conditions, so the article becomes available at those sites. Listing into a GENERAL assortment propagates to all its assigned sites (incl. Required: items. Optional: commit, autoDeploy, icfPath. • site_copy — Create retail sites from a reference retail site without the GUI (WB01 cannot run headless). Per site: copy the plant with its customizing (customizing_write(action: "org_copy" | "org_delete") WERKS), set the site's name and street on T001W and its plant profile row (RFM_SITE_C_WRF1), then SAP's standard site copy (RFM_SITE_COPY_FROM_REFSITE_RFC): business partner and customer from the reference partner, site master data, site assortment; T001W then uses the customer address and the copied plant address is deleted. Ends with a parity check: row counts of the reference and the new site in every table keyed on KUNNR, WERKS, ASORT or BWKEY, with the expected differences explained. Required: refSite, sites. Optional: commit, createTransport, transport, workItem, showAllTransports, skipTables, autoDeploy, icfPath.

bwA

BW objects of any type: capabilities of the system's BW, list, read and where-used. Read-only.

Actions (pass action plus that action's parameters; connectionId picks the system): • capabilities — 5 line through SAP_BW, BW/4HANA through DW4CORE, or none), whether transport recording and where-used are available, and per BW object type which operations work (available), lack an API on this system (no_api) or are not built yet (not_built). Read it first on a new system. Runs in SAP through the engine's BW class; read-only. Optional: type. • list — List BW objects of one type by name pattern, with their long text: any type in BW's registry (InfoObjects, ADSOs, InfoAreas, CompositeProviders, transformations, DTPs, process chains, InfoCubes, …). Read-only; at most 1000, default 200. Use bw(action: "read") for one object and bw(action: "where_used") for its users. Required: type. Optional: pattern, version, language, maxRows. • read — Read one BW object: which versions exist (A active, M modified), its package, and its header rows from BW's own table; for an InfoObject the full definition through BAPI_IOBJ_GETDETAIL (details, compounds, attributes, navigation attributes). Read-only. Required: type, name. Optional: version. • where_used — Show which BW objects use a BW object and which objects it uses, from BW's where-used table RSOOBJXREF (the list BW itself checks before a delete). Read-only. Required: type, name. Optional: version.

bw_writeA

Create, change, activate and delete BW objects through BW's own APIs, recorded on Workbench requests. Dry run unless commit: true.

Actions (pass action plus that action's parameters; connectionId picks the system): • create — Create a BW object through BW's own API, by default activated afterwards. This version creates InfoObjects (type IOBJ) through BAPI_IOBJ_CREATE; bw(action: "capabilities") shows what else the system and this version support. details holds BAPI6108 fields, for example a characteristic: { TYPE: "CHA", DATATP: "CHAR", INTLEN: 10, TEXTSHORT: "Short", TEXTLONG: "Long text", INFOAREA: "" }, a key figure: { TYPE: "KYF", KYFTP: "AMO", UNINM: "0CURRENCY" }; an unknown field is refused; read an existing one with bw(action: "read") to see the fields. Required: type, name, definition. Optional: package, activate, commit, transport, workItem, showAllTransports. • change — Change a BW object through BW's own API, starting from its current definition: values sets single fields, and a table given replaces that table. By default activated afterwards. This version changes InfoObjects through BAPI_IOBJ_CHANGE. Required: type, name. Optional: values, compounds, attributes, navigationAttributes, activate, commit, transport, workItem, showAllTransports. • activate — Activate a BW object's modified version through BW's own API (InfoObjects: BAPI_IOBJ_ACTIVATE_MULTIPLE). Dry run unless commit: true; records on a Workbench request when the object's package records changes. Required: type, name. Optional: commit, transport, workItem, showAllTransports. • delete — Delete a BW object through BW's own function (InfoObjects: RSDG_IOBJ_MULTI_DELETE), which refuses while other objects still use it (see bw(action: "where_used")). In a package that records changes the object is first recorded on a Workbench request, so the deletion reaches the other systems when the request is imported; an object already locked on a request uses that one. Dry run unless commit: true. Required: type, name. Optional: commit, transport, workItem, showAllTransports.

adminA

This server's SAP sessions and the in-system Customizing Engine: re-login, ping, install, update, self-test, remove.

Actions (pass action plus that action's parameters; connectionId picks the system): • engine_ping — Call the Customizing Engine's SICF endpoint with a ping and report the deployed version against the version this server expects, plus the release, client and which engine features the system offers. Use it to confirm admin(action: "engine_install") worked and the SICF service is active; a version mismatch means run bootstrap again. Read-only: changes nothing in SAP. Optional: icfPath, rawDump. • engine_selftest — Non-destructively validate the engine's risky internals — dynamic table typing, sample read, flat TABKEY construction, and (if a transport is given) TR_OBJECTS_INSERT in SIMULATION mode — without writing data or recording any transport. Auto-deploys the engine class if needed. Run this after the first bootstrap to confirm the write path will work before any real commit. Optional: table, transport, autoDeploy, icfPath.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 10 tools

Disambiguation4/5

The tools are cleanly split by SAP domain (abap, customizing, bw, transport, sap_system) and by read-only versus _write variants. A few internal overlaps exist, such as customizing_write's site_copy composing org_copy and customizing.status polling customizing_write runs, but the descriptions make these distinctions workable.

Naming Consistency4/5

Most tool names follow a predictable domain-noun pattern with _write appended for mutating counterparts: customizing/customizing_write, bw/bw_write, transport/transport_write. abap_test and admin are reasonable but less consistent exceptions; overall the naming remains very readable.

Tool Count5/5

Ten top-level tools is well within the appropriate range for a broad SAP configuration/admin suite, and each major domain is represented by a dispatcher. The action-heavy nature of each tool is a design choice rather than a count problem.

Completeness2/5

Several tools and actions are referenced by other descriptions but are absent from the actual tool list: abap_write, data, abap_debug, admin install/update/remove, abap_test unit/ATC, and transport_write create/release/delete/change_owner. This creates significant dead ends for core write and verification workflows despite broad read-only coverage.

Maintenance

ActivityActive
ResponsivenessNo recent community issues