Skip to main content
Glama
IBM watsonx.data MCP Server

IBM watsonx.data MCP Server

Official
by IBM

Execute Update

execute_update

Execute UPDATE queries against IBM watsonx.data tables by specifying the target catalog, schema, and a running engine to modify existing records.

Instructions

Execute UPDATE queries against watsonx.data.

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": {
      "sql": "<sql>",
      "catalog_name": "<catalog_name>",
      "schema_name": "<schema_name>",
      "engine_id": "<engine_id>"
    },
    "name": "execute_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqlYesSQL UPDATE query to execute (must start with UPDATE)
engine_idYesEngine to run query on (from list_engines, must be running)
schema_nameYesDefault schema for unqualified table names
catalog_nameYesTarget catalog (e.g., "iceberg_data", "hive_data")

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.5
    • addedInput schema / properties / catalog_name / description
      Added value: +"Target catalog (e.g., \"iceberg_data\", \"hive_data\")"
    • addedInput schema / properties / engine_id / description
      Added value: +"Engine to run query on (from list_engines, must be running)"
    • addedInput schema / properties / schema_name / description
      Added value: +"Default schema for unqualified table names"
    • addedInput schema / properties / sql / description
      Added value: +"SQL UPDATE query to execute (must start with UPDATE)"
  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 carries the full behavioral burden, and it discloses almost nothing. It doesn't state that this mutates data irreversibly, whether it requires write permissions, transaction or commit semantics, or how row-level failures are handled. With no annotations and a destructive-by-nature operation, this is a significant disclosure gap.

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 zero filler. It is efficiently structured, though its brevity stems partly from under-specification rather than disciplined editing.

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?

For a data-mutating SQL executor with no annotations, the description is too thin — it says nothing about destructive impact, prerequisites, or safety. The rich schema and the presence of an output schema offset some of this, but the core behavioral risk remains undisclosed.

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 all four parameters (sql, engine_id, schema_name, catalog_name) are already documented in the schema, including the 'must start with UPDATE' constraint. The description adds no meaning beyond that baseline, so 3 is 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 names a specific verb and resource: 'Execute UPDATE queries against watsonx.data.' An agent can tell this is the UPDATE path, distinct from execute_insert and execute_select by the DML verb. It doesn't explicitly reference those siblings, so it falls short of a 5.

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 guidance, no when-not-to-use guidance, and no mention of the sibling execute_insert/execute_select alternatives. The one prerequisite that exists (engine must be running) lives only in the schema's engine_id description, not in the tool description.

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