MCP ScannerCustom audit
All servers

IBM/ibm-watsonxdata-mcp-server

Model Context Protocol (MCP) server for IBM watsonx.data - enables AI assistants to query and explore lakehouse data Resources

Packageibm-watsonxdata-mcp-server
Version0.1.5 in pyproject.toml
PublisherIBM Official
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 9Forks 8Last push 2026-10-27
Python 100.0%by source files the scanner reads
Code safety10.0Exposure10.0Prompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence97%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetynothing published yet10.0/10

Paths from tool input into commands, SQL, files and URLs

Capability Exposure10.0/10Good

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

Top risks in plain words

  • INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Code findings appear here only after a person has verified them.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 39 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

None of the tools reaches any of these in the code the scanner could trace.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (39: 39 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

add_columnstool Add one or more columns to a table in a watsonx.data schema.
Add one or more columns to a table in a watsonx.data schema.

    Note: Data types are typically specified in lowercase (e.g., "varchar", "int", "decimal").
    While the API pattern allows both cases, lowercase is recommended for compatibility.

    Args:
        catalog_name: Catalog containing the table (e.g., "iceberg_data")
        schema_name: Schema containing the table
        table_name: Table to add columns to
        columns: List of column definitions, each with: name (required), type (required, lowercase recommended),
                 comment (optional), extra (optional), precision (optional), scale (optional)
        engine_id: Engine ID to use for the operation (from list_engines)

    Returns:
        Dict with:
        - columns: List of added column details
        - total_count: Number of columns added
cancel_ingestion_jobtool Cancel a data ingestion job.
Cancel a data ingestion job.

    Args:
        job_id: Job identifier

    Returns:
        Dict with cancellation status
create_ingestion_jobtool Create a data ingestion job to load data into watsonx.data.
Create a data ingestion job to load data into watsonx.data.

    Args:
        job_id: Unique job identifier (e.g., "ingestion-1234567890")
        catalog: Target catalog name
        schema: Target schema name
        table: Target table name
        file_paths: Source file path (e.g., "s3://bucket-name/file.csv")
        file_type: Source file type - "csv", "parquet", "json", "orc", "avro" (default: "csv")
        bucket_name: S3 bucket name (extracted from file_paths if not provided)
        bucket_type: Bucket type - "amazon_s3", "aws_s3", "minio", "ibm_cos", "ibm_ceph",
                     "adls_gen1", "adls_gen2", "google_cs", "ibm_storage_scale", "ozone" (default: "ibm_cos")
        write_mode: Write mode - "append", "overwrite" (default: "append")
        engine_id: Spark engine ID to use for ingestion
        field_delimiter: CSV field delimiter (default: ",")
        line_delimiter: CSV line delimiter (default: "\n")
        escape_character: CSV escape character (default: "\\")
        header: Whether CSV has header row (default: true)
        encoding: File encoding (default: "UTF-8")
        driver_memory: Spark driver memory (default: "2G")
        driver_cores: Spark driver cores (default: 1)
        executor_memory: Spark executor memory (default: "2G")
        executor_cores: Spark executor cores (default: 1)
        num_executors: Number of Spark executors (default: 1)

    Returns:
        Dict with job_id, status, and creation details
create_prestissimo_enginetool Create a new Prestissimo engine in watsonx.data.
Create a new Prestissimo engine in watsonx.data.

    EXAMPLE PAYLOAD:
    {
        "origin": "native",
        "display_name": "My-Prestissimo-Engine",
        "description": "Prestissimo engine for fast queries",
        "tags": [],
        "associated_catalogs": [],
        "configuration": {
            "size_config": "custom",
            "coordinator": {
                "node_type": "starter",
                "quantity": 1
            },
            "worker": {
                "node_type": "starter",
                "quantity": 1
            }
        }
    }

    Args:
        origin: "native"
        display_name: (required) Display name for the engine
        configuration: (required) Engine configuration with required fields:
            - size_config: (required) "custom" (recommended) or predefined options (may be supported)
            - coordinator: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1}
            - worker: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1-18 recommended}
        associated_catalogs: (optional) List of catalog names to associate
        description: (optional) Engine description 50 characters max
        engine_id: (optional) Custom engine ID (must match pattern: prestissimo-0 to prestissimo-1000)
        tags: (optional) Tags for the engine

    CUSTOM SIZE CONFIG (RECOMMENDED):
    - Coordinator: 1 node (always), node_type: "starter" or "cache_optimized"
    - Worker: 1-18 nodes (recommended), node_type: "starter" or "cache_optimized"
    - Node types do NOT need to match (e.g., starter coordinator + cache_optimized worker is allowed)
    
    PREDEFINED SIZE CONFIGS:
    If using predefined configs, exact node types and quantities must match:
    - starter: 1 coordinator + 1 worker (both bx2.48x192)
    - small: 1 coordinator + 3 workers (both ox2.16x128)
    - medium: 1 coordinator + 6 workers (both ox2.16x128)
    - large: 1 coordinator + 12 workers (both ox2.16x128)

    Returns:
        Dict with created engine details including engine_id
create_presto_enginetool Create a new Presto engine in watsonx.data.
Create a new Presto engine in watsonx.data.

    EXAMPLE PAYLOAD:
    {
        "origin": "native",
        "display_name": "My-Presto-Engine",
        "description": "Presto engine with autoscaling",
        "tags": [],
        "associated_catalogs": [],
        "configuration": {
            "size_config": "custom",
            "coordinator": {
                "node_type": "starter",
                "quantity": 1
            },
            "worker": {
                "node_type": "starter",
                "quantity": 1
            },
            "autoscaling_enabled": true,
            "autoscaling_config": {
                "type": "cpu",
                "target": 40,
                "min_worker_quantity": 1,
                "max_worker_quantity": 18,
                "query_termination_grace_period_min": 1,
                "scale_in_stabilization_window_min": 5,
                "scaling_step_size": 1
            }
        }
    }

    Args:
        origin: (required) "native"
        display_name: (required) Display name for the engine
        configuration: (required) Engine configuration with required fields:
            - size_config: (required) "custom" (recommended) or predefined options (may be supported)
            - coordinator: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1}
            - worker: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1-18 recommended}
            - autoscaling_enabled: (optional) boolean to enable autoscaling
            - autoscaling_config: (required if autoscaling_enabled is true) autoscaling configuration object (see AUTOSCALING section)
        associated_catalogs: (optional) List of catalog names to associate
        description: (optional) Engine description 50 characters max
        engine_id: (optional) Custom engine ID (must match pattern: presto-0 through presto-1000)
        tags: (optional) Tags for the engine

    AUTOSCALING (OPTIONAL):
    To enable autoscaling, include these fields in the configuration:
    - autoscaling_enabled: true (boolean)
    - autoscaling_config: {
        "type": "cpu" or "memory",
        "target": 1-100 (target utilization percentage, e.g., 40),
        "min_worker_quantity": 1-18 (minimum workers),
        "max_worker_quantity": 1-18 (maximum workers),
        "query_termination_grace_period_min": 1-120 (grace period before terminating queries),
        "scale_in_stabilization_window_min": 5-60 (stabilization window for scale-in),
        "scaling_step_size": 1-18 (nodes to add/remove per scaling action)
      }
    
    PREDEFINED SIZE CONFIGS:
    If using predefined configs, exact node types and quantities must match:
    - starter: 1 coordinator + 1 worker (both bx2.48x192)
    - small: 1 coordinator + 3 workers (both ox2.16x128)
    - medium: 1 coordinator + 6 workers (both ox2.16x128)
    - large: 1 coordinator + 12 workers (both ox2.16x128)
    
    Returns:
        Dict with created engine details including engine_id
