Skip to main content
Glama

ces__UpdateOneClickAlarmNotifications

Batch-updates notification settings for one-click alarms, letting you turn notifications on or off and configure channels, time windows, and policies.

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": {
      "notification_enabled": "<notification_enabled>",
      "one_click_alarm_id": "<one_click_alarm_id>",
      "project_id": "<project_id>"
    },
    "name": "ces__UpdateOneClickAlarmNotifications"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户ID
ok_notificationsNo告警恢复触发的动作
one_click_alarm_idYes一键告警ID
alarm_notificationsNo告警触发的动作
notification_mannerNoNOTIFICATION_GROUP(通知组)/TOPIC_SUBSCRIPTION(主题订阅)/NOTIFICATION_POLICY(通知策略)
notification_enabledYes是否开启告警通知。true:开启,false:关闭。
notification_end_timeNo告警通知关闭时间
notification_begin_timeNo告警通知开启时间
notification_policy_idsNo关联的通知策略ID列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 state what exactly is modified (notification actions vs. enable state vs. policy IDs), whether the operation is destructive or reversible, or what permissions are needed. The phrase '批量修改' implies a bulk write but conveys no side-effect details. This is a significant gap for a 9-parameter mutation tool.

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 description is a single dense sentence with no redundant wording, which is efficient. However, for a tool with nested objects and 9 parameters, one vague sentence is under-specified rather than appropriately concise. It is front-loaded but too terse to be helpful.

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?

Given the complexity (9 parameters, required nested objects, no annotations, no output schema), the description is far too thin. It does not explain the relationship between notification_enabled, alarm_notifications, ok_notifications, and notification_policy_ids, nor what the '开启状态' constraint means operationally. An agent would need to rely entirely on the schema and would lack behavioral context.

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 input schema already documents every parameter including nested notification structures and enums. The description adds no parameter-level meaning beyond the schema, which is acceptable at the baseline of 3 when the schema does the heavy lifting.

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

Purpose3/5

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

The description identifies a verb ('批量修改' / batch modify) and a resource ('告警通知' / alarm notifications), scoped to '开启状态的一键告警关联告警规则' (alarm rules associated with enabled one-click alarms). However, the phrasing is convoluted and does not clearly distinguish this from sibling tools like ces__UpdateAlarmNotifications or ces__BatchUpdateOneClickAlarmPoliciesEnabledState. The purpose is inferable but vague enough that an agent might select the wrong update tool.

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 guidance on when to use this tool versus alternatives such as ces__UpdateAlarmNotifications or the batch enable-state tools in the sibling list. No prerequisites, exclusions, or context about the 'enabled state' condition are explained. The agent must infer usage entirely from the name and schema.

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