获取资源组列表
AI agents call ListResourceGroups to retrieve information from Alibabacloud Dataworks without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
Name | string | — | 资源组名称,用于模糊查询 |
SortBy | string | — | 排序字段列表,支持定时时间、开始时间等字段。格式为"排序字段+排序方式(Desc/Asc)"(Asc可以缺省)。排序字段的枚举值如下:- Id (Desc/Asc):资源组ID- Name (Desc/Asc):资源组名称- Remark (Desc/Asc):资源组备注- Type (Desc/Asc):资源 |
PageSize | number | — | 分页大小 |
Statuses | array | — | 查询的资源组状态列表 |
ProjectId | number | — | 所属工作空间ID |
PageNumber | number | — | 分页页码 |
PaymentType | string | — | 资源组的付费类型。- PrePaid:包年包月。- PostPaid:按量付费 |
AliyunResourceTags | array | — | 阿里云标签列表 |
ResourceGroupTypes | array | — | 查询的资源组类型列表,为空默认查询通用资源组 |
AliyunResourceGroupId | string | — | 阿里云资源组ID |
Parameters from the server's own tool schema.
Even though ListResourceGroups only reads data, uncontrolled read access leaks sensitive information and racks up API costs — an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Risk signalsHigh parameter count (12 properties)
Attacks that exploit this kind of access
获取资源组列表. It is categorised as a Read tool in the Alibabacloud Dataworks MCP Server, which means it retrieves data without modifying state.
ListResourceGroups accepts 10 parameters: Name, SortBy, PageSize, Statuses, ProjectId, PageNumber, PaymentType, AliyunResourceTags, ResourceGroupTypes, AliyunResourceGroupId. The full parameter table on this page comes from the server's own tool schema.
Register the Alibabacloud Dataworks MCP server in PolicyLayer and add a rule for ListResourceGroups: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Alibabacloud Dataworks. Nothing to install.
ListResourceGroups is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the ListResourceGroups rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for ListResourceGroups. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
ListResourceGroups is provided by the Alibabacloud Dataworks MCP server (alibabacloud-dataworks-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.