Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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.

ListTransports

[read-only] List transport requests for the current or specified user. Returns modifiable and/or released workbench and customizing requests.

ReadClass

[read-only] Read ABAP class source code and metadata (package, responsible, description, etc.).

ReadInterface

[read-only] Read ABAP interface source code and metadata (package, responsible, description, etc.).

ReadTable

[read-only] Read ABAP table definition and metadata (package, responsible, description, etc.).

ReadStructure

[read-only] Read ABAP structure definition and metadata (package, responsible, description, etc.).

ReadView

[read-only] Read ABAP view (CDS view) source code and metadata (package, responsible, description, etc.).

ReadDomain

[read-only] Read ABAP domain definition and metadata (package, responsible, description, etc.).

ReadDataElement

[read-only] Read ABAP data element definition and metadata (package, responsible, description, etc.).

ReadFunctionModule

[read-only] Read ABAP function module source code and metadata (package, responsible, description, etc.).

ReadFunctionGroup

[read-only] Read ABAP function group source code and metadata (package, responsible, description, etc.).

ReadPackage

[read-only] Read ABAP package definition and metadata (super-package, responsible, description, etc.).

ReadServiceDefinition

[read-only] Read ABAP service definition source code and metadata (package, responsible, description, etc.).

ReadMetadataExtension

[read-only] Read ABAP metadata extension (DDLX) source code and metadata (package, responsible, description, etc.).

ReadBehaviorDefinition

[read-only] Read ABAP behavior definition source code and metadata (package, responsible, description, etc.).

ReadBehaviorImplementation

[read-only] Read ABAP behavior implementation source code and metadata (package, responsible, description, etc.).

ReadServiceBinding

[read-only] Read ABAP service binding source/payload and metadata (package, responsible, description, etc.).

GetTypeInfo

[read-only] Retrieve ABAP type information.

GetTransaction

[read-only] Retrieve ABAP transaction details.

RuntimeCreateProfilerTraceParameters

[runtime] Create ABAP profiler trace parameters and return profilerId (URI) for profiled execution.

RuntimeListProfilerTraceFiles

[runtime] List ABAP profiler trace files available in ADT runtime. Returns parsed JSON payload.

RuntimeGetProfilerTraceData

[runtime] Read profiler trace data by trace id/uri: hitlist, statements, or db accesses. Returns parsed JSON payload.

RuntimeListDumps

[runtime] List ABAP runtime dumps with optional user filter and paging. Returns parsed JSON payload.

RuntimeGetDumpById

[runtime] Read a specific ABAP runtime dump by dump ID. Returns parsed JSON payload.

RuntimeRunClassWithProfiling

[runtime] Execute ABAP class with profiler enabled and return created profilerId + traceId.

RuntimeAnalyzeProfilerTrace

[runtime] Read profiler trace view and return compact analysis summary (totals + top entries).

RuntimeAnalyzeDump

[runtime] Read runtime dump by ID and return compact analysis summary with key fields.

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. Returns parsed list of referencing objects with their types and packages.

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. Creates the table object in initial state. Use UpdateTable to set DDL code afterwards.

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. Creates the view object in initial state. Use UpdateView to set DDL source code afterwards.

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.

CreateServiceBinding

Create ABAP service binding via ADT Business Services endpoint. XML is generated from high-level parameters.

ListServiceBindingTypes

List available service binding types (for example ODataV2/ODataV4) from ADT Business Services endpoint.

GetServiceBinding

Retrieve ABAP service binding source/metadata by name via ADT Business Services endpoint.

UpdateServiceBinding

Update publication state for ABAP service binding via AdtServiceBinding workflow.

ValidateServiceBinding

Validate service binding parameters (name, service definition, package, version) via ADT validation endpoint.

DeleteServiceBinding

Delete ABAP service binding via ADT Business Services endpoint.

GetClass

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

CreateClass

Create a new ABAP class in SAP system. Creates the class object in initial state. Use UpdateClass to set source code afterwards.

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. Creates the test class in initial state.

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).

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