Skip to main content
Glama

dws__CreateEventSub

Creates a data warehouse event subscription to send notifications through SMN, letting you define the event source, category, severity, and message target for 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": {
      "name": "<name>",
      "notification_target": "<notification_target>",
      "notification_target_name": "<notification_target_name>",
      "notification_target_type": "<notification_target_type>",
      "project_id": "<project_id>"
    },
    "name": "dws__CreateEventSub"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo事件标签
nameYes事件订阅名称
enableNo是否开启订阅 1为开启,0为关闭
categoryNo事件类别支持management,monitor,security,system alarm
severityNo事件级别支持normal,warning
source_idNo事件源ID
time_zoneNo时区
project_idYes租户凭证ID
source_typeNo事件源类型支持cluster,backup,disaster-recovery
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
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, yet it says nothing about permissions required, whether subscriptions must be uniquely named, what happens if a target is unreachable, or what the call returns. The only behavioral signal is the implicit 'add' (mutation) meaning, which is already conveyed by the tool name.

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?

One short sentence fragment with no waste, but its brevity comes from under-specification rather than efficient information density. There is nothing front-loaded because there is nothing substantive to front-load.

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?

For a mutation tool with 12 parameters, 5 of them required, no annotations, and no output schema, the description provides no information an agent would need to call it safely or correctly. The schema does the entire job while the description adds nothing about side effects, resulting subscription state, or validation rules.

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% and the 12 properties have detailed Chinese descriptions, examples, and enum-like value hints (e.g. notification_target_type 'only supports SMN', category and severity value lists). The description adds no meaning beyond the schema, so the baseline 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 (CreateEventSub) as 'add a subscribed event' without specifying what an event subscription is, what it connects to, or how it differs from the sibling dws__CreateAlarmSub. An agent cannot tell event subscriptions apart from alarm subscriptions from this text alone.

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 whatsoever on when to use this tool, what prerequisites exist, or when a sibling such as dws__CreateAlarmSub or dws__UpdateEventSub would be the correct choice. No exclusions, no context, no alternatives.

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