create_schematool Create a new schema in a watsonx.data catalog.
Create a new schema in a watsonx.data catalog.

    IMPORTANT RESTRICTIONS:
        - Engine must be a Presto or Prestissimo engine (Spark engines are not supported)
        - Catalog must be an object storage catalog (Iceberg or Hive format)
        - Datasource catalogs (e.g., from external databases) are NOT supported for schema creation

    Args:
        catalog_id: Catalog identifier - must be an object storage catalog (e.g., "iceberg_data", "hive_data")
        schema_name: Name for the new schema
        engine_id: Engine ID to use for the operation - must be a Presto or Prestissimo engine (from list_engines)
        custom_path: Path within bucket where schema will be created (REQUIRED, must be at least 1 character).
                     If unsure, use the schema_name as the custom_path.
        storage_name: Storage/bucket name for the schema (REQUIRED for object storage catalogs)

    Returns:
        Dict with:
        - name: Name of the created schema
        - catalog_name: Parent catalog name
        - custom_path: Custom path used
        - storage_name: Storage name if specified
        
    Raises:
        Error if:
        - Engine is not Presto or Prestissimo type
        - Catalog is a datasource catalog (not object storage)
        - custom_path is empty or storage_name is not provided
create_spark_enginetool Create a new Spark engine in watsonx.data.
Create a new Spark engine in watsonx.data.

    Args:
        origin: Engine origin - "native", "external", or "discover"
        display_name: Display name for the engine
        storage_name: Storage/bucket name for engine_home (REQUIRED)
        associated_catalogs: List of catalog IDs to associate
        description: Engine description
        default_version: Spark version (default: "3.5")
        default_config: Additional engine configuration
        tags: Tags for the engine

    Returns:
        Dict with created engine details including engine_id
describe_tabletool Get detailed schema and metadata for a watsonx.data table.
Get detailed schema and metadata for a watsonx.data table.

    Args:
        catalog_name: Catalog containing the table (e.g., "iceberg_data", "tpch")
        schema_name: Schema containing the table (from list_schemas)
        table_name: Table to describe (from list_tables)
        engine_id: Engine ID for metadata retrieval (from list_engines)

    Returns:
        Dict with:
        - name: Table name
        - catalog_name, schema_name: Echo of inputs
        - columns: List of column objects with:
          - name: Column name (required)
          - type: SQL data type (required)
          - comment: Optional comment/description
          - extra: Optional extra attributes (e.g., AUTO_INCREMENT)
          - length: Optional length for VARCHAR/CHAR types
          - precision: Optional precision for DECIMAL types
          - scale: Optional scale for DECIMAL types
        - column_count: Total number of columns
        - engine_id: Echo of input
execute_inserttool Execute INSERT queries against watsonx.data.
Execute INSERT queries against watsonx.data.

    Args:
        sql: SQL INSERT query to execute (must start with INSERT)
        catalog_name: Target catalog (e.g., "iceberg_data", "hive_data")
        schema_name: Default schema for unqualified table names
        engine_id: Engine to run query on (from list_engines, must be running)

    Returns:
        Dict with:
        - query_id: Unique query identifier
        - rows_inserted: Number of rows inserted (if available)
        - execution_time_ms: Query duration in milliseconds
        - status: Query execution status
        - catalog_name, schema_name: Echo of inputs
execute_selecttool Execute read-only SELECT queries against watsonx.data.
Execute read-only SELECT queries against watsonx.data.

    Args:
        sql: SQL SELECT query to execute (must start with SELECT)
        catalog_name: Target catalog (e.g., "iceberg_data", "tpch")
        schema_name: Default schema for unqualified table names
        engine_id: Engine to run query on (from list_engines, must be running)
        limit: Max rows to return (default: 500 if no LIMIT in query). Note: Using high limits will consume more tokens.

    Returns:
        Dict with:
        - query_id: Unique query identifier
        - columns: List of {name, type} objects
        - rows: List of row data (list of lists)
        - row_count: Number of rows returned
        - execution_time_ms: Query duration in milliseconds
        - catalog_name, schema_name: Echo of inputs
execute_updatetool Execute UPDATE queries against watsonx.data.
Execute UPDATE queries against watsonx.data.

    Args:
        sql: SQL UPDATE query to execute (must start with UPDATE)
        catalog_name: Target catalog (e.g., "iceberg_data", "hive_data")
        schema_name: Default schema for unqualified table names
        engine_id: Engine to run query on (from list_engines, must be running)

    Returns:
        Dict with:
        - query_id: Unique query identifier
        - rows_updated: Number of rows updated (if available)
        - execution_time_ms: Query duration in milliseconds
        - status: Query execution status
        - catalog_name, schema_name: Echo of inputs
    Note:
        Iceberg table updates require at least format version 2 and update mode must be merge-on-read.
        Use ALTER TABLE to configure: SET PROPERTIES 'format-version' = '2', 'write.update.mode' = 'merge-on-read'
explain_analyze_querytool Get detailed query analysis with execution statistics in watsonx.data.
Get detailed query analysis with execution statistics in watsonx.data.

    Args:
        engine_id: Presto or Prestissimo engine identifier
        statement: SQL query to analyze. If query fails, consider using fully qualified table names (catalog.schema.table)
        engine_type: Engine type - "presto" or "prestissimo" (default: "presto")
        verbose: Include detailed statistics

    Returns:
        Dict with engine_id, engine_type, statement, analysis, and full response
