Skip to main content
Glama

dataartsinsight__UpdateDataConnection

Updates an existing DataArts Insight data source by connection ID and project, allowing changes to credentials, host, port, database, and source type.

Instructions

[DATAARTSINSIGHT] 数据源更新

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": {
      "config": "<config>",
      "connection_id": "<connection_id>",
      "database_name": "<database_name>",
      "name": "<name>",
      "project_id": "<project_id>",
      "source": "<source>",
      "type": "<type>"
    },
    "name": "dataartsinsight__UpdateDataConnection"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNo域名,非集群数据源必填,如mysql
nameYes数据源名称
portNo端口
typeYes数据源类型;MYSQL,POSTGRESQL,DWS,OPENGAUSS,DLI,CLICKHOUSE,API,DORIS
configYes配置参数
sourceYes数据源来源:rds,dws,mrs,gaussdb,public,restapi,dli
clusterNo云实例接入方式时必填
passwordNo密码
region_idNo当前region的ID
user_nameNo用户名
project_idYes项目ID
descriptionNo数据源描述信息
server_listNo集群模式(多实例)必填,如DWS,ClickHouse
connection_idYes数据源ID
database_nameYes数据库名

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, yet it only conveys that an update happens. It does not state whether this is a full replacement or partial merge of the 15 fields, what happens to omitted nested config entries, whether credentials such as ds_sk and password are required again on update, or whether the operation is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only two words, so nothing is wasted, but this is under-specification rather than conciseness. For a 15-parameter mutation with nested config and request/response parameter arrays, a bare title-equivalent string leaves the agent without front-loaded guidance.

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

Completeness1/5

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

Given 15 parameters, 7 required, nested objects, no annotations, and no output schema, the description is far too thin. It omits mutation semantics, required-field behavior, and any notion of what the call returns, none of which are recoverable from structured fields alone.

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%, with every field, enum, and nested config property documented in the schema itself, so the baseline of 3 applies. The description adds no meaning beyond the schema — no explanation of how required fields like config, source, and type interact or which are conditional on the data source type.

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

Purpose3/5

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

The description says "数据源更新" (data source update), which names a verb and resource, but it is essentially a restatement of the tool name with no scope, no indication of what a full update replaces, and no differentiation from CreateDataConnection, DeleteDataConnectionByConnectionId, or ShowDataConnectionByConnectionId. An agent knows only that some mutation of a data source occurs.

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 at all about when to choose this tool versus the Create/Delete/Show/List siblings, no prerequisites, and no note that connection_id and project_id are path parameters identifying the target resource. The agent must infer everything from the schema alone.

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

Deploy Server

Other Tools