Skip to main content
Glama

dws__UpdateEventSub

Updates an event subscription to change notification targets, enablement status, and event filters for monitored cloud data warehouse alerts.

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": {
      "event_sub_id": "<event_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__UpdateEventSub"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo事件标签
nameYes事件订阅名称
enableNo是否开启订阅 1为开启,0为关闭
categoryNo事件类别支持management,monitor,security,system alarm
severityNo事件级别支持normal,warning
source_idNo事件源ID
project_idYes租户凭证ID
source_typeNo事件源类型支持cluster,backup,disaster-recovery
event_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.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it discloses nothing. For a destructive mutation it never states whether partial updates are supported, whether omitted fields are cleared or preserved, what permissions or tenant scope are required, or whether the change is reversible.

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?

It is short and front-loaded, but the brevity is under-specification rather than economy — the single clause carries no actionable content beyond the title. There is no wasted wording, but there is also almost no wording to justify.

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 twelve-parameter mutation with six required fields, no annotations, no output schema and no enum constraints demands substantial description. One sentence restating the name leaves an agent unable to call it correctly without reverse-engineering the schema and guessing at update semantics.

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 twelve parameters including the six required ones carry inline descriptions; the baseline is therefore 3 even though the description adds nothing. Still, the description does not clarify the critical ambiguity of whether required fields like name and notification_target overwrite existing values on every call.

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 reads "[DWS] 更新订阅事件" — effectively a Chinese restatement of the tool name dws__UpdateEventSub. It conveys no more than the name already does: no scope, no object model, no statement of what an "event subscription" contains or which fields can be changed, and no differentiation from siblings such as dws__CreateEventSub, dws__DeleteEventSub or dws__UpdateAlarmSub.

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 when-to-use guidance at all: no statement of prerequisites, no conditions favoring this tool over dws__UpdateAlarmSub or dws__CreateEventSub, and no note that the subscription must already exist before updating. The agent must infer everything from the verb alone.

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