Skip to main content
Glama

dws__UpdateAlarmSub

Updates a DWS alarm subscription to change alert settings or notification targets, so alerts reach the correct SMN topic.

Instructions

[DWS] 更新订阅的告警。

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_sub_id": "<alarm_sub_id>",
      "name": "<name>",
      "notification_target": "<notification_target>",
      "notification_target_name": "<notification_target_name>",
      "notification_target_type": "<notification_target_type>",
      "project_id": "<project_id>"
    },
    "name": "dws__UpdateAlarmSub"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes告警订阅名称
enableNo是否开启订阅
project_idYes租户凭证ID
alarm_levelNo告警级别
alarm_sub_idYes告警订阅ID
notification_targetYes消息主题地址
notification_target_nameYes消息主题名称
notification_target_typeYes消息主题类型,支持SMN

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure, yet it says nothing about permissions, whether the update is full-replacement or partial, what happens to fields that are omitted, or what the call returns. For a mutation tool with 6 required parameters, this is a severe gap.

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

Conciseness2/5

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

The single sentence is short and front-loaded, but it is under-specified rather than concise; it repeats the tool name and gives no useful content for a fairly complex mutation with 6 required fields.

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

Completeness1/5

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

A mutation tool with 8 parameters, no annotations, and no output schema requires the description to explain update semantics, required identifying fields, and side effects. The one-sentence restatement of the name leaves the agent without any of that.

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 all 8 parameters (including alarm_sub_id, notification_target, and alarm_level) are already documented in the input schema. The description adds no meaning beyond that, so the baseline score of 3 applies.

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

Purpose2/5

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

The description '更新订阅的告警' essentially restates the tool name UpdateAlarmSub, which is 'update alarm subscription'. It conveys a verb (update) and a resource (alarm subscription), but offers no additional detail about scope or effect, and does not distinguish the tool from sibling mutators such as dws__UpdateEventSub.

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

Usage Guidelines1/5

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

There is no guidance at all on when to use this tool rather than dws__CreateAlarmSub or dws__DeleteAlarmSub, no prerequisites, and no exclusions. The agent must infer everything from the name.

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