Skip to main content
Glama
IBM

IBM watsonx.data MCP Server

Official
by IBM

execute_update

Execute UPDATE SQL queries against watsonx.data tables. Returns query ID, rows updated, execution time, and status.

Instructions

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'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYes
catalog_nameYes
schema_nameYes
engine_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full burden. It details the return dict and notes Iceberg table update limitations (format version 2, merge-on-read mode). However, it does not mention side effects, permission requirements, or handling of failed updates.

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 (Args, Returns, Note) and uses clear bullet points. It is somewhat verbose but every sentence adds value, especially the Iceberg note. Could be slightly more concise but effective.

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

Completeness4/5

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

Given the presence of an output schema (though not detailed here) and the complexity of UPDATE operations, the description is comprehensive. It covers the return values, input parameters, and a specific configuration note for Iceberg tables. Lacks error handling or concurrency context.

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?

Schema coverage is 0% with no parameter descriptions in the input schema. The description adds substantial meaning: sql must start with UPDATE, catalog_name examples, schema_name as default schema, engine_id from list_engines. This compensates well for the lack of schema descriptions.

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 it executes UPDATE queries against watsonx.data, with a specific verb and resource. It distinguishes from sibling tools like execute_insert and execute_select by focusing on UPDATE operations and requiring SQL to start with UPDATE.

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 specifies when to use the tool (for UPDATE queries) and provides prerequisites like the engine must be running and obtained from list_engines. While it doesn't explicitly mention alternatives, the sibling list makes it clear. No explicit when-not-to-use guidance is given.

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