Skip to main content
Glama
IBM watsonx.data MCP Server

IBM watsonx.data MCP Server

Official
by IBM

Create Ingestion Job

create_ingestion_job

Creates a job that loads CSV, Parquet, JSON, ORC, or Avro files from object storage into a target watsonx.data catalog, schema, and table using configurable Spark settings.

Instructions

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: "

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>",
      "catalog": "<catalog>",
      "schema": "<schema>",
      "table": "<table>",
      "file_paths": "<file_paths>"
    },
    "name": "create_ingestion_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableYes
headerNo
job_idYes
schemaYes
catalogYes
encodingNoUTF-8
engine_idNo
file_typeNocsv
file_pathsYes
write_modeNoappend
bucket_nameNo
bucket_typeNoibm_cos
driver_coresNo
driver_memoryNo2G
num_executorsNo
executor_coresNo
line_delimiterNo
executor_memoryNo2G
field_delimiterNo,
escape_characterNo\

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and largely does not meet it. It does not say whether the job runs asynchronously, whether creation blocks, what happens on duplicate job_id, what permissions or existing Spark engine are required, or that driver/executor settings consume cluster resources. The 'Returns' line only restates what the output schema already declares.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The one-line purpose is front-loaded and the per-parameter list is scannable and largely earns its place. Some lines merely repeat schema defaults verbatim, and the Returns line is redundant given the output schema, but the bulk of the length buys real information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 20-parameter mutating operation with no annotations, the description documents inputs thoroughly but omits operational context an agent needs: prerequisites (Spark engine existence), idempotency/duplicate-job behavior, and whether execution is asynchronous. The existing output schema means return values need not be explained, which limits the gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and there are 20 parameters, so the description is the only source of meaning, and it delivers: it supplies valid value lists for file_type, bucket_type and write_mode (the schema declares no enums), format examples for job_id and file_paths, and explains derivations such as bucket_name being extracted from file_paths.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a data ingestion job to load data into watsonx.data'), which clearly separates it from the sibling get/cancel/list_ingestion_jobs tools. It stops short of explicitly naming those alternatives, so it is clear without full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance: nothing says whether an engine must already exist, whether job_id must be unique, or what to do if data should be appended versus a new job created. The reader must infer all calling conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.