Skip to main content
Glama

dws__ListMetricsData

Retrieves collected DWS metric data for a cluster and metric name within a specified time range using timestamps. Use it to query performance metrics for monitoring and 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>",
      "from": "<from>",
      "limit": "<limit>",
      "metric_name": "<metric_name>",
      "offset": "<offset>",
      "project_id": "<project_id>",
      "to": "<to>"
    },
    "name": "dws__ListMetricsData"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes采集结束时间,13位时间戳。开始时间到结束时间最多不超过一天。
fromYes采集开始时间,13位时间戳。
limitYes**参数解释**:
offsetYes**参数解释**:
sort_byNo正序还是倒叙。固定取值。
order_byNo排序字段。固定取值。
cluster_idYes**参数解释**:
project_idYes**参数解释**:
metric_nameYes指标名称。

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 behavioral burden, yet it discloses nothing about pagination, rate limits, ordering defaults, or the one-day maximum span (that constraint appears only inside the `to` schema field). It does not say whether the call is read-only or whether results are truncated by `limit`.

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?

One short sentence with no padding; the resource is front-loaded after the '[DWS]' service tag. It is efficient, though efficiency here reflects under-specification rather than disciplined editing.

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 nine parameters (seven required), no annotations, and no output schema, the description should explain the time-window limit, paging behavior, and result shape. Instead it offers a single generic sentence, leaving an agent under-informed about a fairly complex query tool.

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 description coverage is 100%, so the schema already documents the nine parameters — albeit several with placeholder text like '**参数解释**:' — and the baseline is 3. The description mentions only the concept of a metric, adding no meaning about `from`/`to` windowing, `sort_by`/`order_by` fixed values, or paging semantics beyond what the schema states.

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 states a verb-plus-resource ('获取指定指标相关采集数据') but stays at a generic level: it does not say what kind of collected data, in what shape, or how it differs from near-identical siblings such as dws__ListMetrics or dws__ListMonitorIndicatorData. An agent can tell it is a metric-data read, but not which of the several metric tools to pick.

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 prerequisites (e.g. cluster must exist, metric must be monitored), and no mention of an alternative tool. The agent must infer everything from the name and path parameters.

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