explain_querytool Get query execution plan without running the query in watsonx.data.
Get query execution plan without running the query in watsonx.data.

    Args:
        engine_id: Presto or Prestissimo engine identifier
        statement: SQL query to explain. If query fails, consider using fully qualified table names (catalog.schema.table)
        engine_type: Engine type - "presto" or "prestissimo" (default: "presto")
        format: Output format - "json" or "text"
        type: Explain type - "logical", "distributed", "validate", or "io"

    Returns:
        Dict with engine_id, engine_type, statement, plan, and full response
get_ingestion_jobtool Get detailed status of a data ingestion job.
Get detailed status of a data ingestion job.

    Args:
        job_id: Job identifier

    Returns:
        Dict with detailed job status, configuration, and execution details
get_instance_detailstool Get watsonx.data instance information including status, version, region, and enabled features.
Get watsonx.data instance information including status, version, region, and enabled features.

    Returns:
        Dict with instance details:
        - instance_id: Instance CRN identifier
        - instance_name: Instance name
        - region: IBM Cloud region (e.g., "us-south")
        - cloud_type: Cloud Provider (e.g., ibm cloud, azure, aws)
        - account_type: Account type ("TRIAL", "ENTERPRISE", "LITE", "STANDARD")
        - plan_id: Plan of the watsonx.data instance
        - instance_status: Instance status ("active", "provisioning", "inactive", "failed")
        - version: watsonx.data version
        - serverless_spark_enabled: Whether Spark is available
        - public_endpoints_enabled: Public internet access enabled
        - private_endpoints_enabled: Private internet access enabled
        - resource_group_crn: Resource group the instance belongs to
        - console_url: Web console URL
get_spark_application_statustool Get detailed status of a Spark application.
Get detailed status of a Spark application.

    Args:
        engine_id: Spark engine identifier
        application_id: Application identifier

    Returns:
        Dict with detailed application status including:
        - application_id: Application identifier
        - state: Current state (e.g., "running", "finished", "failed")
        - start_time: Application start timestamp
        - end_time: Application end timestamp (if completed)
        - spark_version: Spark version used
        - application_details: Configuration and runtime details
list_enginestool List available Presto, Prestissimo, and Spark compute engines in watsonx.data.
List available Presto, Prestissimo, and Spark compute engines in watsonx.data.

    Args:
        engine_type: Optional filter - "presto", "prestissimo", "spark", or None for all engines

    Returns:
        Dict with:
        - engines: List of engine objects with engine_id, display_name, type, status, size (if applicable),
          created_on, created_by, associated_catalogs
        - summary: Counts by type and status (total_count, presto_count, prestissimo_count, spark_count, by_status)
list_ingestion_jobstool List data ingestion jobs on watsonx.data.
List data ingestion jobs on watsonx.data.

    Args:
        start: Offset for pagination (default: 0, 0-based)
        limit: Number of jobs per page (default: 10, max: 100, -1 for all)

    Returns:
        Dict with ingestion_jobs list containing job details
list_schemastool List database schemas in a watsonx.data catalog.
List database schemas in a watsonx.data catalog.

    Args:
        catalog_name: Catalog to list schemas from (e.g., "iceberg_data", "hive_data", "tpch")
        engine_id: Engine ID for metadata queries (from list_engines)

    Returns:
        Dict with:
        - schemas: List of schema objects with schema_name, catalog_name
        - total_count: Number of schemas found
        - catalog_name, engine_id: Echo of inputs
list_spark_applicationstool List Spark applications on a Spark engine.
List Spark applications on a Spark engine.

    Args:
        engine_id: (required) Spark engine identifier
        state: (optional) Filter by application state (e.g., ["running", "finished", "failed"])
        limit: (optional) Maximum number of applications to return (1-1000).
               Recommended to use smaller values (e.g., 10-50) to avoid exhausting tokens.

    Returns:
        Dict with applications list containing application details
list_tablestool List tables in a watsonx.data schema.
List tables in a watsonx.data schema.

    Args:
        catalog_name: Catalog containing the schema (e.g., "iceberg_data", "hive_data")
        schema_name: Schema/database containing tables (from list_schemas)
        engine_id: Engine ID for metadata queries (from list_engines)

    Returns:
        Dict with:
        - tables: List of table names (strings)
        - total_count: Number of tables in schema
        - catalog_name, schema_name, engine_id: Echo of inputs
pause_prestissimo_enginetool Pause a running Prestissimo engine in watsonx.data.
Pause a running Prestissimo engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with pause operation status and engine state transition
pause_presto_enginetool Pause a running Presto engine in watsonx.data.
Pause a running Presto engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with pause operation status and engine state transition
pause_spark_enginetool Pause a running Spark engine in watsonx.data (SAAS only).
Pause a running Spark engine in watsonx.data (SAAS only).

    Args:
        engine_id: Engine identifier
        force: Force pause even if applications are running (default: False)

    Returns:
        Dict with pause operation status
rename_columntool Rename a column in a table in a watsonx.data schema.
Rename a column in a table in a watsonx.data schema.

    Args:
        catalog_name: Catalog containing the table (e.g., "iceberg_data")
        schema_name: Schema containing the table
        table_name: Table containing the column
        column_name: Current column name
        new_column_name: New name for the column
        engine_id: Engine ID to use for the operation (from list_engines)

    Returns:
        Dict with column details including the new name
rename_tabletool Rename a table in a watsonx.data schema.
Rename a table in a watsonx.data schema.

    Args:
        catalog_name: Catalog containing the table (e.g., "iceberg_data")
        schema_name: Schema containing the table
        table_name: Current table name
        new_table_name: New name for the table
        engine_id: Engine ID to use for the operation (from list_engines)

    Returns:
        Dict with table details including the new name
