Skip to main content
Glama
IBM watsonx.data MCP Server

IBM watsonx.data MCP Server

Official
by IBM

Rename Column

rename_column

Renames a column in a watsonx.data table by specifying the catalog, schema, table, current column name, new name, and engine ID.

Instructions

Rename a column in a table in a watsonx.data schema.

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_name": "<catalog_name>",
      "schema_name": "<schema_name>",
      "table_name": "<table_name>",
      "column_name": "<column_name>",
      "new_column_name": "<new_column_name>",
      "engine_id": "<engine_id>"
    },
    "name": "rename_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
engine_idYesEngine ID to use for the operation (from list_engines)
table_nameYesTable containing the column
column_nameYesCurrent column name
schema_nameYesSchema containing the table
catalog_nameYesCatalog containing the table (e.g., "iceberg_data")
new_column_nameYesNew name for the column

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.1.5
    • addedInput schema / properties / catalog_name / description
      Added value: +"Catalog containing the table (e.g., \"iceberg_data\")"
    • addedInput schema / properties / column_name / description
      Added value: +"Current column name"
    • addedInput schema / properties / engine_id / description
      Added value: +"Engine ID to use for the operation (from list_engines)"
    • addedInput schema / properties / new_column_name / description
      Added value: +"New name for the column"
    • addedInput schema / properties / schema_name / description
      Added value: +"Schema containing the table"
    • addedInput schema / properties / table_name / description
      Added value: +"Table containing the column"
  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?

With no annotations supplied, the description carries the full behavioral burden, yet it says nothing beyond the bare operation. It does not disclose that this is a destructive/irreversible schema mutation, whether dependent views or queries break, what permissions are required, or how the engine_id affects execution.

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?

A single, front-loaded sentence with no filler or redundancy. It is efficient, though its brevity borders on under-specification rather than being a model of structure.

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?

An output schema exists, so return values need not be explained, but for a six-parameter destructive DDL operation with zero annotations the description is far too thin. Critical context about irreversibility, engine requirements, and effects on dependent objects is missing.

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% and all six parameters are individually documented, including the engine_id cross-reference to list_engines. The description adds no semantics beyond that, so the baseline of 3 applies.

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 ('Rename a column in a table') plus the scoping container ('in a watsonx.data schema'), which is enough to distinguish it from rename_table or add_columns by object type. It stops short of explicitly contrasting itself with those siblings.

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 guidance on when to use this versus rename_table or add_columns, and no stated prerequisites such as needing the engine running or the table being writable. An agent must infer all usage conditions from the sibling name list.

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