sap-datasphere-mcp

v2.0.3
sap-datasphere-mcp Checked 20 hours ago Published 3 months ago

Model Context Protocol server for SAP Datasphere — MCP SDK v2 / 2026-07-28 stateless spec, Streamable HTTP, per-asset capability discovery, and config-driven…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

analyze_column_distribution

Perform advanced statistical analysis of a column's data distribution including nulls, distinct values, percentiles, and outlier detection. **Use this tool when:** - User asks "What's the data quality of AMOUNT column?" - Performing data profiling before analytics - Assessing column completeness and distribution - Detecting outliers and data anomalies - Understanding data patterns for ML/AI **What you'll get:** - Basic statistics (count, nulls, distinct values, completeness) - Numeric statistics (min, max, mean, percentiles) - Distribution analysis (top values, frequency) - Outlier detection…

ParameterTypeDescription
asset_name *stringAsset (table/view) name containing the column
column_name *stringColumn name to analyze (e.g., 'SALES_AMOUNT', 'CUSTOMER_AGE', 'ORDER_STATUS')
space_id *stringSpace ID containing the asset (e.g., 'SAP_CONTENT', 'SALES_ANALYTICS')
include_outliersbooleanOptional: Detect and report outliers using IQR method. Default: true
sample_sizeintegerOptional: Number of records to analyze (10-10000). Default: 1000. Larger samples = more accurate but slower.

browse_marketplace

Browse and search available data packages in the SAP Datasphere marketplace. **Use this tool when:** - User asks "What data packages are available?" - Looking for external reference data (benchmarks, currency rates, etc.) - Exploring marketplace offerings - Planning to enrich internal data with external sources **What you'll get:** - Package IDs and names - Package descriptions and categories - Provider information - Package versions and sizes - Pricing information (Free or paid) **Categories:** - Reference Data (industry benchmarks, standards) - Financial Data (currency rates, market data)…

ParameterTypeDescription
categorystringOptional: Filter by category (e.g., 'Reference Data', 'Financial Data'). Leave empty to browse all.
search_termstringOptional: Search keyword for package names or descriptions (e.g., 'currency', 'benchmark'). Case-insensitive.

create_database_user

Create a new database user in a SAP Datasphere space with specified permissions. **IMPORTANT: This is a HIGH-RISK tool that requires user consent before execution.** **Use this tool when:** - User requests "Create a database user named JEFF in SALES" - Setting up new user access for applications or analysts - Configuring data ingestion users - Establishing read-only consumption users **Required parameters:** - space_id: The space where user will be created - database_user_id: User name suffix (e.g., 'JEFF', 'REPORTING_USER') - user_definition: JSON object defining permissions and settings…

ParameterTypeDescription
database_user_id *stringDatabase user name suffix (e.g., 'JEFF', 'ANALYST', 'ETL_USER'). Will be prefixed with space name.
space_id *stringThe space ID where user will be created (e.g., 'SALES', 'FINANCE'). Must be uppercase.
user_definition *objectJSON object defining user permissions and settings. Must include 'consumption' and 'ingestion' sections.
output_filestringOptional: Path to save user credentials JSON (e.g., 'jeff.json'). RECOMMENDED for security - credentials shown only once!

delete_database_user

Delete a database user from a SAP Datasphere space. **IMPORTANT: This is a HIGH-RISK tool that requires user consent before execution.** **WARNING: This action is IRREVERSIBLE. User and all associated permissions are permanently deleted.** **Use this tool when:** - User explicitly requests "Delete database user JEFF from SALES" - Decommissioning user accounts - Removing unauthorized access - Cleaning up test/temporary users - User left organization **What happens:** - User account is permanently deleted - All active sessions terminated immediately - All granted privileges revoked - Cannot b…

ParameterTypeDescription
database_user_id *stringDatabase user name suffix to delete (e.g., 'JEFF', 'TEMP_USER'). WILL BE PERMANENTLY DELETED.
space_id *stringThe space ID containing the database user (e.g., 'SALES', 'FINANCE'). Must be uppercase.
forcebooleanSkip confirmation dialog. Default: false (ask for confirmation). Set true only if user explicitly confirmed deletion.

execute_query