restart_prestissimo_enginetool Restart a Prestissimo engine in watsonx.data.
Restart a Prestissimo engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with engine_id, status, message, response
restart_presto_enginetool Restart a Presto engine in watsonx.data.
Restart a Presto engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with engine_id, status, message, response
resume_prestissimo_enginetool Resume a paused Prestissimo engine in watsonx.data.
Resume a paused Prestissimo engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with resume operation status and engine state transition
resume_presto_enginetool Resume a paused Presto engine in watsonx.data.
Resume a paused Presto engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with resume operation status and engine state transition
resume_spark_enginetool Resume a paused Spark engine in watsonx.data (SAAS only).
Resume a paused Spark engine in watsonx.data (SAAS only).

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with resume operation status
scale_prestissimo_enginetool Scale a Prestissimo engine by adjusting coordinator and worker node counts in watsonx.data.
Scale a Prestissimo engine by adjusting coordinator and worker node counts in watsonx.data.

    RECOMMENDED NODE TYPES: "starter" or "cache_optimized" (other types may be available)
    
    SCALING CAPABILITIES:
    - Coordinator quantity: Always 1 (cannot be changed)
    - Worker quantity: 1-18 (recommended), up to 50 may be supported
    - Node types CAN be changed during scaling (e.g., from "starter" to "cache_optimized")
    - Coordinator and worker do NOT need to match node types
    
    API REQUIREMENT: Must provide BOTH coordinator AND worker configurations together.

    Args:
        engine_id: Engine identifier
        coordinator_node_type: Typically "starter" or "cache_optimized". Can be different from current type.
        coordinator_quantity: Number of coordinator nodes (must be 1 for Prestissimo)
        worker_node_type: Typically "starter" or "cache_optimized". Can be different from coordinator_node_type.
        worker_quantity: Number of worker nodes (1-18 recommended, up to 50 may be supported)

    Returns:
        Dict with scaling operation status and new node configuration
scale_presto_enginetool Scale a Presto engine by adjusting coordinator and worker node counts in watsonx.data.
Scale a Presto engine by adjusting coordinator and worker node counts in watsonx.data.

    RECOMMENDED NODE TYPES: "starter" or "cache_optimized" (other types may be available)
    
    SCALING CAPABILITIES:
    - Coordinator quantity: Always 1 (cannot be changed)
    - Worker quantity: 1-18 (recommended), up to 50 may be supported
    - Node types CAN be changed during scaling (e.g., from "starter" to "cache_optimized")
    - Coordinator and worker do NOT need to match node types
    
    API REQUIREMENT: Must provide BOTH coordinator AND worker configurations together.

    Args:
        engine_id: Engine identifier
        coordinator_node_type: Typically "starter" or "cache_optimized". Can be different from current type.
        coordinator_quantity: Number of coordinator nodes (must be 1 for Presto)
        worker_node_type: Typically "starter" or "cache_optimized". Can be different from coordinator_node_type.
        worker_quantity: Number of worker nodes (1-18 recommended, up to 50 may be supported)

    Returns:
        Dict with scaling operation status and new node configuration
scale_spark_enginetool Scale a Spark engine by adjusting node count in watsonx.data (SAAS only).
Scale a Spark engine by adjusting node count in watsonx.data (SAAS only).

    Args:
        engine_id: Engine identifier
        number_of_nodes: Target node count (1-1000)

    Returns:
        Dict with scaling operation status (202 Accepted - asynchronous operation)
stop_spark_applicationtool Stop and remove a Spark application.
Stop and remove a Spark application.

    This will terminate a running application and remove it from the engine's history.

    Args:
        engine_id: Spark engine identifier
        application_id: Application identifier to stop

    Returns:
        Dict with operation status
submit_spark_applicationtool Submit a Spark application for execution on a Spark engine.
Submit a Spark application for execution on a Spark engine.

    Args:
        engine_id: Spark engine identifier
        application: Application file path (JAR, Python, R file)
        arguments: Application arguments array
        conf: Spark configuration properties (e.g., {"spark.executor.memory": "2g"})
        env: Environment variables
        name: Application name (will be added to conf as spark.app.name)
        job_endpoint: External job endpoint
        service_instance_id: Service instance ID - "iae" or "emr"
        type: Engine type - "spark" or "gluten"
        context_type: Context type - "project", "git_project", or "space"
        volumes: Volume mounts (watsonx.data software only). List of dicts with:
                 - name: volume name
                 - mount_path: path in spark cluster (e.g., "/mount/path")
                 - source_sub_path: path in volume to mount (e.g., "/source/path")
                 - read_only: boolean flag

    Returns:
        Dict with application_id, state, and submission details

    Examples:
        Minimal configuration for IBM Cloud Object Storage using cos:// protocol:
        
        {
          "engine_id": "spark398",
          "application": "cos://bucket.instance/app.py",
          "arguments": ["cos://bucket.instance/data.csv"],
          "conf": {
            "spark.hadoop.fs.cos.instance.endpoint": "s3.direct.us-east.cloud-object-storage.appdomain.cloud",
            "spark.hadoop.fs.cos.instance.access.key": "your-access-key",
            "spark.hadoop.fs.cos.instance.secret.key": "your-secret-key"
          }
        }

        Minimal configuration for IBM Cloud Object Storage using s3a:// protocol:
        
        {
          "engine_id": "spark398",
          "application": "s3a://bucket/app.py",
          "arguments": ["s3a://bucket/data.csv"],
          "conf": {
            "spark.hadoop.fs.s3a.bucket.bucket.access.key": "your-access-key",
            "spark.hadoop.fs.s3a.bucket.bucket.secret.key": "your-secret-key",
            "spark.hadoop.fs.s3a.bucket.bucket.aws.credentials.provider": "org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider"
          }
        }

        Optional conf parameters (uses engine defaults if not specified):
        - spark.app.name: Custom application name
        - ae.spark.driver.log.level / ae.spark.executor.log.level: Log levels
        - spark.driver.cores / spark.driver.memory: Driver resources
        - spark.executor.cores / spark.executor.memory: Executor resources
update_prestissimo_enginetool Update Prestissimo engine configuration in watsonx.data.
Update Prestissimo engine configuration in watsonx.data.
    
    IMPORTANT: Due to a known API limitation, the `description` field cannot be
    updated on its own. If you want to update the description, you must include 
    at least one additional field in the same call (e.g., `display_name`, `tags`,
    or `properties`). Calls that modify only `description` will fail.
    
    Args:
        engine_id: Engine identifier.
        description: Updated description (1-50 characters). Must be accompanied
        by at least one other updatable field in the same request.
        display_name: Updated display name.
        properties: Engine configuration properties.
        restart_type: Set to "force" to trigger a restart after the update.
        remove_engine_properties: Properties to remove.
        tags: Updated tags.

    Returns:
        Dict with updated engine configuration
update_presto_enginetool Update Presto engine configuration in watsonx.data.
Update Presto engine configuration in watsonx.data.

    Args:
        engine_id: Engine identifier
        description: Updated description
        display_name: Updated display name
        engine_properties: Engine configuration properties
        engine_restart: Set to "force" to trigger restart after update
        remove_engine_properties: Properties to remove
        tags: Updated tags

    Returns:
        Dict with updated engine configuration
update_spark_enginetool Update Spark engine configuration in watsonx.data.
Update Spark engine configuration in watsonx.data.

    Args:
        engine_id: Engine identifier
        description: Updated description
        display_name: Updated display name
        configuration: Engine configuration (default_config, default_version, engine_home)
        tags: Updated tags

    Returns:
        Dict with updated engine configuration

    Note:
        Spark engines do NOT support engine_restart parameter.
        Configuration changes may require manual restart.

Text the model reads (39)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

add_columns tool
Add one or more columns to a table in a watsonx.data schema.

    Note: Data types are typically specified in lowercase (e.g., "varchar", "int", "decimal").
    While the API pattern allows both cases, lowercase is recommended for compatibility.

    Args:
        catalog_name: Catalog containing the table (e.g., "iceberg_data")
        schema_name: Schema containing the table
        table_name: Table to add columns to
        columns: List of column definitions, each with: name (required), type (required, lowercase recommended),
                 comment (optional), extra (optional), precision (optional), scale (optional)
        engine_id: Engine ID to use for the operation (from list_engines)

    Returns:
        Dict with:
        - columns: List of added column details
        - total_count: Number of columns added
create_schema tool
Create a new schema in a watsonx.data catalog.

    IMPORTANT RESTRICTIONS:
        - Engine must be a Presto or Prestissimo engine (Spark engines are not supported)
        - Catalog must be an object storage catalog (Iceberg or Hive format)
        - Datasource catalogs (e.g., from external databases) are NOT supported for schema creation

    Args:
        catalog_id: Catalog identifier - must be an object storage catalog (e.g., "iceberg_data", "hive_data")
        schema_name: Name for the new schema
        engine_id: Engine ID to use for the operation - must be a Presto or Prestissimo engine (from list_engines)
        custom_path: Path within bucket where schema will be created (REQUIRED, must be at least 1 character).
                     If unsure, use the schema_name as the custom_path.
        storage_name: Storage/bucket name for the schema (REQUIRED for object storage catalogs)

    Returns:
        Dict with:
        - name: Name of the created schema
        - catalog_name: Parent catalog name
        - custom_path: Custom path used
        - storage_name: Storage name if specified
        
    Raises:
        Error if:
        - Engine is not Presto or Prestissimo type
        - Catalog is a datasource catalog (not object storage)
        - custom_path is empty or storage_name is not provided
describe_table tool
Get detailed schema and metadata for a watsonx.data table.

    Args:
        catalog_name: Catalog containing the table (e.g., "iceberg_data", "tpch")
        schema_name: Schema containing the table (from list_schemas)
        table_name: Table to describe (from list_tables)
        engine_id: Engine ID for metadata retrieval (from list_engines)

    Returns:
        Dict with:
        - name: Table name
        - catalog_name, schema_name: Echo of inputs
        - columns: List of column objects with:
          - name: Column name (required)
          - type: SQL data type (required)
          - comment: Optional comment/description
          - extra: Optional extra attributes (e.g., AUTO_INCREMENT)
          - length: Optional length for VARCHAR/CHAR types
          - precision: Optional precision for DECIMAL types
          - scale: Optional scale for DECIMAL types
        - column_count: Total number of columns
        - engine_id: Echo of input
list_schemas tool
List database schemas in a watsonx.data catalog.

    Args:
        catalog_name: Catalog to list schemas from (e.g., "iceberg_data", "hive_data", "tpch")
        engine_id: Engine ID for metadata queries (from list_engines)

    Returns:
        Dict with:
        - schemas: List of schema objects with schema_name, catalog_name
        - total_count: Number of schemas found
        - catalog_name, engine_id: Echo of inputs
list_tables tool
List tables in a watsonx.data schema.

    Args:
        catalog_name: Catalog containing the schema (e.g., "iceberg_data", "hive_data")
        schema_name: Schema/database containing tables (from list_schemas)
        engine_id: Engine ID for metadata queries (from list_engines)

    Returns:
        Dict with:
        - tables: List of table names (strings)
        - total_count: Number of tables in schema
        - catalog_name, schema_name, engine_id: Echo of inputs
rename_column tool
Rename a column in a table in a watsonx.data schema.

    Args:
        catalog_name: Catalog containing the table (e.g., "iceberg_data")
        schema_name: Schema containing the table
        table_name: Table containing the column
        column_name: Current column name
        new_column_name: New name for the column
        engine_id: Engine ID to use for the operation (from list_engines)

    Returns:
        Dict with column details including the new name
rename_table tool
Rename a table in a watsonx.data schema.

    Args:
        catalog_name: Catalog containing the table (e.g., "iceberg_data")
        schema_name: Schema containing the table
        table_name: Current table name
        new_table_name: New name for the table
        engine_id: Engine ID to use for the operation (from list_engines)

    Returns:
        Dict with table details including the new name
create_prestissimo_engine tool
Create a new Prestissimo engine in watsonx.data.

    EXAMPLE PAYLOAD:
    {
        "origin": "native",
        "display_name": "My-Prestissimo-Engine",
        "description": "Prestissimo engine for fast queries",
        "tags": [],
        "associated_catalogs": [],
        "configuration": {
            "size_config": "custom",
            "coordinator": {
                "node_type": "starter",
                "quantity": 1
            },
            "worker": {
                "node_type": "starter",
                "quantity": 1
            }
        }
    }

    Args:
        origin: "native"
        display_name: (required) Display name for the engine
        configuration: (required) Engine configuration with required fields:
            - size_config: (required) "custom" (recommended) or predefined options (may be supported)
            - coordinator: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1}
            - worker: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1-18 recommended}
        associated_catalogs: (optional) List of catalog names to associate
        description: (optional) Engine description 50 characters max
        engine_id: (optional) Custom engine ID (must match pattern: prestissimo-0 to prestissimo-1000)
        tags: (optional) Tags for the engine

    CUSTOM SIZE CONFIG (RECOMMENDED):
    - Coordinator: 1 node (always), node_type: "starter" or "cache_optimized"
    - Worker: 1-18 nodes (recommended), node_type: "starter" or "cache_optimized"
    - Node types do NOT need to match (e.g., starter coordinator + cache_optimized worker is allowed)
    
    PREDEFINED SIZE CONFIGS:
    If using predefined configs, exact node types and quantities must match:
    - starter: 1 coordinator + 1 worker (both bx2.48x192)
    - small: 1 coordinator + 3 workers (both ox2.16x128)
    - medium: 1 coordinator + 6 workers (both ox2.16x128)
    - large: 1 coordinator + 12 workers (both ox2.16x128)

    Returns:
        Dict with created engine details including engine_id
