Skip to main content
Glama

dws__ListWorkloadRules

Retrieve abnormal workload rules for a specified DWS cluster to review rule limits and queue-level conditions, with optional filtering by rule name, queue name, and pagination.

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

Input Schema

NameRequiredDescriptionDefault
limitNo**参数解释**:
offsetNo**参数解释**:
rule_nameNo**参数解释**:
cluster_idYes**参数解释**:
project_idYes**参数解释**:
queue_nameNo**参数解释**:

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?

No annotations are supplied, so the description carries the full burden. '查询' implies a read, but nothing is said about whether results are paginated, what the default limit is, whether it requires specific permissions, or what the response shape looks like. For a list tool with zero annotation coverage this is a substantial gap.

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?

A single short sentence with no wasted words and the scope front-loaded, but it is under-specified rather than appropriately concise given six parameters and no other documentation. Brevity here costs information rather than saving it.

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 six parameters, no annotations, no output schema, and vacuous schema descriptions, one sentence is not enough for an agent to invoke this correctly. It should at minimum describe the filters and the paginated nature of the list results.

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?

The schema nominally reports 100% coverage, but every property description is an empty stub ('**参数解释**:'), so no parameter meaning is actually conveyed anywhere. The description does not compensate by explaining the query filters rule_name, queue_name, limit, or offset, leaving four optional parameters entirely opaque.

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 specific verb (查询/query) and resource (异常规则列表/exception rule list) scoped to the current cluster, so an agent knows this is a list operation over workload/exception rules. It does not distinguish itself from siblings such as dws__AddWorkloadRule or dws__ListWorkloadPlans, 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?

There is no guidance on when to call this versus related tools, no mention of prerequisites (cluster_id/project_id being path params), and no note on pagination or filtering behavior. The agent must infer everything about appropriate usage from the single clause '查询当前集群'.

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