Skip to main content
Glama

ces__DeleteAlarmRuleResources

Deletes specified resources from a Cloud Eye Service alarm rule in batch, excluding resource-group alarm rules; use resource group management APIs for those changes.

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

Input Schema

NameRequiredDescriptionDefault
alarm_idYesAlarm实例ID
resourcesYes资源信息
project_idYes租户ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a destructive batch operation. It discloses one constraint (unsupported rule type) but says nothing about irreversibility, whether removal affects active alarm evaluation, permission requirements, or the 1000-resource batch ceiling that the schema imposes.

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?

A single compact sentence with the core action front-loaded and the exclusion in parentheses, which is efficient. The trailing redirect phrase '资源分组管理相关接口' is vague enough to be low-value wording, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three required parameters fully documented and no output schema, the description covers purpose and one key exclusion adequately. For an unannotated destructive mutation it still omits consequences of the delete and the batch-size implication, leaving an agent without enough to predict the operation's effect.

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%, with alarm_id, project_id, and the nested resources structure all documented inline including patterns and dimension semantics. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 gives a specific verb+resource combination (批量删除告警规则资源) prefixed with the service tag [CES], which distinguishes it from generic resource deletion siblings like BatchDeleteResources. It also scopes out one category of rule (resource-group type), but it does not name a concrete sibling tool, leaving differentiation partly implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when NOT to use it (resource-group type alarm rules are unsupported) and redirects those cases to resource group management interfaces. The redirect is vague because it names no specific sibling tool, and no positive when-to-use condition beyond the implied 'removing resources from a rule' is given.

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