Skip to main content
Glama

dws__SetRedistributionPriority

Sets or updates table redistribution priority in a Huawei Cloud DWS cluster, letting you control the order in which tables are redistributed.

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__SetRedistributionPriority"
  }
}

Input Schema

NameRequiredDescriptionDefault
db_nameNo**参数解释**:
priorityNo**参数解释**:
cluster_idYes**参数解释**:
project_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.6/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 burden and provides none of it. It says nothing about whether this mutates live redistribution state, whether changes are reversible, what permissions are required, or whether the action is synchronous.

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 waste, but that brevity comes from under-specification rather than economy. There is no structure beyond a label-like phrase.

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 four parameters (one a nested array), no annotations, and no output schema, yet the description supplies none of the behavior an agent needs before invoking it. It is wholly inadequate for the tool's 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?

Schema description coverage is nominally 100%, but every field description is the empty placeholder '**参数解释**:', so no real semantics exist in either place. The description does not explain the priority array structure (id, table_name, schema_name, redis_order), ordering semantics, or how cluster_id/project_id/db_name scope the operation.

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] 更新重分布表优先级' restates the tool name (SetRedistributionPriority) in Chinese with no added detail. It does name a verb and resource, but nothing distinguishes it from siblings such as dws__UpdateRedistributionConfigurations or dws__ExecuteRedistributionCluster.

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

Usage Guidelines1/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 preconditions, and no mention of alternatives. An agent cannot tell from this sentence when priority setting is appropriate versus configuring or executing redistribution.

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