Skip to main content
Glama
aliyun
by aliyun

CreateDataSource

Add data sources to DataWorks workspaces by configuring connection properties, type, and environment settings for integration with various data systems.

Instructions

创建数据源

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ProjectIdNoDataWorks工作空间的ID
NameYes数据源的名称,由字母、数字、下划线组合,且不能以数字和下划线开头,最长255个字符
TypeYes数据源的类型,目前已经支持数据源类型 70+,数据源类型枚举说明参考文档:[数据源类型列表](~~2852465~~)
ConnectionPropertiesModeYes数据源添加的类别,不同Type下会有不同的子类型,对应有不同的参数约束,以MySQL数据源举例有:- InstanceMode(实例模式)- UrlMode(连接串模式)
ConnectionPropertiesYes数据源的具体连接配置信息,包括连接地址、访问身份、环境信息等。数据源环境envType信息是此对象的成员属性,包括-Dev(开发环境)-Prod(生产环境)不同类型的数据源在不同的配置模式(ConnectionPropertiesMode)下具有不同的属性信息规范,请参考[数据源连接信息ConnectionProperties](~~2852465~~)
DescriptionNo数据源描述信息,长度不超过3000个字符
Behavior1/5

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

No annotations are provided, so the description must fully disclose behavioral traits. The description only states '创建数据源' (Create data source), which implies a write/mutation operation but reveals nothing about permissions required, side effects, rate limits, error conditions, or what happens upon success (e.g., whether a new data source ID is returned). This is critically insufficient for a creation tool with zero annotation coverage.

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

Conciseness3/5

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

The description is extremely concise—just three Chinese characters—but this brevity results in severe under-specification rather than effective conciseness. While it has no wasted words, it fails to convey necessary information, making it inefficient for its purpose. A score of 3 reflects that it is short but not helpfully structured.

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 the complexity (a creation tool with 6 parameters, 4 required), lack of annotations, and no output schema, the description is completely inadequate. It does not explain what the tool does beyond the name, when to use it, behavioral implications, or expected outcomes. For a mutation tool in a rich sibling ecosystem, this leaves the agent with insufficient context to operate correctly.

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?

The input schema has 100% description coverage, thoroughly documenting all 6 parameters (e.g., Name constraints, Type references, ConnectionProperties details). The description adds no parameter information beyond what the schema already provides. According to the rules, when schema_description_coverage is high (>80%), the baseline score is 3 even with no param info in the description.

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 '创建数据源' (Create data source) is a tautology that merely restates the tool name 'CreateDataSource' in Chinese. It provides no specific information about what 'data source' means in this context, what resources are involved, or how this creation differs from similar operations like 'CloneDataSource' or 'UpdateDataSource' among the sibling tools.

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?

The description offers no guidance on when to use this tool versus alternatives. It does not mention prerequisites (e.g., needing a ProjectId), scenarios where creation is appropriate, or when to choose other tools like 'CloneDataSource' or 'UpdateDataSource'. Without any usage context, the agent has no basis for selection.

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/aliyun/alibabacloud-dataworks-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server