Skip to main content
Glama

dws__UpdateMaintenanceWindow

Set or update a DWS cluster's maintenance window by defining the day, start time, and end time, so maintenance runs during low-traffic periods and avoids service interruptions.

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>",
      "day": "<day>",
      "end_time": "<end_time>",
      "project_id": "<project_id>",
      "start_time": "<start_time>"
    },
    "name": "dws__UpdateMaintenanceWindow"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayYes日期,范围:Mon、Tue、Wed、Thu、Fri、Sat、Sun。
end_timeYes结束时间,UTC时间,格式为HH:mm,例如:02:00。
cluster_idYes**参数解释**:
project_idYes**参数解释**:
start_timeYes开始时间,UTC时间,格式为HH:mm,例如:22:00。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It warns that maintenance may interrupt business, but says nothing about whether an existing window is replaced, whether permissions or cluster state are required, or what the response contains — all significant gaps for a mutation tool.

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?

Two short sentences with no filler; the action and the recommended timing practice are front-loaded. Slightly padded by the generic recommendation, but nothing is redundant.

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 five-required-parameter mutation tool with no annotations and no output schema, the description should explain replacement semantics, required permissions, and expected effect. It only conveys the purpose and a scheduling tip, leaving the agent without enough to call it confidently.

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 coverage is 100%, so the day, start_time, and end_time formats are already documented. The description adds no parameter meaning of its own, and the schema's cluster_id and project_id descriptions are empty stubs, but the baseline of 3 applies when the schema does the heavy lifting.

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 action (setting the maintenance window) on a specific resource, with the [DWS] service tag making scope clear. It does not differentiate this from sibling tools such as ListInstanceMaintenanceWindow or CancelInstanceScheduleWindow, but the core purpose is unambiguous.

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?

The only guidance is an operational best practice: schedule the window during off-peak hours to avoid business interruption. There is no indication of when to call this versus the list, modify, or cancel maintenance-window siblings, and no prerequisites are mentioned.

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