Skip to main content
Glama

dws__CheckCluster

Run pre-creation checks for a DWS cluster to detect insufficient subnets, quotas, and other issues before submitting a create request, helping avoid failed cluster provisioning.

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

Input Schema

NameRequiredDescriptionDefault
clusterYes**参数解释**:
project_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/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. It does convey that this is a non-mutating validation step that surfaces problems such as subnet or quota shortfalls, which is useful. However, it says nothing about what a result looks like (pass/fail verdict versus a list of problems), whether it can be partially inconclusive, or whether it has any side effects, leaving real ambiguity about the response.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence states the action, the trigger point, and the rationale with zero filler. Nothing is repeated and nothing could be cut without losing information.

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?

With only two top-level parameters the description might seem sufficient, but one of them is a deeply nested create-cluster object and there is no output schema. An agent still does not know which fields must be populated for a meaningful pre-check or how to interpret the result, so the definition is under-specified for this tool's actual complexity.

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?

Coverage is nominally 100%, but every parameter description in the schema is the empty placeholder '**参数解释**:', so the schema conveys no actual meaning. That makes the description's silence costly: it never explains that the 'cluster' argument is a full create-cluster payload mirroring dws__CreateCluster, nor which of its many nested fields (flavor, availability_zones, num_node, subnet_id, volume, public_ip) drive the pre-check.

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 gives a concrete verb-plus-resource: a pre-check run before cluster creation that detects insufficient subnets and insufficient quota. The temporal qualifier ('before creating a cluster') implicitly separates it from the create-cluster siblings, but it never names the closely related check siblings such as dws__CheckClusterShrink or dws__CheckGrowCluster, so an agent must infer which check applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the calling context clearly: invoke this before issuing a create-cluster request, in order to avoid a failed creation. That is a usable when-to-use rule, but there is no when-not guidance, no statement about whether it is required or optional, and no routing to alternative check tools for grow or shrink scenarios.

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