create_presto_engine tool
Create a new Presto engine in watsonx.data.

    EXAMPLE PAYLOAD:
    {
        "origin": "native",
        "display_name": "My-Presto-Engine",
        "description": "Presto engine with autoscaling",
        "tags": [],
        "associated_catalogs": [],
        "configuration": {
            "size_config": "custom",
            "coordinator": {
                "node_type": "starter",
                "quantity": 1
            },
            "worker": {
                "node_type": "starter",
                "quantity": 1
            },
            "autoscaling_enabled": true,
            "autoscaling_config": {
                "type": "cpu",
                "target": 40,
                "min_worker_quantity": 1,
                "max_worker_quantity": 18,
                "query_termination_grace_period_min": 1,
                "scale_in_stabilization_window_min": 5,
                "scaling_step_size": 1
            }
        }
    }

    Args:
        origin: (required) "native"
        display_name: (required) Display name for the engine
        configuration: (required) Engine configuration with required fields:
            - size_config: (required) "custom" (recommended) or predefined options (may be supported)
            - coordinator: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1}
            - worker: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1-18 recommended}
            - autoscaling_enabled: (optional) boolean to enable autoscaling
            - autoscaling_config: (required if autoscaling_enabled is true) autoscaling configuration object (see AUTOSCALING section)
        associated_catalogs: (optional) List of catalog names to associate
        description: (optional) Engine description 50 characters max
        engine_id: (optional) Custom engine ID (must match pattern: presto-0 through presto-1000)
        tags: (optional) Tags for the engine

    AUTOSCALING (OPTIONAL):
    To enable autoscaling, include these fields in the configuration:
    - autoscaling_enabled: true (boolean)
    - autoscaling_config: {
        "type": "cpu" or "memory",
        "target": 1-100 (target utilization percentage, e.g., 40),
        "min_worker_quantity": 1-18 (minimum workers),
        "max_worker_quantity": 1-18 (maximum workers),
        "query_termination_grace_period_min": 1-120 (grace period before terminating queries),
        "scale_in_stabilization_window_min": 5-60 (stabilization window for scale-in),
        "scaling_step_size": 1-18 (nodes to add/remove per scaling action)
      }
    
    PREDEFINED SIZE CONFIGS:
    If using predefined configs, exact node types and quantities must match:
    - starter: 1 coordinator + 1 worker (both bx2.48x192)
    - small: 1 coordinator + 3 workers (both ox2.16x128)
    - medium: 1 coordinator + 6 workers (both ox2.16x128)
    - large: 1 coordinator + 12 workers (both ox2.16x128)
    
    Returns:
        Dict with created engine details including engine_id
create_spark_engine tool
Create a new Spark engine in watsonx.data.

    Args:
        origin: Engine origin - "native", "external", or "discover"
        display_name: Display name for the engine
        storage_name: Storage/bucket name for engine_home (REQUIRED)
        associated_catalogs: List of catalog IDs to associate
        description: Engine description
        default_version: Spark version (default: "3.5")
        default_config: Additional engine configuration
        tags: Tags for the engine

    Returns:
        Dict with created engine details including engine_id
list_engines tool
List available Presto, Prestissimo, and Spark compute engines in watsonx.data.

    Args:
        engine_type: Optional filter - "presto", "prestissimo", "spark", or None for all engines

    Returns:
        Dict with:
        - engines: List of engine objects with engine_id, display_name, type, status, size (if applicable),
          created_on, created_by, associated_catalogs
        - summary: Counts by type and status (total_count, presto_count, prestissimo_count, spark_count, by_status)
pause_prestissimo_engine tool
Pause a running Prestissimo engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with pause operation status and engine state transition
pause_presto_engine tool
Pause a running Presto engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with pause operation status and engine state transition
pause_spark_engine tool
Pause a running Spark engine in watsonx.data (SAAS only).

    Args:
        engine_id: Engine identifier
        force: Force pause even if applications are running (default: False)

    Returns:
        Dict with pause operation status
restart_prestissimo_engine tool
Restart a Prestissimo engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with engine_id, status, message, response
restart_presto_engine tool
Restart a Presto engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with engine_id, status, message, response
resume_prestissimo_engine tool
Resume a paused Prestissimo engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with resume operation status and engine state transition
resume_presto_engine tool
Resume a paused Presto engine in watsonx.data.

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with resume operation status and engine state transition
resume_spark_engine tool
Resume a paused Spark engine in watsonx.data (SAAS only).

    Args:
        engine_id: Engine identifier

    Returns:
        Dict with resume operation status
scale_prestissimo_engine tool
Scale a Prestissimo engine by adjusting coordinator and worker node counts in watsonx.data.

    RECOMMENDED NODE TYPES: "starter" or "cache_optimized" (other types may be available)
    
    SCALING CAPABILITIES:
    - Coordinator quantity: Always 1 (cannot be changed)
    - Worker quantity: 1-18 (recommended), up to 50 may be supported
    - Node types CAN be changed during scaling (e.g., from "starter" to "cache_optimized")
    - Coordinator and worker do NOT need to match node types
    
    API REQUIREMENT: Must provide BOTH coordinator AND worker configurations together.

    Args:
        engine_id: Engine identifier
        coordinator_node_type: Typically "starter" or "cache_optimized". Can be different from current type.
        coordinator_quantity: Number of coordinator nodes (must be 1 for Prestissimo)
        worker_node_type: Typically "starter" or "cache_optimized". Can be different from coordinator_node_type.
        worker_quantity: Number of worker nodes (1-18 recommended, up to 50 may be supported)

    Returns:
        Dict with scaling operation status and new node configuration
scale_presto_engine tool
Scale a Presto engine by adjusting coordinator and worker node counts in watsonx.data.

    RECOMMENDED NODE TYPES: "starter" or "cache_optimized" (other types may be available)
    
    SCALING CAPABILITIES:
    - Coordinator quantity: Always 1 (cannot be changed)
    - Worker quantity: 1-18 (recommended), up to 50 may be supported
    - Node types CAN be changed during scaling (e.g., from "starter" to "cache_optimized")
    - Coordinator and worker do NOT need to match node types
    
    API REQUIREMENT: Must provide BOTH coordinator AND worker configurations together.

    Args:
        engine_id: Engine identifier
        coordinator_node_type: Typically "starter" or "cache_optimized". Can be different from current type.
        coordinator_quantity: Number of coordinator nodes (must be 1 for Presto)
        worker_node_type: Typically "starter" or "cache_optimized". Can be different from coordinator_node_type.
        worker_quantity: Number of worker nodes (1-18 recommended, up to 50 may be supported)

    Returns:
        Dict with scaling operation status and new node configuration
