ListAlertMessages

获取报警信息的列表

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

What ListAlertMessages does on Alibabacloud Dataworks

AI agents call ListAlertMessages 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
EndTime string Yes 截止报警时间,需要使用yyyy-MM-dd'T'HH:mm:ssZ的UTC格式
PageSize number Yes 每页显示的条数,默认为10,最大100条
RemindId number 自定义规则的ID,当AlertRuleTypes参数配置为USER_DEFINE自定义规则时生效。该参数与BaselineId参数配置一个即可
AlertUser string 报警接收人的阿里云UID
BeginTime string Yes 起始报警时间,需要使用yyyy-MM-dd'T'HH:mm:ssZ的UTC格式
BaselineId number 基线ID。当AlertRuleTypes参数配置为GLOBAL时生效。该参数与RemindId参数配置一个即可
PageNumber number Yes 分页的页数。默认值为1、最小值为1、最大值为30
AlertMethods string 报警方式,取值如下:- MAIL:邮件。- SMS:短信。<props="intl">可使用短信告警的地域为:新加坡、马来西亚(吉隆坡)、德国(法兰克福)。</props><props="china">- PHONE:电话。仅DataWorks专业版及以上版本支持。</props>多个报警方式之间使用英文逗号(,)分隔
AlertRuleTypes string 规则类型,包括GLOBAL(全局规则)、USER_DEFINE(自定义规则)和OTHER(其它)。多个规则类型之间使用英文逗号(,)分隔

Parameters from the server's own tool schema.

Why ListAlertMessages needs a policy

Even though ListAlertMessages 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 ListAlertMessages

What does the ListAlertMessages 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 ListAlertMessages accept? +

ListAlertMessages accepts 9 parameters: EndTime, PageSize, RemindId, AlertUser, BeginTime, BaselineId, PageNumber, AlertMethods, AlertRuleTypes. Required: EndTime, PageSize, BeginTime, PageNumber. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on ListAlertMessages? +

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

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

Can I rate-limit ListAlertMessages? +

Yes. Add a rate_limit block to the ListAlertMessages 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 ListAlertMessages completely? +

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

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