Skip to main content
Glama

dws__CreateClusterWorkload

Enable or disable workload resource management for a DWS cluster by setting the workload switch and optional maximum concurrency; new clusters default to enabled.

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>",
      "project_id": "<project_id>"
    },
    "name": "dws__CreateClusterWorkload"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes**参数解释**:
project_idYes**参数解释**:
workload_statusNo**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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, and it does add one useful fact (new clusters default to on). However, it does not say what disabling does to running workloads, whether the change is reversible, or what permissions/authorization are required for a mutation operation, which leaves major behavioral questions unanswered.

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 short sentence with the operation stated up front and a useful default noted afterward; nothing is wasted. The brevity is efficient but also reflects under-specification rather than deliberate tightness.

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

Completeness2/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, a nested workload_status object, and no output schema, the description is too thin: it does not explain the nested workload_switch and max_concurrency_num fields, the effect of the toggle, or what the call returns. An agent could not confidently invoke this without guessing.

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 reported at 100%, setting the baseline at 3, but the field descriptions are empty placeholder text ("**参数解释**:"), so the schema conveys no real meaning. The description's "打开或关闭" is the only hint that workload_switch takes on/off values, and it says nothing about max_concurrency_num, cluster_id, or project_id.

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

Purpose3/5

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

The description states a concrete action — turning resource management on or off for a cluster, with new clusters defaulting to on — but the name dws__CreateClusterWorkload suggests creation rather than a toggle, creating friction. It also never distinguishes this from the sibling dws__ListClusterWorkload, so an agent must guess at the read-vs-write split.

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 guidance on when to enable versus disable resource management, no prerequisites (cluster state, required permissions), and no mention of the related workload-plan or workload-queue tools listed as siblings. The only context given is the default-on state for new clusters.

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