Skip to main content
Glama

ces__BatchUpdateOneClickAlarmPoliciesEnabledState

Batch enable or disable alarm rule policies linked to a one-click alarm, letting you manage multiple policy states in a single request.

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>",
      "alarm_policy_ids": "<alarm_policy_ids>",
      "enabled": "<enabled>",
      "one_click_alarm_id": "<one_click_alarm_id>",
      "project_id": "<project_id>"
    },
    "name": "ces__BatchUpdateOneClickAlarmPoliciesEnabledState"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes是否启用告警策略。true:开启,false:关闭。
alarm_idYes告警规则ID
project_idYes租户ID
alarm_policy_idsYes需要批量启停的告警规则策略的ID列表
one_click_alarm_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 at all, the description carries the full disclosure burden for a batch mutation. It says nothing about permissions required, whether the operation is all-or-nothing or partial on failure, whether re-running with the same IDs is idempotent, or what happens to policies not listed.

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 verb and scope front-loaded and no filler. It is appropriately sized, though being one clause long it leaves no room for the behavioral context a mutation tool needs.

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?

This is a batch mutation with five required parameters, nested array items, no annotations, and no output schema. The definition says only what changes, not the operational consequences (partial failure, permission prerequisites, response shape), which is insufficient for a tool of this complexity.

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 the schema already documents all five required parameters, including the enabled flag, path IDs, and the 1-100 item bounds on alarm_policy_ids. The description adds no meaning beyond the schema, which is the expected baseline for a fully documented 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 names a specific verb (batch modify) and a precise resource (the enabled state of alarm rule policies attached to a one-click alarm), and '批量' signals the multi-item scope. It is distinguishable from the sibling ces__BatchUpdateOneClickAlarmsEnabledState because it targets policies rather than the alarm itself, though the description never explicitly states that distinction.

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?

No when-to-use or when-not-to-use guidance is given, and no sibling is named. An agent facing ces__BatchUpdateOneClickAlarmsEnabledState, ces__UpdateAlarmRulePolicies, or ces__BatchEnableAlarmRules must infer the choice purely from the tool names.

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