Skip to main content
Glama

ces__ListAlarmRules

Lists Cloud Eye (CES) alarm rules for a project and supports filtering by name, alarm ID, namespace, resource, or enterprise project. Use it to inspect existing alert rules with pagination.

Instructions

[CES] 查询告警规则列表

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>"
    },
    "name": "ces__ListAlarmRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo告警名称, 只能包含0-9/a-z/A-Z/_/-或汉字,长度1-128
limitNo分页大小
offsetNo分页偏移量
alarm_idNo告警规则ID
namespaceNo查询服务的命名空间,各服务命名空间请参考“[服务命名空间](ces_03_0059.xml)”
project_idYes租户ID
resource_idNo告警资源ID,多维度情况按字母升序排列并使用逗号分隔
product_nameNo产品层级跨纬规则查询时支持产品名称查询,一般由"服务命名空间,服务首层维度名称"组成,如"SYS.ECS,instance_id"
resource_levelNo产品层级跨纬规则查询时支持规则所属类型查询,resource_level取值为product即为产品层级跨纬规则,不填或者取值为dimension则为旧的规则类型
enterprise_project_idNo企业项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the behavioral burden, but it only says the tool queries a list. It does not clarify that the operation is read-only, whether results are paginated, what filtering behavior applies, or what permissions are required.

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

Conciseness3/5

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

The single phrase is front-loaded and free of waste, but it is too terse to be appropriately sized for a 10-parameter listing tool with no annotations. Conciseness is not the issue; under-specification is.

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?

For a moderately complex list tool with 10 parameters, no annotations, and no output schema, the description is incomplete. It does not explain the return shape, pagination behavior, or how the filters affect results, leaving the agent to rely entirely on the schema.

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 input schema has 100% description coverage and fully documents all 10 parameters, so the baseline score is 3. The description adds no extra meaning about how filters such as name, namespace, or resource_level combine.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: listing alarm rules. It is clear, though it does not distinguish this tool from nearby list-style siblings such as ListOneClickAlarmRules or ListAlarmRulePolicies.

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?

It gives no guidance on when to use this tool rather than the sibling list tools, and it states no prerequisites or exclusions. The only clue is the generic 'query alarm rule list' phrasing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools