Skip to main content
Glama

dws__ListStatistics

Queries available DWS resource statistics for a project, returning counts of available and total clusters, available and total nodes, and total capacity in GB.

Instructions

[DWS] 查询当前可用资源数量,其中包括“可用集群和总集群(个)”、“可用节点和总节点(个)”、“总容量(GB)”。

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": {
      "project_id": "<project_id>"
    },
    "name": "dws__ListStatistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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. It discloses the shape of the returned figures (available vs total clusters/nodes, total capacity), which is genuinely useful since no output schema exists, but it says nothing about required permissions, project scoping, freshness of the statistics, or whether 'available' has a specific operational definition.

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 compact sentence that front-loads the verb and immediately lists the returned metrics; nothing is wasted. A short note on project scoping would have been worth the extra words, but the existing text is well structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read-only statistics tool with no annotations and no output schema, the description does the minimum-plus by enumerating return values. It is still silent on scope, permissions, and what the numbers represent operationally, which leaves real gaps for an agent deciding whether to call it.

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 coverage is reported as 100%, but the lone project_id parameter's description is effectively an empty stub ('**参数解释**:'), so the schema adds little real meaning. The description does not mention project_id at all and gives no hint that the query is scoped to a project. Baseline 3 applies because the tool has only one parameter and the schema technically documents it.

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 uses a specific verb ('查询' / query) and resource ('当前可用资源数量') and enumerates the three returned metrics (clusters, nodes, capacity in GB). It is clearly distinguishable in substance from siblings like ListSnapshotStatistics or ShowResourceStatistics, though it never names or contrasts them explicitly.

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?

No guidance on when to use this versus alternatives such as dws__ShowResourceStatistics or dws__ListSnapshotStatistics, and no prerequisites or conditions are stated. An agent must infer that this is the general inventory-style statistics call from the return fields alone.

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