Skip to main content
Glama

dws__UpdateDataSource

Updates an existing DWS data source for a specified cluster, applying configuration changes such as agency and reboot settings without recreating the source.

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": {
      "cluster_id": "<cluster_id>",
      "ext_data_source_id": "<ext_data_source_id>",
      "project_id": "<project_id>",
      "reconfigure": "<reconfigure>"
    },
    "name": "dws__UpdateDataSource"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes**参数解释**:
project_idYes**参数解释**:
reconfigureYes数据源配置。
ext_data_source_idYes数据源id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/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 burden, yet it only implies mutation via "更新". It does not disclose permission requirements, whether changes are reversible, or what the nested reconfigure object (including reboot) actually does to the data source.

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?

It is a single short, front-loaded sentence with no waste, but the brevity comes from omission rather than efficiency. There is no structure beyond one generic clause.

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?

This is a mutation tool with a nested configuration object containing a reboot flag, four required parameters, no annotations, and no output schema. A one-line restatement of the name is completely inadequate for that complexity and risk profile.

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?

With declared schema description coverage at 100%, the schema is expected to carry parameter meaning, so 3 is the baseline. The description adds nothing about cluster_id, project_id, ext_data_source_id, or how the reconfigure object's agency/reboot fields behave, which is notable since the schema's own descriptions are near-empty placeholders.

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 says only "该接口用于更新一个数据源" (this interface updates a data source), which essentially restates the tool name dws__UpdateDataSource. It names no distinguishing scope, fields, or effect that would separate it from siblings like dws__CreateDataSource or dws__DeleteDataSource.

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, and no mention of alternatives such as Create/Delete/ListDataSource. The agent is left to infer that this is the mutation path purely from the tool 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