Skip to main content
Glama

ces__ListAlarmRuleResources

Retrieves the monitored resources attached to a specified alarm rule ID within a project, so you can see which resources trigger a CES alarm and paginate through them.

Instructions

[CES] 根据告警规则ID查询告警规则资源列表

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": {
      "alarm_id": "<alarm_id>",
      "project_id": "<project_id>"
    },
    "name": "ces__ListAlarmRuleResources"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo分页大小
offsetNo分页偏移量
alarm_idYesAlarm实例ID
project_idYes租户ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, and it does not say whether the tool is read-only, whether the result is paginated or ordered, or what happens when the alarm rule has no bound resources. The lone phrase 查询 strongly implies a read, but nothing beyond that is disclosed.

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

Conciseness4/5

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

It is one short, front-loaded sentence with a bracketed service prefix and zero filler. Nothing is wasted, though there is equally little substance beyond the core operation.

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 four-parameter list tool with no annotations and no output schema, the description omits how results are paged, what a resource entry looks like, and whether an empty binding set is an error or an empty list. The fully documented schema compensates for the parameter side but not for behavior.

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%, so alarm_id, project_id, limit and offset are already documented in the schema, and the baseline is 3. The description only restates that filtering is by alarm rule ID and adds no format, default, or pagination-cursor detail beyond the schema.

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 plus its resource (查询/query the 告警规则资源列表) and its scoping key (by 告警规则ID), so an agent knows exactly what it reads. It does not name or contrast itself with siblings such as AddAlarmRuleResources or DeleteAlarmRuleResources, which keeps it shy of a 5.

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?

There is no explicit when-to-use or when-not-to-use guidance, no mention of prerequisites such as the alarm rule needing to exist, and no pointer to alternative tools for related data. The query-by-ID framing only implies usage.

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