Skip to main content
Glama

dsc__UpdateDefaultTopic

Updates a DSC alert notification configuration to set the associated project ID, notification topic URN, and enable or disable alert notifications.

Instructions

[DSC] 修改告警通知的关联项目ID、通知主题、通知状态(0为关闭通知,1为开启通知)等通用配置

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": {
      "id": "<id>",
      "project_id": "<project_id>",
      "topic_urn": "<topic_urn>"
    },
    "name": "dsc__UpdateDefaultTopic"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDSC告警主题ID(非消息通知服务主题ID)
statusNo告警通知状态
topic_urnYes消息通知主题的唯一资源标识符
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, yet it omits key traits: whether this is a partial or full replacement of the configuration, what permissions are needed, and whether the change is reversible. It does add one useful behavioral detail — the meaning of status values (0 = 关闭通知, 1 = 开启通知) — which keeps this above a 1.

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 front-loaded sentence that names the action and the affected fields with no filler. The trailing '等通用配置' is the only imprecision, but it is minor.

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

Completeness3/5

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

For a mutation tool with no annotations and no output schema, the definition covers which fields change and their value semantics, which is roughly adequate. It stops short of explaining partial-vs-full update behavior, error conditions, or the effect on notification delivery, all of which an agent would want before calling a config-modifying endpoint with three required parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description earns an extra point by explaining the status field semantics (0 disables notification, 1 enables it), which the schema leaves as an undefined int32. It also frames the three fields as 'general configuration' fields, tying them together. It does not clarify the id parameter's scope, but the schema already warns that this is the DSC alarm topic ID, not the SMN topic ID.

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 states a specific verb (修改) and a concrete resource (告警通知的通用配置), then enumerates the fields affected: project_id, topic_urn, and status. An agent can distinguish it from sibling topic tools (kafka__UpdateTopic, rocketmq__UpdateTopic) because it clearly targets DSC alarm-notification configuration rather than a messaging topic. It falls short of a 5 only because '等通用配置' leaves the full scope of the update undefined.

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: no prerequisites (e.g., that the alarm topic must already exist), no statement about when to prefer this over a create/delete counterpart, and no mention of what happens if the ID is invalid. The agent must infer invocation context entirely.

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