IBM/ibm-watsonxdata-mcp-server
Model Context Protocol (MCP) server for IBM watsonx.data - enables AI assistants to query and explore lakehouse data Resources
f49375d7c35fibm-watsonxdata-mcp-server0.1.5 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
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.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
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 addedcancel_ingestion_jobtool Cancel a data ingestion job.
Cancel a data ingestion job.
Args:
job_id: Job identifier
Returns:
Dict with cancellation statuscreate_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 detailscreate_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_idcreate_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_idcreate_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 providedcreate_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_iddescribe_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 inputexecute_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 inputsexecute_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 inputsexecute_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 responseexplain_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 responseget_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 detailsget_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 URLget_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 detailslist_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 detailslist_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 inputslist_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 detailslist_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 inputspause_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 transitionpause_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 transitionpause_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 statusrename_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 namerename_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 namerestart_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, responserestart_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, responseresume_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 transitionresume_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 transitionresume_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 statusscale_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 configurationscale_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 configurationscale_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 statussubmit_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 resourcesupdate_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 configurationupdate_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 configurationupdate_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 addedcreate_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 provideddescribe_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 inputlist_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 inputslist_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 inputsrename_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 namerename_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 namecreate_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_idcreate_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_idcreate_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_idlist_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 transitionpause_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 transitionpause_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 statusrestart_prestissimo_engine tool
Restart a Prestissimo engine in watsonx.data.
Args:
engine_id: Engine identifier
Returns:
Dict with engine_id, status, message, responserestart_presto_engine tool
Restart a Presto engine in watsonx.data.
Args:
engine_id: Engine identifier
Returns:
Dict with engine_id, status, message, responseresume_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 transitionresume_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 transitionresume_spark_engine tool
Resume a paused Spark engine in watsonx.data (SAAS only).
Args:
engine_id: Engine identifier
Returns:
Dict with resume operation statusscale_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 configurationscale_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 configurationscale_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 configurationupdate_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 configurationupdate_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 statuscreate_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 detailsget_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 detailslist_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 detailsget_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 URLexecute_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 inputsexecute_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 inputsexecute_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 responseexplain_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 responseget_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 detailslist_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 detailsstop_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 statussubmit_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 resourcesWhat we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 39 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 39 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 39 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 39 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 39 tool handlers traced
- Tools that start processesNot seen in the traced code of 39 capabilities; 39 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot 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 networkNot 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
src/lakehouse_mcp/tools/catalog/add_columns.pyadd_columnssrc/lakehouse_mcp/tools/catalog/create_schema.pycreate_schemasrc/lakehouse_mcp/tools/catalog/describe_table.pydescribe_tablesrc/lakehouse_mcp/tools/catalog/list_schemas.pylist_schemassrc/lakehouse_mcp/tools/catalog/list_tables.pylist_tablessrc/lakehouse_mcp/tools/catalog/rename_column.pyrename_columnsrc/lakehouse_mcp/tools/catalog/rename_table.pyrename_tablesrc/lakehouse_mcp/tools/engine/create_prestissimo_engine.pycreate_prestissimo_enginesrc/lakehouse_mcp/tools/engine/create_presto_engine.pycreate_presto_enginesrc/lakehouse_mcp/tools/engine/create_spark_engine.pycreate_spark_enginesrc/lakehouse_mcp/tools/engine/list_engines.pylist_enginessrc/lakehouse_mcp/tools/engine/pause_prestissimo_engine.pypause_prestissimo_enginesrc/lakehouse_mcp/tools/engine/pause_presto_engine.pypause_presto_enginesrc/lakehouse_mcp/tools/engine/pause_spark_engine.pypause_spark_enginesrc/lakehouse_mcp/tools/engine/restart_prestissimo_engine.pyrestart_prestissimo_enginesrc/lakehouse_mcp/tools/engine/restart_presto_engine.pyrestart_presto_enginesrc/lakehouse_mcp/tools/engine/resume_prestissimo_engine.pyresume_prestissimo_enginesrc/lakehouse_mcp/tools/engine/resume_presto_engine.pyresume_presto_enginesrc/lakehouse_mcp/tools/engine/resume_spark_engine.pyresume_spark_enginesrc/lakehouse_mcp/tools/engine/scale_prestissimo_engine.pyscale_prestissimo_enginesrc/lakehouse_mcp/tools/engine/scale_presto_engine.pyscale_presto_enginesrc/lakehouse_mcp/tools/engine/scale_spark_engine.pyscale_spark_enginesrc/lakehouse_mcp/tools/engine/update_prestissimo_engine.pyupdate_prestissimo_enginesrc/lakehouse_mcp/tools/engine/update_presto_engine.pyupdate_presto_enginesrc/lakehouse_mcp/tools/engine/update_spark_engine.pyupdate_spark_enginesrc/lakehouse_mcp/tools/ingestion/cancel_ingestion_job.pycancel_ingestion_jobsrc/lakehouse_mcp/tools/ingestion/create_ingestion_job.pycreate_ingestion_jobsrc/lakehouse_mcp/tools/ingestion/get_ingestion_job.pyget_ingestion_jobsrc/lakehouse_mcp/tools/ingestion/list_ingestion_jobs.pylist_ingestion_jobssrc/lakehouse_mcp/tools/platform/get_instance_details.pyget_instance_detailssrc/lakehouse_mcp/tools/query/execute_insert.pyexecute_insertsrc/lakehouse_mcp/tools/query/execute_select.pyexecute_selectsrc/lakehouse_mcp/tools/query/execute_update.pyexecute_updatesrc/lakehouse_mcp/tools/query/explain_analyze_query.pyexplain_analyze_querysrc/lakehouse_mcp/tools/query/explain_query.pyexplain_querysrc/lakehouse_mcp/tools/spark_applications/get_spark_application_status.pyget_spark_application_statussrc/lakehouse_mcp/tools/spark_applications/list_spark_applications.pylist_spark_applicationssrc/lakehouse_mcp/tools/spark_applications/stop_spark_application.pystop_spark_applicationsrc/lakehouse_mcp/tools/spark_applications/submit_spark_application.pysubmit_spark_application
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: pyproject.toml, requirements.txt
- Lockfiles checked against OSV2 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 dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp ==4.1.4, mcp ==2.3.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 39 capabilities; 39 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot 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 runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp >=4.1.2, mcp >=1.30.0, fastmcp ==4.1.4, mcp ==2.3.0 |
| Servers in the code | 1 (IBMWatsonxDataMCPServer) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-10-27 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | Apache-2.0 |
| Created | 2025-12-19 |
| Topics | ai 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.