Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
GetFunction

[read-only] Retrieve ABAP Function Module source code.

GetTableContents

[read-only] Retrieve contents of an ABAP table.

GetPackageContents

[read-only] Retrieve objects inside an ABAP package as a flat list. Supports recursive traversal of subpackages.

GetInclude

[read-only] Retrieve source code of a specific ABAP include file.

GetIncludesList

[read-only] Recursively discover and list ALL include files within an ABAP program or include.

GetEnhancements

[read-only] Retrieve a list of enhancements for a given ABAP object.

GetEnhancementSpot

[read-only] Retrieve metadata and list of implementations for a specific enhancement spot.

GetEnhancementImpl

[read-only] Retrieve source code of a specific enhancement implementation by its name and enhancement spot.

GetTransport

[read-only] Retrieve ABAP transport request information including metadata, included objects, and status from SAP system.

GetProgFullCode

[read-only] Returns the full code for a program or function group, including all includes, in tree traversal order.

GetTypeInfo

[read-only] Retrieve ABAP type information.

GetTransaction

[read-only] Retrieve ABAP transaction details.

GetSqlQuery

[read-only] Execute freestyle SQL queries via SAP ADT Data Preview API.

GetWhereUsed

[read-only] Retrieve where-used references for ABAP objects via ADT usageReferences. Uses Eclipse ADT-compatible two-step workflow with optional scope customization.

GetObjectInfo

[read-only] Return ABAP object tree: root, group nodes, and terminal leaves up to maxDepth. Enrich each node via SearchObject if enrich=true. Group nodes are included for hierarchy. Each node has node_type: root, point, end.

GetAbapAST

[read-only] Parse ABAP code and return AST (Abstract Syntax Tree) in JSON format.

GetAbapSemanticAnalysis

[read-only] Perform semantic analysis on ABAP code and return symbols, types, scopes, and dependencies.

GetAbapSystemSymbols

[read-only] Resolve ABAP symbols from semantic analysis with SAP system information including types, scopes, descriptions, and packages.

GetSession

[read-only] Get a new session ID and current session state (cookies, CSRF token) for reuse across multiple ADT operations. Use this to maintain the same session and lock handle across multiple requests.

GetInactiveObjects

[read-only] Get a list of inactive ABAP objects (objects that have been modified but not activated).

GetAdtTypes

[read-only] Retrieve all valid ADT object types.

GetObjectStructure

[read-only] Retrieve ADT object structure as a compact JSON tree.

GetObjectNodeFromCache

[read-only] Returns a node from the in-memory objects list cache by OBJECT_TYPE, OBJECT_NAME, TECH_NAME, and expands OBJECT_URI if present.

DescribeByList

[read-only] Batch description for a list of ABAP objects. Input: objects: Array<{ name: string, type?: string }>. Each object may be of type: PROG/P, FUGR, PROG/I, CLAS/OC, FUGR/FC, INTF/OI, TABLE, STRUCTURE, etc.

GetVirtualFoldersLow

[low-level] Retrieve hierarchical virtual folder contents from ADT information system. Used for browsing ABAP objects by package, group, type, etc.

GetNodeStructureLow

[low-level] Fetch node structure from ADT repository. Used for object tree navigation and structure discovery. Can use session_id and session_state from GetSession to maintain the same session.

GetObjectStructureLow

[low-level] Retrieve ADT object structure as compact JSON tree. Returns XML response with object structure tree. Can use session_id and session_state from GetSession to maintain the same session.

GetPackageTree

[high-level] Retrieve complete package tree structure including subpackages and objects. Returns hierarchical tree with object names, types, and descriptions.

CreatePackage

Create a new ABAP package in SAP system. Packages are containers for development objects and are essential for organizing code.

GetPackage

Retrieve ABAP package metadata (description, super-package, etc.). Supports reading active or inactive version.

CreateDomain

Create a new ABAP domain in SAP system with all required steps: lock, create, check, unlock, activate, and verify.

GetDomain

Retrieve ABAP domain definition. Supports reading active or inactive version.

UpdateDomain

Update an existing ABAP domain in SAP system.

Workflow:

  1. Acquires lock on the domain

  2. Updates domain with provided parameters (complete replacement)

  3. Performs syntax check

  4. Unlocks domain

  5. Optionally activates domain (default: true)

  6. Returns updated domain details