Execute read-only SQL queries against SAP Datasphere tables to retrieve and analyze data. **IMPORTANT: This is a HIGH-RISK tool that requires user consent before execution.** **Use this tool when:** - User explicitly requests data retrieval (e.g., "Show me customers from USA") - Need to perform data analysis with aggregations - Joining multiple tables for insights - Filtering and sorting data **Capabilities:** - SELECT queries with full SQL syntax (WHERE, JOIN, GROUP BY, ORDER BY, LIMIT) - Read-only access - NO write operations allowed - Results limited to 100 rows by default (configurable…

ParameterTypeDescription
space_id *stringThe Datasphere space ID where tables exist (e.g., 'SALES_ANALYTICS', 'FINANCE_DWH'). Must be uppercase.
sql_query *stringThe SELECT query to execute. Must start with SELECT. Examples: 'SELECT * FROM CUSTOMER_DATA LIMIT 10', 'SELECT customer_id, COUNT(*) FROM SALES_ORDERS GROUP BY customer_id'
limitintegerMaximum number of rows to return. Default: 100. Range: 1-1000. Use smaller limits for faster responses.

find_assets_by_column

Find all assets (tables/views) containing a specific column name across SAP Datasphere spaces. **Use this tool when:** - User asks "Which tables contain CUSTOMER_ID?" - Performing data lineage analysis - Impact analysis before schema changes - Finding datasets for specific use cases - Locating related data across spaces **What you'll get:** - Asset names and types (View, Table, etc.) - Space IDs where assets are located - Column information (name, type, position) - Total column count per asset - Consumption URLs for data access **Use cases:** - Data lineage discovery (find all uses of a col…

ParameterTypeDescription
column_name *stringColumn name to search for (case-insensitive by default). Examples: 'CUSTOMER_ID', 'SALES_AMOUNT', 'ORDER_DATE'
case_sensitivebooleanOptional: Perform case-sensitive column name matching. Default: false
max_assetsintegerOptional: Maximum number of matching assets to return (1-200). Default: 50
space_idstringOptional: Limit search to specific space (e.g., 'SAP_CONTENT'). Leave empty to search all spaces.

get_analytical_metadata

Retrieve CSDL metadata for analytical consumption of a specific asset. Returns analytical schema with dimensions, measures, hierarchies, and aggregation information for BI and analytics integration. Automatically identifies analytical elements based on SAP annotations.

ParameterTypeDescription
asset_id *stringAsset identifier (e.g., 'SAP_SC_FI_AM_FINTRANSACTIONS')
space_id *stringSpace identifier (e.g., 'SAP_CONTENT')
identify_dimensions_measuresbooleanAutomatically identify dimensions and measures based on annotations (default: true)

get_analytical_model

Get the OData service document and metadata for a specific analytical model. Returns entity sets, dimensions, measures, and query capabilities. Parses CSDL metadata (OData V4) to identify analytical properties via Common.Label / Analytics.Dimension / Analytics.Measure / Analytics.AggregationRole annotations, with V2 sap:* attributes kept as a fallback.

ParameterTypeDescription
asset_id *stringAsset identifier
space_id *stringSpace identifier
include_metadatabooleanInclude parsed CSDL metadata with dimensions and measures (default: true)

get_asset_by_compound_key

Retrieve asset using OData compound key identifier (alternative access method). **Use this tool when:** - You have both space ID and asset ID ready - Want direct access without knowing the exact endpoint structure - Working with bookmarked or favorited assets - Have pre-known asset identifiers from other systems - Need to resolve cross-references quickly **What you'll get:** - Same comprehensive metadata as get_asset_details - Complete asset information with consumption URLs - All dimensions, measures, and relationships - Technical and business context **Required parameters:** - space_id: T…

ParameterTypeDescription
asset_id *stringThe asset identifier (e.g., 'SAP_SC_FI_AM_FINTRANSACTIONS', 'CUSTOMER_VIEW').
space_id *stringThe space identifier in UPPERCASE (e.g., 'SAP_CONTENT', 'SALES_SPACE').

get_asset_details

Get comprehensive metadata for a specific SAP Datasphere asset. **Use this tool when:** - User asks "Show me details about the Financial Transactions asset" - Need complete asset documentation and structure - Want to understand asset dimensions, measures, and relationships - Looking for consumption URLs to access the data - Checking asset business purpose and technical details - Validating asset availability before integration **What you'll get:** - Complete asset metadata (name, description, business purpose) - Space information and ownership details - Asset type and consumption type (analy…

ParameterTypeDescription
asset_id *stringThe asset identifier (e.g., 'SAP_SC_FI_AM_FINTRANSACTIONS', 'CUSTOMER_VIEW').
space_id *stringThe space ID in UPPERCASE format (e.g., 'SAP_CONTENT', 'SALES_ANALYTICS'). Must match exactly.
expand_fieldsarrayRelated entities to expand (e.g., ['columns', 'relationships', 'metadata']).

get_asset_variables

Retrieve input parameters/variables and filter-capability annotations declared in the OData $metadata of a SAP Datasphere asset (wave 2026.10). Use this when the asset is parameterised (e.g., a view or analytic model with input variables) and you need to know what variables to bind and which fields are filterable/sortable before querying. Returns variables (name, type, default, nullable, multi_value), filter annotations, and the column list.

ParameterTypeDescription
asset_id *stringAsset identifier (view or analytic model exposed for consumption)
space_id *stringSpace identifier (e.g., 'SAP_CONTENT')

get_available_scopes

List available OAuth2 scopes for the current user, showing which scopes are granted and which are available but not granted. Includes scope descriptions and the token's current scopes. Use this to understand API access capabilities and troubleshoot permission issues.

get_current_user

Get authenticated user information including user ID, email, display name, roles, permissions, and account status. Use this to understand the current user's identity and access rights in SAP Datasphere.

get_deployed_objects

List runtime/deployed objects that are actively running in SAP Datasphere. Returns deployment status, runtime metrics, execution history for data flows, and performance statistics. Use this for monitoring deployed assets, tracking execution status, analyzing runtime performance, and identifying active vs inactive objects.

ParameterTypeDescription
space_id *stringSpace identifier (e.g., 'SAP_CONTENT')
include_metricsbooleanInclude runtime performance metrics (query times, execution stats, cache hit rates)
object_typesarrayFilter by object types: Table, View, AnalyticalModel, DataFlow
runtime_statusstringFilter by runtime status: Active, Running, Idle, Error, Suspended
skipintegerNumber of results to skip for pagination (default: 0)
topintegerMaximum number of results to return (default: 50, max: 500)

get_object_definition

Get complete design-time object definition from SAP Datasphere repository. Retrieves detailed structure, logic, transformations, and metadata for tables (with columns, keys, indexes), views (with SQL definitions), analytical models (with dimensions/measures), and data flows (with transformation steps). Use this for understanding object implementation details, extracting schema information, or planning migrations.

ParameterTypeDescription
object_id *stringObject identifier/name (e.g., 'FINANCIAL_TRANSACTIONS', 'CUSTOMER_VIEW')
space_id *stringSpace identifier (e.g., 'SAP_CONTENT')
include_dependenciesbooleanInclude dependency information (upstream sources and downstream consumers)
include_full_definitionbooleanInclude complete object definition with all details (columns, transformations, logic)

get_relational_entity_metadata

Get detailed metadata for a specific relational entity including column definitions, data types, SQL type mappings, and ETL extraction capabilities. Optimized for data warehouse loading and transformation workflows.

ParameterTypeDescription
asset_id *stringAsset/entity identifier (e.g., 'SAP_SC_FI_AM_FINTRANSACTIONS')
space_id *stringSpace identifier (e.g., 'SAP_CONTENT')
include_sql_typesbooleanInclude SQL type mappings for target databases (default: true)

get_relational_metadata

Retrieve CSDL metadata for relational consumption of a specific asset. Returns complete schema information including tables, columns, data types, primary/foreign keys, and relationships for relational data access and ETL planning. Includes SQL type mapping.

ParameterTypeDescription
asset_id *stringAsset identifier (e.g., 'CUSTOMER_VIEW')
space_id *stringSpace identifier (e.g., 'SAP_CONTENT')
map_to_sql_typesbooleanMap OData types to SQL types (default: true)

get_space_assets

List all data assets within a specific SAP Datasphere space. **Use this tool when:** - User asks "What assets are in the SAP_CONTENT space?" - Browsing assets within a specific space - Creating a space-specific asset inventory - Filtering assets by type within a space - Validating space contents and available data - Understanding what data is available in a space **What you'll get:** - All assets within the specified space - Asset names, descriptions, and types - Exposure status for each asset - Consumption URLs (analytical and relational) - Creation and modification timestamps - Asset count…

ParameterTypeDescription
space_id *stringThe space ID in UPPERCASE format (e.g., 'SAP_CONTENT', 'SALES_ANALYTICS'). Must match exactly.
filter_expressionstringOData filter expression (e.g., "assetType eq 'AnalyticalModel'" or "exposedForConsumption eq true").
skipintegerNumber of results to skip for pagination (default: 0).
topintegerMaximum number of results to return (default: 50, max: 1000).

get_space_info

Get comprehensive information about a specific SAP Datasphere space. **Use this tool when:** - User asks about a specific space (e.g., "Tell me about SALES_ANALYTICS") - You need to see what tables/views exist in a space - Checking space configuration and metadata - Following up from list_spaces() results **What you'll get:** - Complete space metadata (status, owner, created date) - List of all tables and views in the space - Table schemas and row counts - Connection information **Required parameter:** - space_id: Must be uppercase (e.g., 'SALES_ANALYTICS', 'FINANCE_DWH') **Example queries…

ParameterTypeDescription
space_id *stringThe space ID in UPPERCASE format (e.g., 'SALES_ANALYTICS', 'FINANCE_DWH', 'HR_ANALYTICS'). Must match exactly.

get_table_schema

Get detailed schema information for a specific table or view. **Use this tool when:** - User asks "What columns are in CUSTOMER_DATA?" - Need to understand table structure before querying - Planning JOIN operations (need to see key columns) - Checking data types for analysis **What you'll get:** - Complete column list with data types - Primary key indicators - Column descriptions - Table metadata (row count, last updated) **Required parameters:** - space_id: The space containing the table (uppercase) - table_name: Exact table name (case-sensitive, usually uppercase) **Example queries:** -…

ParameterTypeDescription
space_id *stringThe space ID containing the table (e.g., 'SALES_ANALYTICS'). Must be uppercase.
table_name *stringExact table or view name (e.g., 'CUSTOMER_DATA', 'SALES_ORDERS'). Case-sensitive, typically uppercase.

get_task_history

Get the execution history for a specific task chain or object in SAP Datasphere. **Use this tool when:** - Viewing all previous runs of a task chain - Analyzing task execution patterns - Finding failed runs to investigate - Checking historical performance - Auditing task chain executions - Understanding run frequency and duration **What you'll get:** - Array of all historical task runs for the specified object - Each entry includes: logId, status, startTime, endTime, runTime - Sorted by most recent first - Shows RUNNING, COMPLETED, FAILED, CANCELLED runs **Required parameters:** - space_id:…

ParameterTypeDescription
object_id *stringThe task chain name/identifier to get history for (e.g., 'Daily_ETL_Pipeline', 'Customer_Sync').
space_id *stringThe space ID containing the task chain (e.g., 'SALES_SPACE', 'FINANCE'). Must be uppercase.

get_task_log

Get detailed information about a specific task execution in SAP Datasphere. **Use this tool when:** - Checking status of a running task (after run_task_chain) - Investigating why a task failed - Viewing detailed execution logs and messages - Monitoring task chain progress - Debugging data pipeline issues **What you'll get (depends on detail_level):** - **status** (default): Simple status object {"status": "COMPLETED"} - **status_only**: Just the status string "COMPLETED" - **detailed**: Full details including messages and child nodes - **extended**: Extended logs with complete message detail…

ParameterTypeDescription
log_id *integerThe log ID to retrieve details for (obtained from run_task_chain or get_task_history).
space_id *stringThe space ID where the task ran (e.g., 'SALES_SPACE', 'FINANCE'). Must be uppercase.
detail_levelstringLevel of detail to return. Options: 'status' (default), 'status_only', 'detailed', 'extended'.

get_task_status

Get status and execution details of data integration and ETL tasks. **Use this tool when:** - User asks "What tasks are running?" - Monitoring data pipeline execution - Checking when data was last refreshed - Troubleshooting failed tasks **What you'll get:** - Task IDs and names - Execution status (COMPLETED, RUNNING, FAILED, SCHEDULED) - Last run timestamp and next scheduled run - Execution duration and records processed - Associated space information **Filtering options:** - No parameters: Show all tasks - task_id: Get specific task details - space_id: Show all tasks for a space **Exampl…

ParameterTypeDescription
space_idstringOptional: Filter tasks by space (e.g., 'SALES_ANALYTICS'). Shows only tasks associated with that space.
task_idstringOptional: Specific task ID to check (e.g., 'DAILY_SALES_ETL'). Leave empty to see all tasks.

get_tenant_info

Retrieve SAP Datasphere tenant configuration and system information including tenant ID, region, version, license type, storage quota/usage, user count, space count, enabled features, and maintenance windows. Use this for system administration and capacity planning.

list_analytical_datasets

List all available analytical datasets within a specific asset. Discovers analytical models that can be queried for business intelligence and reporting. Returns entity sets with their names, types, and URLs for data access.

ParameterTypeDescription
asset_id *stringAsset identifier (e.g., 'SAP_SC_FI_AM_FINTRANSACTIONS')
space_id *stringSpace identifier (e.g., 'SAP_CONTENT')
skipintegerNumber of datasets to skip for pagination
topintegerMaximum number of datasets to return (default: 50, max: 1000)

list_catalog_assets

Browse all data assets across all SAP Datasphere spaces. **Use this tool when:** - User asks "What assets are available in Datasphere?" - Building a complete data catalog or asset inventory - Discovering available data assets across all spaces - Searching for specific asset types across the system - Understanding the overall data landscape **What you'll get:** - Asset IDs and names across all spaces - Asset types (AnalyticalModel, View, Table) - Space information for each asset - Consumption URLs (analytical and relational) - Exposure status and metadata URLs - Creation and modification time…

ParameterTypeDescription
filter_expressionstringOData filter expression (e.g., "spaceId eq 'SAP_CONTENT'" or "assetType eq 'AnalyticalModel'").
include_countbooleanInclude total count of matching assets (default: false).
select_fieldsarraySpecific fields to return (e.g., ['name', 'description', 'spaceId']). If not specified, returns all fields.
skipintegerNumber of results to skip for pagination (default: 0).
topintegerMaximum number of results to return (default: 50, max: 1000).

list_connections

List all external data source connections and their current status. **Use this tool when:** - User asks "What data sources are connected?" - Checking connection health and availability - Understanding data lineage and sources - Troubleshooting data refresh issues **What you'll get:** - Connection IDs and names - Connection types (SAP_ERP, SALESFORCE, EXTERNAL, etc.) - Connection status (CONNECTED, DISCONNECTED, ERROR) - Host information and last tested timestamp **Supported connection types:** - SAP_ERP, SAP_S4HANA, SAP_BW - SALESFORCE, EXTERNAL - SNOWFLAKE, DATABRICKS - POSTGRESQL, MYSQL,…

ParameterTypeDescription
connection_typestringOptional: Filter by specific connection type (e.g., 'SAP_ERP', 'SALESFORCE', 'EXTERNAL'). Leave empty to show all connections.

list_database_users

List all database users in a specific SAP Datasphere space. **Use this tool when:** - User asks "What database users exist in SALES space?" - Auditing user access and permissions - Checking who has database access to a space - Before creating a new database user (avoid duplicates) **What you'll get:** - Database user IDs and full names - User status (ACTIVE, INACTIVE) - Access permissions and privileges - Last login information - Audit policy settings **Required parameter:** - space_id: The space ID (uppercase, e.g., 'SALES', 'FINANCE') **Example queries:** - "List all database users in SA…

ParameterTypeDescription
space_id *stringThe space ID in UPPERCASE format (e.g., 'SALES', 'FINANCE', 'HR'). Must match exactly.
output_filestringOptional: Path to save output as JSON file (e.g., 'users.json'). If not provided, results display in response.

list_relational_entities

List all available relational entities (tables/views) within a specific SAP Datasphere asset for row-level data access and ETL operations. Returns OData entity sets that can be queried for detailed data extraction.

ParameterTypeDescription
asset_id *stringAsset identifier (e.g., 'SAP_SC_FI_AM_FINTRANSACTIONS')
space_id *stringSpace identifier (e.g., 'SAP_CONTENT')
topintegerMaximum number of entities to return (default: 50, max: 1000)

list_spaces

List all SAP Datasphere spaces with their status and metadata. **Use this tool when:** - User asks "What spaces are available?" or "Show me all spaces" - You need to discover available Datasphere environments - Starting data exploration workflow - Checking space status and availability **What you'll get:** - Space IDs and names - Space status (ACTIVE, DEVELOPMENT, etc.) - Table/view counts per space - Owner information (with include_details=True) **Example queries:** - "What Datasphere spaces exist?" - "Show me all data spaces" - "Which spaces are active?" **Next steps after using this too…

ParameterTypeDescription
include_detailsbooleanSet to true to include detailed information (owner, created date, connection counts). Default: false for quick space listing.

query_analytical_data

Execute OData queries on analytical models to retrieve aggregated data with dimensions and measures. Supports full OData query syntax: $select (column selection), $filter (WHERE conditions), $orderby (sorting), $top/$skip (pagination), $apply (aggregations with sum/average/min/max/count/groupby). Perfect for business intelligence, reporting, and data analysis.

ParameterTypeDescription
asset_id *stringAsset identifier
entity_set *stringEntity set name to query
space_id *stringSpace identifier
applystringAggregation transformations (e.g., 'groupby((Currency), aggregate(Amount with sum as TotalAmount))')
countbooleanReport a row count. Analytical entities declare Countable:false, so $count is not sent -- the count returned covers the current page only.
filterstringOData $filter. Operators: eq ne gt ge lt le, and/or/not, (). Partial text matching: startswith(Field,'v'), endswith(Field,'v'), contains(Field,'v') -- text columns only. Values must be single-quoted a…
orderbystringSort order (e.g., 'Amount desc, TransactionDate asc')
selectstringComma-separated list of dimensions/measures to return (OData $select)
skipintegerNumber of results to skip for pagination
topintegerMaximum number of results (default: 50, max: 10000)

query_relational_entity

Execute OData queries on relational entities for ETL data extraction. Supports large batch processing (up to 50,000 records), advanced filtering, column selection, and pagination. Optimized for data warehouse loading and analytics pipelines. Use list_relational_entities to discover available entity names first.

ParameterTypeDescription
asset_id *stringAsset identifier - same as used in list_relational_entities (e.g., 'SAP_SC_FI_AM_FINTRANSACTIONS')
entity_name *stringEntity name from the OData service (e.g., 'Results', 'Data'). Use list_relational_entities to get available entity names. If unsure, try using the asset_id as entity_name.
space_id *stringSpace identifier (e.g., 'SAP_CONTENT')
filterstringOData $filter. Operators: eq ne gt ge lt le, and/or/not, (). Partial text matching: startswith(Field,'v'), endswith(Field,'v'), contains(Field,'v') -- text columns only. Values must be single-quoted a…
orderbystringOData $orderby expression (e.g., "amount desc, date asc")
selectstringComma-separated column list for $select (e.g., "customer_id,amount,date")
skipintegerNumber of records to skip for pagination
topintegerMaximum records to return (default: 1000, max: 50000 for ETL)

reset_database_user_password

Reset the password for an existing database user in SAP Datasphere. **IMPORTANT: This is a HIGH-RISK tool that requires user consent before execution.** **Use this tool when:** - User requests "Reset password for database user JEFF" - Password forgotten or compromised - Regular password rotation policy - Account locked due to failed login attempts **What happens:** - Old password is invalidated immediately - New password is auto-generated securely - User must change password on next login - Action is logged for security audit **Required parameters:** - space_id: The space containing the da…

ParameterTypeDescription
database_user_id *stringDatabase user name suffix whose password will be reset (e.g., 'JEFF', 'ANALYST').
space_id *stringThe space ID containing the database user (e.g., 'SALES', 'FINANCE'). Must be uppercase.
output_filestringOptional: Path to save new credentials JSON (e.g., 'jeff_new.json'). HIGHLY RECOMMENDED for security!

run_task_chain

Execute a task chain in SAP Datasphere and get a log ID for tracking. **Use this tool when:** - User asks to "Run the ETL pipeline" or "Execute task chain X" - Triggering scheduled data loads or transformations - Starting data replication or synchronization jobs - Automating data refresh workflows - Executing orchestrated data pipelines **What happens:** - Task chain execution is initiated immediately - Returns a logId to track the execution status - Task runs asynchronously (use get_task_log to check status) - All child tasks in the chain are executed in order **Required parameters:** - sp…

ParameterTypeDescription
object_id *stringThe task chain name/identifier to execute (e.g., 'Daily_ETL_Pipeline', 'Customer_Sync').
space_id *stringThe space ID containing the task chain (e.g., 'SALES_SPACE', 'FINANCE'). Must be uppercase.

search_catalog

Universal search across all catalog items in SAP Datasphere using advanced search syntax. Supports searching across KPIs, assets, spaces, models, views, and tables. Use SCOPE:<scope_name> prefix for targeted searches. Boolean operators (AND, OR, NOT) supported.

ParameterTypeDescription
query *stringSearch query with optional SCOPE prefix. Format: 'SCOPE:<scope> <terms>'. Scopes: SearchAll, SearchKPIsAdmin, SearchAssets, SearchSpaces, SearchModels, SearchViews, SearchTables. Example: 'SCOPE:comsa…
facet_limitintegerMaximum number of facet values to return per facet (default: 5)
facetsstringComma-separated list of facets to include or 'all' for all facets. Example: 'objectType,spaceId'
include_countbooleanInclude total count of matching results (default: false)
include_why_foundbooleanInclude explanation of why each result matched (default: false)
skipintegerNumber of results to skip for pagination (default: 0)
topintegerMaximum number of results to return (default: 50, max: 500)

search_tables

Search for tables and views across all Datasphere spaces by name or description. **Use this tool when:** - User asks "Find tables with customer data" - Looking for tables containing specific keywords - Don't know exact table name but know the domain - Searching across multiple spaces **Search behavior:** - Searches both table names and descriptions - Case-insensitive matching - Returns results from all spaces (or specific space if filtered) - Includes table metadata (type, columns, row counts) **Search tips:** - Use domain keywords: "customer", "sales", "order", "finance" - Partial matches…

ParameterTypeDescription
search_term *stringKeyword to search for in table names and descriptions (e.g., 'customer', 'sales', 'order'). Case-insensitive, partial matches work.
space_idstringOptional: Filter results to a specific space (e.g., 'SALES_ANALYTICS'). Leave empty to search all spaces.

smart_query

🚀 **SMART QUERY** - Intelligent query router that automatically selects the best execution method for your query. **NEW in v1.0.5** - This is a composite tool combining execute_query, query_relational_entity, and query_analytical_data with intelligent routing and fallback logic. **Why use smart_query instead of individual query tools?** - ✅ Automatic routing to the most reliable method - ✅ Fallback handling if primary method fails - ✅ No need to understand different query methods - ✅ Better error recovery and diagnostics - ✅ Performance optimization based on query type **How it…

ParameterTypeDescription
query *stringSQL query to execute. Examples: 'SELECT * FROM table LIMIT 10', 'SELECT col1, SUM(col2) FROM table GROUP BY col1'
space_id *stringThe Datasphere space ID (e.g., 'SAP_CONTENT', 'SALES'). Must match existing space.
fallbackbooleanEnable fallback to alternative query methods if primary fails. Default: true
include_metadatabooleanInclude execution logs and routing decisions in response. Useful for debugging. Default: true
limitintegerMaximum number of rows to return. Default: 1000. Range: 1-50000
modestringQuery execution mode. Use 'auto' for intelligent routing (recommended). Default: 'auto'

test_connection

Test the connection to SAP Datasphere and verify OAuth authentication status. Use this tool to check if the MCP server can successfully connect to SAP Datasphere.

update_database_user

Update permissions and configuration for an existing database user. **IMPORTANT: This is a HIGH-RISK tool that requires user consent before execution.** **Use this tool when:** - User requests "Grant schema access to JEFF in SALES" - Modifying user permissions or access levels - Enabling/disabling audit policies - Changing retention periods - Updating user privileges **What you can update:** - Consumption permissions (read access, grants) - Schema access (space, local, HDI) - Script server access - Audit policies and retention periods - Password policies **Required parameters:** - space_id…

ParameterTypeDescription
database_user_id *stringDatabase user name suffix to update (e.g., 'JEFF', 'ANALYST').
space_id *stringThe space ID containing the database user (e.g., 'SALES', 'FINANCE'). Must be uppercase.
updated_definition *objectComplete JSON object with updated permissions. Must include all settings (consumption, ingestion).
output_filestringOptional: Path to save updated configuration JSON (e.g., 'jeff_updated.json').