scale_spark_engine tool
Scale a Spark engine by adjusting node count in watsonx.data (SAAS only).

    Args:
        engine_id: Engine identifier
        number_of_nodes: Target node count (1-1000)

    Returns:
        Dict with scaling operation status (202 Accepted - asynchronous operation)
update_prestissimo_engine tool
Update Prestissimo engine configuration in watsonx.data.
    
    IMPORTANT: Due to a known API limitation, the `description` field cannot be
    updated on its own. If you want to update the description, you must include 
    at least one additional field in the same call (e.g., `display_name`, `tags`,
    or `properties`). Calls that modify only `description` will fail.
    
    Args:
        engine_id: Engine identifier.
        description: Updated description (1-50 characters). Must be accompanied
        by at least one other updatable field in the same request.
        display_name: Updated display name.
        properties: Engine configuration properties.
        restart_type: Set to "force" to trigger a restart after the update.
        remove_engine_properties: Properties to remove.
        tags: Updated tags.

    Returns:
        Dict with updated engine configuration
update_presto_engine tool
Update Presto engine configuration in watsonx.data.

    Args:
        engine_id: Engine identifier
        description: Updated description
        display_name: Updated display name
        engine_properties: Engine configuration properties
        engine_restart: Set to "force" to trigger restart after update
        remove_engine_properties: Properties to remove
        tags: Updated tags

    Returns:
        Dict with updated engine configuration
update_spark_engine tool
Update Spark engine configuration in watsonx.data.

    Args:
        engine_id: Engine identifier
        description: Updated description
        display_name: Updated display name
        configuration: Engine configuration (default_config, default_version, engine_home)
        tags: Updated tags

    Returns:
        Dict with updated engine configuration

    Note:
        Spark engines do NOT support engine_restart parameter.
        Configuration changes may require manual restart.
cancel_ingestion_job tool
Cancel a data ingestion job.

    Args:
        job_id: Job identifier

    Returns:
        Dict with cancellation status
create_ingestion_job tool
Create a data ingestion job to load data into watsonx.data.

    Args:
        job_id: Unique job identifier (e.g., "ingestion-1234567890")
        catalog: Target catalog name
        schema: Target schema name
        table: Target table name
        file_paths: Source file path (e.g., "s3://bucket-name/file.csv")
        file_type: Source file type - "csv", "parquet", "json", "orc", "avro" (default: "csv")
        bucket_name: S3 bucket name (extracted from file_paths if not provided)
        bucket_type: Bucket type - "amazon_s3", "aws_s3", "minio", "ibm_cos", "ibm_ceph",
                     "adls_gen1", "adls_gen2", "google_cs", "ibm_storage_scale", "ozone" (default: "ibm_cos")
        write_mode: Write mode - "append", "overwrite" (default: "append")
        engine_id: Spark engine ID to use for ingestion
        field_delimiter: CSV field delimiter (default: ",")
        line_delimiter: CSV line delimiter (default: "\\n")
        escape_character: CSV escape character (default: "\\\\")
        header: Whether CSV has header row (default: true)
        encoding: File encoding (default: "UTF-8")
        driver_memory: Spark driver memory (default: "2G")
        driver_cores: Spark driver cores (default: 1)
        executor_memory: Spark executor memory (default: "2G")
        executor_cores: Spark executor cores (default: 1)
        num_executors: Number of Spark executors (default: 1)

    Returns:
        Dict with job_id, status, and creation details
get_ingestion_job tool
Get detailed status of a data ingestion job.

    Args:
        job_id: Job identifier

    Returns:
        Dict with detailed job status, configuration, and execution details
list_ingestion_jobs tool
List data ingestion jobs on watsonx.data.

    Args:
        start: Offset for pagination (default: 0, 0-based)
        limit: Number of jobs per page (default: 10, max: 100, -1 for all)

    Returns:
        Dict with ingestion_jobs list containing job details
get_instance_details tool
Get watsonx.data instance information including status, version, region, and enabled features.

    Returns:
        Dict with instance details:
        - instance_id: Instance CRN identifier
        - instance_name: Instance name
        - region: IBM Cloud region (e.g., "us-south")
        - cloud_type: Cloud Provider (e.g., ibm cloud, azure, aws)
        - account_type: Account type ("TRIAL", "ENTERPRISE", "LITE", "STANDARD")
        - plan_id: Plan of the watsonx.data instance
        - instance_status: Instance status ("active", "provisioning", "inactive", "failed")
        - version: watsonx.data version
        - serverless_spark_enabled: Whether Spark is available
        - public_endpoints_enabled: Public internet access enabled
        - private_endpoints_enabled: Private internet access enabled
        - resource_group_crn: Resource group the instance belongs to
        - console_url: Web console URL
execute_insert tool
Execute INSERT queries against watsonx.data.

    Args:
        sql: SQL INSERT query to execute (must start with INSERT)
        catalog_name: Target catalog (e.g., "iceberg_data", "hive_data")
        schema_name: Default schema for unqualified table names
        engine_id: Engine to run query on (from list_engines, must be running)

    Returns:
        Dict with:
        - query_id: Unique query identifier
        - rows_inserted: Number of rows inserted (if available)
        - execution_time_ms: Query duration in milliseconds
        - status: Query execution status
        - catalog_name, schema_name: Echo of inputs
execute_select tool
Execute read-only SELECT queries against watsonx.data.

    Args:
        sql: SQL SELECT query to execute (must start with SELECT)
        catalog_name: Target catalog (e.g., "iceberg_data", "tpch")
        schema_name: Default schema for unqualified table names
        engine_id: Engine to run query on (from list_engines, must be running)
        limit: Max rows to return (default: 500 if no LIMIT in query). Note: Using high limits will consume more tokens.

    Returns:
        Dict with:
        - query_id: Unique query identifier
        - columns: List of {name, type} objects
        - rows: List of row data (list of lists)
        - row_count: Number of rows returned
        - execution_time_ms: Query duration in milliseconds
        - catalog_name, schema_name: Echo of inputs