Note: All provided parameters completely replace existing values. Use GetDomain first to see current values if needed.

DeleteDomain

Delete an ABAP domain from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.

CreateDataElement

Create a new ABAP data element in SAP system with all required steps: create, activate, and verify.

GetDataElement

Retrieve ABAP data element definition. Supports reading active or inactive version.

UpdateDataElement

Update an existing ABAP data element in SAP system.

Workflow:

  1. Gets domain info (if type_kind is 'domain') to extract dataType/length/decimals

  2. Acquires lock on the data element

  3. Updates data element with provided parameters (complete replacement)

  4. Unlocks data element

  5. Optionally activates data element (default: true)

  6. Returns updated data element details

Supported type_kind values:

  • domain: Based on ABAP domain (requires type_name = domain name)

  • predefinedAbapType: Direct ABAP type (requires data_type, length, decimals)

  • refToPredefinedAbapType: Reference to ABAP type (requires data_type, length, decimals)

  • refToDictionaryType: Reference to another data element (requires type_name = data element name)

  • refToClifType: Reference to class (requires type_name = class name)

Note: All provided parameters completely replace existing values. Field labels are truncated to max lengths (10/20/40/55).

DeleteDataElement

Delete an ABAP data element from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.

CreateTransport

Create a new ABAP transport request in SAP system for development objects.

CreateTable

Create a new ABAP table via the ADT API using provided DDL. Mirrors Eclipse ADT behaviour with status/check runs, lock handling, activation and verification.

GetTable

Retrieve ABAP table definition. Supports reading active or inactive version.

UpdateTable

Update DDL source code of an existing ABAP table. Locks the table, uploads new DDL source, and unlocks. Optionally activates after update. Use this to modify existing tables without re-creating metadata.

DeleteTable

Delete an ABAP table from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.

CreateStructure

Create a new ABAP structure in SAP system with fields and type references. Includes create, activate, and verify steps.

GetStructure

Retrieve ABAP structure definition. Supports reading active or inactive version.

UpdateStructure

Update DDL source code of an existing ABAP structure. Locks the structure, uploads new DDL source, and unlocks. Optionally activates after update. Use this to modify existing structures without re-creating metadata.

DeleteStructure

Delete an ABAP structure from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.

CreateView

Create CDS View or Classic View in SAP using DDL syntax. Both types use the same API workflow, differing only in DDL content (CDS has @AbapCatalog.sqlViewName and other annotations).

GetView

Retrieve ABAP view definition. Supports reading active or inactive version.

UpdateView

Update DDL source code of an existing CDS View or Classic View. Locks the view, checks new code, uploads new DDL source, unlocks, and optionally activates.

DeleteView

Delete an ABAP view from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.

CreateServiceDefinition

Create a new ABAP service definition for OData services. Service definitions define the structure and behavior of OData services. Uses stateful session for proper lock management.

GetServiceDefinition

Retrieve ABAP service definition definition. Supports reading active or inactive version.

UpdateServiceDefinition

Update source code of an existing ABAP service definition. Uses stateful session with proper lock/unlock mechanism.

DeleteServiceDefinition

Delete an ABAP service definition from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.

GetClass

Retrieve ABAP class source code. Supports reading active or inactive version.

CreateClass

Create a new ABAP class with optional activation. Manages validation, lock, check, update, unlock, and optional activation.

UpdateClass

Update source code of an existing ABAP class. Locks, checks, updates, unlocks, and optionally activates.

DeleteClass

Delete an ABAP class from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.

CreateUnitTest

Start an ABAP Unit test run for provided class test definitions. Returns run_id for status/result queries.

RunUnitTest

Start an ABAP Unit test run for provided class test definitions. Returns run_id for status/result queries.

GetUnitTest

Retrieve ABAP Unit test run status and result for a previously started run_id.

GetUnitTestStatus

Retrieve ABAP Unit test run status for a run_id.

GetUnitTestResult

Retrieve ABAP Unit test run result for a run_id.

UpdateUnitTest

Update an ABAP Unit test run. Note: ADT does not support updating unit test runs and will return an error.

DeleteUnitTest

Delete an ABAP Unit test run. Note: ADT does not support deleting unit test runs and will return an error.

