Skip to main content
Glama
aliyun
by aliyun

UpdateDataSource

Modify data source configurations in DataWorks projects, including connection properties, environment settings, and descriptions, to maintain accurate data integration workflows.

Instructions

修改数据源

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
IdNo数据源ID,数据源的唯一标识符
ProjectIdNoDataWorks项目空间ID
ConnectionPropertiesYes数据源具体连接配置信息,包括连接地址、访问身份、环境信息等。数据源环境EnvType信息是此对象的成员属性,包括-Dev(开发环境)-Prod(生产环境)不同类型的数据源在不同的配置模式(ConnectionPropertiesMode)下具有不同的属性信息规范,请参考[数据源连接信息ConnectionProperties](~~2852465~~)
ConnectionPropertiesModeNo数据源添加的类别,不同type下会有不同的子类型,对应有不同的参数约束,场景举例:- InstanceMode:实例模式。- UrlMode:连接串模式
DescriptionNo数据源描述信息,长度不超过3000个字符
Behavior1/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. '修改数据源' (Modify data source) implies a mutation operation but provides no information about permissions required, whether changes are destructive or reversible, rate limits, error conditions, or what happens when the operation completes. This is completely inadequate for a mutation tool.

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?

While technically concise with just three Chinese characters, this is a case of severe under-specification rather than effective brevity. The description fails to provide any meaningful information that would help an AI agent understand or use the tool correctly, making it inefficient despite its short length.

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 mutation tool with 5 parameters, no annotations, and no output schema, the description is completely inadequate. It provides no information about what the tool actually does, when to use it, what behaviors to expect, or what results are returned. The agent would be operating almost blindly with only the parameter schema as guidance.

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 schema description coverage is 100%, meaning all 5 parameters are documented in the input schema itself. The description adds no parameter information beyond what's already in the schema, so it meets the baseline of 3 where the schema does the heavy lifting. However, it doesn't compensate with any additional context about parameter relationships or usage patterns.

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 '修改数据源' (Modify data source) is a tautology that essentially restates the tool name 'UpdateDataSource' without providing any meaningful elaboration. It doesn't specify what aspects of a data source are modified, what resources are involved, or how this differs from sibling tools like 'CreateDataSource' or 'CloneDataSource'.

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 provides absolutely no guidance on when to use this tool versus alternatives. There's no mention of prerequisites, appropriate contexts, or distinctions from similar tools like 'CreateDataSource' (for initial creation) or 'CloneDataSource' (for duplication). The agent receives zero usage direction.

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