execute_update tool
Execute UPDATE queries against watsonx.data.

    Args:
        sql: SQL UPDATE query to execute (must start with UPDATE)
        catalog_name: Target catalog (e.g., "iceberg_data", "hive_data")
        schema_name: Default schema for unqualified table names
        engine_id: Engine to run query on (from list_engines, must be running)

    Returns:
        Dict with:
        - query_id: Unique query identifier
        - rows_updated: Number of rows updated (if available)
        - execution_time_ms: Query duration in milliseconds
        - status: Query execution status
        - catalog_name, schema_name: Echo of inputs
    Note:
        Iceberg table updates require at least format version 2 and update mode must be merge-on-read.
        Use ALTER TABLE to configure: SET PROPERTIES 'format-version' = '2', 'write.update.mode' = 'merge-on-read'
explain_analyze_query tool
Get detailed query analysis with execution statistics in watsonx.data.

    Args:
        engine_id: Presto or Prestissimo engine identifier
        statement: SQL query to analyze. If query fails, consider using fully qualified table names (catalog.schema.table)
        engine_type: Engine type - "presto" or "prestissimo" (default: "presto")
        verbose: Include detailed statistics

    Returns:
        Dict with engine_id, engine_type, statement, analysis, and full response
explain_query tool
Get query execution plan without running the query in watsonx.data.

    Args:
        engine_id: Presto or Prestissimo engine identifier
        statement: SQL query to explain. If query fails, consider using fully qualified table names (catalog.schema.table)
        engine_type: Engine type - "presto" or "prestissimo" (default: "presto")
        format: Output format - "json" or "text"
        type: Explain type - "logical", "distributed", "validate", or "io"

    Returns:
        Dict with engine_id, engine_type, statement, plan, and full response
get_spark_application_status tool
Get detailed status of a Spark application.

    Args:
        engine_id: Spark engine identifier
        application_id: Application identifier

    Returns:
        Dict with detailed application status including:
        - application_id: Application identifier
        - state: Current state (e.g., "running", "finished", "failed")
        - start_time: Application start timestamp
        - end_time: Application end timestamp (if completed)
        - spark_version: Spark version used
        - application_details: Configuration and runtime details
list_spark_applications tool
List Spark applications on a Spark engine.

    Args:
        engine_id: (required) Spark engine identifier
        state: (optional) Filter by application state (e.g., ["running", "finished", "failed"])
        limit: (optional) Maximum number of applications to return (1-1000).
               Recommended to use smaller values (e.g., 10-50) to avoid exhausting tokens.

    Returns:
        Dict with applications list containing application details
stop_spark_application tool
Stop and remove a Spark application.

    This will terminate a running application and remove it from the engine's history.

    Args:
        engine_id: Spark engine identifier
        application_id: Application identifier to stop

    Returns:
        Dict with operation status
submit_spark_application tool
Submit a Spark application for execution on a Spark engine.

    Args:
        engine_id: Spark engine identifier
        application: Application file path (JAR, Python, R file)
        arguments: Application arguments array
        conf: Spark configuration properties (e.g., {"spark.executor.memory": "2g"})
        env: Environment variables
        name: Application name (will be added to conf as spark.app.name)
        job_endpoint: External job endpoint
        service_instance_id: Service instance ID - "iae" or "emr"
        type: Engine type - "spark" or "gluten"
        context_type: Context type - "project", "git_project", or "space"
        volumes: Volume mounts (watsonx.data software only). List of dicts with:
                 - name: volume name
                 - mount_path: path in spark cluster (e.g., "/mount/path")
                 - source_sub_path: path in volume to mount (e.g., "/source/path")
                 - read_only: boolean flag

    Returns:
        Dict with application_id, state, and submission details

    Examples:
        Minimal configuration for IBM Cloud Object Storage using cos:// protocol:
        
        {
          "engine_id": "spark398",
          "application": "cos://bucket.instance/app.py",
          "arguments": ["cos://bucket.instance/data.csv"],
          "conf": {
            "spark.hadoop.fs.cos.instance.endpoint": "s3.direct.us-east.cloud-object-storage.appdomain.cloud",
            "spark.hadoop.fs.cos.instance.access.key": "your-access-key",
            "spark.hadoop.fs.cos.instance.secret.key": "your-secret-key"
          }
        }

        Minimal configuration for IBM Cloud Object Storage using s3a:// protocol:
        
        {
          "engine_id": "spark398",
          "application": "s3a://bucket/app.py",
          "arguments": ["s3a://bucket/data.csv"],
          "conf": {
            "spark.hadoop.fs.s3a.bucket.bucket.access.key": "your-access-key",
            "spark.hadoop.fs.s3a.bucket.bucket.secret.key": "your-secret-key",
            "spark.hadoop.fs.s3a.bucket.bucket.aws.credentials.provider": "org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider"
          }
        }

        Optional conf parameters (uses engine defaults if not specified):
        - spark.app.name: Custom application name
        - ae.spark.driver.log.level / ae.spark.executor.log.level: Log levels
        - spark.driver.cores / spark.driver.memory: Driver resources
        - spark.executor.cores / spark.executor.memory: Executor resources

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safety10.0
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure10.0
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 39 tool handlers traced
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 39 tool handlers traced
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 39 tool handlers traced
  • Requests any address
    No tool sends a request to an address the caller supplies — 39 tool handlers traced
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 39 tool handlers traced
  • Tools that start processes
    Not seen in the traced code of 39 capabilities; 39 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 39 capabilities; 39 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 39 capabilities; 39 more call code the scanner could not follow, where it may happen
Where the code is: 39 handlers in 39 files at commit f49375d7c35f
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    2 manifests: pyproject.toml, requirements.txt
  • Lockfiles checked against OSV
    2 files resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies
    No production dependency with a known advisory
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    fastmcp ==4.1.4, mcp ==2.3.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 39 capabilities; 39 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
TransportStreamable HTTP, stdio
Sign-innot checked needs the live server
MCP SDKfastmcp >=4.1.2, mcp >=1.30.0, fastmcp ==4.1.4, mcp ==2.3.0
Servers in the code1 (IBMWatsonxDataMCPServer)

The project's own security

Security policyyes SECURITY.md
Private reportingthe policy does not name a private channel
Past advisoriesnone in the GitHub Advisory Database
Last push2026-10-27
Signed releasesnot checked yet

Where it is published

Listed in3 catalogs (github_search, glama, mcp_toplist)
LicenseApache-2.0
Created2025-12-19
Topicsai claude ibm lakehouse llm mcp model-context-protocol presto python spark

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.