Skip to main content
Glama

dws__AddWorkloadPlanStage

Add a workload plan stage to a DWS cluster plan, defining stage timing and resource queue allocations for scheduled workload management.

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

Input Schema

NameRequiredDescriptionDefault
plan_idYes**参数解释**:
cluster_idYes**参数解释**:
project_idYes**参数解释**:
workload_plan_stageNo资源管理计划阶段详情

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.8/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 behavioral burden, and it discloses nothing. For a mutation tool it never states whether the operation is idempotent, what permissions or plan state are required, what happens on duplicate stage names, or what is returned. This is a significant gap for a write operation.

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?

The single sentence is front-loaded and free of padding, so there is nothing to trim, but its brevity comes from omission rather than efficiency. Length is appropriate only in the trivial sense that the definition says almost nothing.

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?

The tool takes a four-parameter input including a nested object with queue and resource arrays, has no annotations and no output schema, yet is documented in one tautological sentence. Nothing an agent needs in order to call it correctly — identifier formats, required plan state, nested structure semantics, or result behavior — is present.

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

Parameters2/5

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

Schema description coverage is nominally 100%, but the key path parameters plan_id, cluster_id, and project_id all carry the empty placeholder "**参数解释**:", as do resource_name, resource_value, and value_unit. The description adds no meaning to compensate, leaving an agent to guess formats for identifiers and the time/day/month semantics of the nested workload_plan_stage object.

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 "[DWS] 添加工作负载计划阶段。" is a direct restatement of the tool name AddWorkloadPlanStage in Chinese, adding no detail about what a stage is or what adding one accomplishes. It does not distinguish this tool from siblings such as dws__UpdateWorkloadPlanStage or dws__SwitchPlanStage. This is tautology rather than stated purpose.

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 (such as the plan needing to exist first or the plan being in a particular state), and no reference to alternatives like the Update/Delete/Switch stage siblings. The verb 'add' hints at creation, but nothing tells an agent under what circumstances to pick this tool over those.

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