Skip to main content
Glama
IBM watsonx.data MCP Server

IBM watsonx.data MCP Server

Official
by IBM

Create Schema

create_schema

Creates a new schema in a watsonx.data catalog by specifying the engine, catalog, storage path, and schema name, enabling organized data storage and querying.

Instructions

Create a new schema in a watsonx.data catalog.

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": {
      "catalog_id": "<catalog_id>",
      "schema_name": "<schema_name>",
      "engine_id": "<engine_id>",
      "custom_path": "<custom_path>"
    },
    "name": "create_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
engine_idYesEngine ID to use for the operation - must be a Presto or Prestissimo engine (from list_engines)
catalog_idYesCatalog identifier - must be an object storage catalog (e.g., "iceberg_data", "hive_data")
custom_pathYesPath within bucket where schema will be created (REQUIRED, must be at least 1 character). If unsure, use the schema_name as the custom_path.
schema_nameYesName for the new schema
storage_nameNoStorage/bucket name for the schema (REQUIRED for object storage catalogs)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.1.5
    • addedInput schema / properties / catalog_id / description
      Added value: +"Catalog identifier - must be an object storage catalog (e.g., \"iceberg_data\", \"hive_data\")"
    • addedInput schema / properties / custom_path / description
      Added value: +"Path within bucket where schema will be created (REQUIRED, must be at least 1 character).\n         If unsure, use the schema_name as the custom_path."
    • addedInput schema / properties / engine_id / description
      Added value: +"Engine ID to use for the operation - must be a Presto or Prestissimo engine (from list_engines)"
    • addedInput schema / properties / schema_name / description
      Added value: +"Name for the new schema"
    • addedInput schema / properties / storage_name / description
      Added value: +"Storage/bucket name for the schema (REQUIRED for object storage catalogs)"
  2. First observedv0.1.4

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description must carry the full behavioral burden. It states only that a schema is created and does not disclose permissions, failure behavior if the schema already exists, side effects, or requirements such as an active compatible engine.

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 description is a single well-formed sentence with no wasted wording, and the core action is front-loaded. Its brevity is efficient, though it leaves important context unstated.

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

Completeness2/5

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

This is a five-parameter mutation tool with no annotations, so the description should convey more behavioral context. Although the input schema is fully documented and an output schema exists, the description omits prerequisites, side effects, and operational constraints needed to invoke the tool confidently.

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

Parameters3/5

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

Schema description coverage is 100%, so the input schema already explains all five parameters, including required catalog_id, schema_name, engine_id, and custom_path. The description adds no meaning beyond the schema, making the baseline score of 3 appropriate.

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?

The description gives a specific verb and resource: create a new schema in a watsonx.data catalog. It is clear what the tool does, but it does not distinguish itself from sibling tools such as list_schemas or explain how it relates to catalog/engine operations.

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?

The description provides no when-to-use guidance, prerequisites, or alternatives. It does not mention that the catalog must be object storage, that the engine must be Presto or Prestissimo, or when to use create_schema versus other schema-management operations.

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