Skip to main content
Glama

dws__ListMetrics

Retrieve paginated usage metrics for a specified DWS cluster and project, with sorting controls, to support performance monitoring and resource analysis.

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>",
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>"
    },
    "name": "dws__ListMetrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes**参数解释**:
offsetYes**参数解释**:
sort_byNo正序还是倒叙。固定取值。
order_byNo排序字段。固定取值。
cluster_idYes**参数解释**:
project_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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 disclosure burden, yet it only implies a read operation through the verb '查询'. It says nothing about pagination semantics (limit/offset are required), sort behavior, permissions, or what the returned metric entries contain. For a six-parameter listing 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?

The single sentence is front-loaded and free of padding, but its brevity reflects under-specification rather than efficiency. There is no structure to separate purpose, scope, and parameter behavior because none of those are stated.

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 tool with six parameters, four required, no output schema, and no annotations, one generic sentence is not enough to call it correctly. Missing are the meaning of required pagination parameters, the allowed fixed values for sort_by/order_by mentioned in the schema, and the relationship to the sibling metric-data tool.

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 the schema field descriptions are empty placeholders ('**参数解释**:' with no content), so no parameter meaning is actually conveyed anywhere. The description does not compensate: it never explains limit, offset, sort_by, order_by, cluster_id, or project_id, leaving the agent to guess at pagination and sorting rules.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb and resource ('查询集群使用指标列表' – query the cluster usage metrics list), which is more than a tautology. However, it gives no scope or distinguishing detail against the near-identically named sibling dws__ListMetricsData, so an agent cannot tell the two apart from the text alone.

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 mention of prerequisites (e.g. that project_id and cluster_id must both be supplied), and no reference to alternatives such as dws__ListMetricsData. The agent must infer the calling context entirely on its own.

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