Skip to main content
Glama

dataartsinsight__CreateDataConnection

Create a data connection in DataArts Insight for sources such as MySQL, DWS, DLI, or API, enabling analytics access to your database.

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>",
      "database_name": "<database_name>",
      "name": "<name>",
      "project_id": "<project_id>",
      "source": "<source>",
      "type": "<type>"
    },
    "name": "dataartsinsight__CreateDataConnection"
  }
}

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
database_nameYes数据库名

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

With no annotations, the description carries the full behavioral burden and supplies none of it. It does not mention that this persists credentials (password, ds_ak/ds_sk, token_value), that creation may validate connectivity and fail, whether the operation is idempotent, or what happens on duplicate names — all critical for a mutation handling secrets.

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 text is short but that shortness is under-specification rather than conciseness — a five-character Chinese phrase plus a bracketed product tag, no structure and no front-loaded useful information.

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?

For a tool with 14 parameters, 6 required, nested objects, enum-constrained type field, and no output schema or annotations, the description should explain selection, source-type-dependent requirements, and side effects. It explains nothing, so an agent has to derive everything from the schema 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% and every one of the 14 parameters, including the deeply nested config.request_params, carries its own description and examples. The description adds no semantics beyond the schema, so the baseline 3 applies.

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

Purpose2/5

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

The description "[DATAARTSINSIGHT] 数据源新增" is essentially a translation of the tool name CreateDataConnection — the same create+data-source pair with a product prefix. It tells an agent nothing about what kind of data connection (which source types, what credentials) or how it differs from the sibling UpdateDataConnection or ShowDataConnectionByConnectionId.

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

Usage Guidelines1/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 prerequisites, and no mention of alternatives such as UpdateDataConnection for existing connections. An agent must infer entirely from the name that this is the create-vs-update branch.

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