CreateCdsUnitTest

Create a CDS unit test class with CDS validation, class template, and local test class source.

GetCdsUnitTest

Retrieve CDS unit test run status and result for a previously started run_id.

GetCdsUnitTestStatus

Retrieve CDS unit test run status for a run_id.

GetCdsUnitTestResult

Retrieve CDS unit test run result for a run_id.

UpdateCdsUnitTest

Update a CDS unit test class local test class source code.

DeleteCdsUnitTest

Delete a CDS unit test class (global class).

GetLocalTestClass

Retrieve local test class source code from a class. Supports reading active or inactive version.

CreateLocalTestClass

Create a local test class in an ABAP class. Manages lock, check, update, unlock, and optional activation of parent class.

UpdateLocalTestClass

Update a local test class in an ABAP class. Manages lock, check, update, unlock, and optional activation of parent class.

DeleteLocalTestClass

Delete a local test class from an ABAP class by clearing the testclasses include. Manages lock, update, unlock, and optional activation of parent class.

GetLocalTypes

Retrieve local types source code from a class (implementations include). Supports reading active or inactive version.

CreateLocalTypes

Create local types in an ABAP class (implementations include). Manages lock, check, update, unlock, and optional activation.

UpdateLocalTypes

Update local types in an ABAP class (implementations include). Manages lock, check, update, unlock, and optional activation.

DeleteLocalTypes

Delete local types from an ABAP class by clearing the implementations include. Manages lock, update, unlock, and optional activation.

GetLocalDefinitions

Retrieve local definitions source code from a class (definitions include). Supports reading active or inactive version.

CreateLocalDefinitions

Create local definitions in an ABAP class (definitions include). Manages lock, check, update, unlock, and optional activation.

UpdateLocalDefinitions

Update local definitions in an ABAP class (definitions include). Manages lock, check, update, unlock, and optional activation.

DeleteLocalDefinitions

Delete local definitions from an ABAP class by clearing the definitions include. Manages lock, update, unlock, and optional activation.

GetLocalMacros

Retrieve local macros source code from a class (macros include). Supports reading active or inactive version. Note: Macros are supported in older ABAP versions but not in newer ones.

CreateLocalMacros

Create local macros in an ABAP class (macros include). Manages lock, check, update, unlock, and optional activation. Note: Macros are supported in older ABAP versions but not in newer ones.

UpdateLocalMacros

Update local macros in an ABAP class (macros include). Manages lock, check, update, unlock, and optional activation. Note: Macros are supported in older ABAP versions but not in newer ones.

DeleteLocalMacros

Delete local macros from an ABAP class by clearing the macros include. Manages lock, update, unlock, and optional activation. Note: Macros are supported in older ABAP versions but not in newer ones.

CreateProgram

Create a new ABAP program (report) in SAP system with source code. Supports executable programs, includes, module pools. Uses stateful session for proper lock management.

GetProgram

Retrieve ABAP program definition. Supports reading active or inactive version.

UpdateProgram

Update source code of an existing ABAP program. Locks the program, checks new code, uploads new source code, and unlocks. Optionally activates after update. Use this to modify existing programs without re-creating metadata.

DeleteProgram

Delete an ABAP program from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.

CreateInterface

Create a new ABAP interface in SAP system with source code. Interfaces define method signatures, events, and types for implementation by classes. Uses stateful session for proper lock management.

GetInterface

Retrieve ABAP interface definition. Supports reading active or inactive version.

UpdateInterface

Update source code of an existing ABAP interface. Uses stateful session with proper lock/unlock mechanism. Lock handle and transport number are passed in URL parameters.

DeleteInterface

Delete an ABAP interface from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.

CreateFunctionGroup

Create a new ABAP function group in SAP system. Function groups serve as containers for function modules. Uses stateful session for proper lock management.

GetFunctionGroup

Retrieve ABAP function group definition. Supports reading active or inactive version.

UpdateFunctionGroup

Update metadata (description) of an existing ABAP function group. Function groups are containers for function modules and don't have source code to update directly. Uses stateful session with proper lock/unlock mechanism.

DeleteFunctionGroup

Delete an ABAP function group from the SAP system. Includes deletion check before actual deletion. Transport request optional for $TMP objects.

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/fr0ster/mcp-abap-adt'

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