Skip to main content
Glama
aliyun
by aliyun

ListDataSources

Retrieve a filtered and paginated list of data sources from a DataWorks workspace, enabling management and querying by type, name, tags, and environment.

Instructions

获取数据源列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ProjectIdNoDataWorks工作空间的ID
OrderNo数据源列表排序方向,枚举值:- Desc:倒序- Asc:正序默认值:Desc
TypesNo数据源类型查询过滤,可以配置多个类型查询过滤
PageSizeNo分页大小,默认值为10,最大值100
PageNumberNo查询第几页,默认值为1表示第一页
SortByNo数据源列表排序字段,支持名称、创建时间、数据源ID排序- CreateTime:创建时间- Id:数据源ID- Name:数据源名称默认值:CreateTime
EnvTypeNo数据源环境类型,枚举值:- Dev:开发环境- Prod:生产环境
TagsNo数据源可以打标签,基于标签做数据源查询过滤:- 多个值之间是“且”的关系,比如`["tag1", "tag2", "tag3"]`底层查询同时有这3个标签打标的数据源列表。- 不传递,或者传递为空表示不作tag过滤,查询最多支持10个标签
NameNo数据源名称,基于此名称做模糊查询
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. '获取数据源列表' implies a read-only list operation, but it doesn't specify whether this is paginated, what the return format is, or any rate limits or authentication requirements. For a tool with 9 parameters and no output schema, this leaves significant behavioral gaps.

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

Conciseness5/5

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

The description is extremely concise with a single phrase ('获取数据源列表'), which is appropriately sized for a simple list operation. It's front-loaded with the core purpose, though this brevity comes at the cost of completeness. Every word earns its place by stating the basic action.

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?

Given the tool's complexity (9 parameters, no annotations, no output schema), the description is incomplete. It doesn't explain the return values, pagination behavior, or how filtering works with multiple parameters. For a list tool with rich filtering options, more context is needed to guide effective use.

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 all 9 parameters well-documented in the input schema (e.g., ProjectId, Order, Types). The description adds no additional parameter semantics beyond what's already in the schema. According to the rules, with high schema coverage (>80%), the baseline 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 '获取数据源列表' (Get data source list) is a tautology that essentially restates the tool name 'ListDataSources' in Chinese. It specifies the verb ('获取' - get) and resource ('数据源列表' - data source list), but doesn't differentiate from sibling tools like 'ListDataServiceApis' or 'ListDataQualityRules' beyond the resource type. The purpose is clear but lacks specificity about scope or context.

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?

The description provides no guidance on when to use this tool versus alternatives. With many sibling list tools (e.g., ListDataServiceApis, ListDataQualityRules), there's no indication of context, prerequisites, or exclusions. The agent must infer usage from the tool name alone, which is insufficient for optimal 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