Skip to main content
Glama
IBM

IBM watsonx.data MCP Server

Official
by IBM

create_schema

Create a new schema in a watsonx.data object storage catalog using a Presto or Prestissimo engine. Specify catalog, schema name, engine, custom path, and storage.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
catalog_idYes
schema_nameYes
engine_idYes
custom_pathYes
storage_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description takes full responsibility for behavioral disclosure. It details constraints, required parameters, and raises error conditions (e.g., engine type, catalog type, empty custom_path). Returns section clarifies output. However, it does not mention side effects (e.g., whether schema creation is immediately visible).

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 well-structured with sections (IMPORTANT RESTRICTIONS, Args, Returns, Raises). While detailed, it avoids unnecessary verbosity; each sentence serves a purpose. Could be slightly more concise, but structure aids readability.

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

Completeness5/5

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

Given the output schema exists, the description adequately covers return values. It includes parameter dependencies, error conditions, and usage guidelines. No apparent gaps in information for an agent to invoke the tool correctly.

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

Parameters4/5

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

The description explains each parameter in an Args section beyond the input schema, which has 0% coverage. It clarifies requirements for custom_path ('must be at least 1 character') and storage_name ('REQUIRED for object storage catalogs'), adding essential context.

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

Purpose5/5

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

The description clearly states 'Create a new schema in a watsonx.data catalog,' specifying the action and resource. This distinguishes it from sibling tools like list_schemas or create_ingestion_job.

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

Usage Guidelines4/5

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

The description provides explicit restrictions on engine type and catalog type, guiding when this tool is appropriate. It does not explicitly mention when not to use it, but the restrictions effectively serve as usage guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IBM/ibm-watsonxdata-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server