ListRoutes

获取网络资源的路由列表

Server Alibabacloud Dataworks alibabacloud-dataworks-mcp-server
Category Read
Risk class Low
Parameters 51 required

What ListRoutes does on Alibabacloud Dataworks

AI agents call ListRoutes 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.

ParameterTypeRequiredDescription
SortBy string 排序字段列表,支持定时时间、开始时间等字段。格式为"排序字段+排序方式(Desc/Asc)"(Asc可以缺省)。排序字段的枚举值如下:- Id (Desc/Asc):路由ID- DestinationCidr (Desc/Asc):目的CIDR- CreateTime (Desc/Asc):创建时间默认为CreateT
PageSize number 分页大小
NetworkId number 网络资源ID
PageNumber number 分页页码
ResourceGroupId string Yes 通用资源组唯一标识

Parameters from the server's own tool schema.

Why ListRoutes needs a policy

Even though ListRoutes 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.

Questions about ListRoutes

What does the ListRoutes tool do? +

获取网络资源的路由列表. It is categorised as a Read tool in the Alibabacloud Dataworks MCP Server, which means it retrieves data without modifying state.

What parameters does ListRoutes accept? +

ListRoutes accepts 5 parameters: SortBy, PageSize, NetworkId, PageNumber, ResourceGroupId. Required: ResourceGroupId. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on ListRoutes? +

Register the Alibabacloud Dataworks MCP server in PolicyLayer and add a rule for ListRoutes: 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.

What risk level is ListRoutes? +

ListRoutes is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit ListRoutes? +

Yes. Add a rate_limit block to the ListRoutes 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.

How do I block ListRoutes completely? +

Set action: deny in the PolicyLayer policy for ListRoutes. 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.

What MCP server provides ListRoutes? +

ListRoutes 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.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.