Skip to main content
Glama

dws__ShowResourceStatistics

Retrieves DWS resource statistics for a specified project and optional namespace, enabling users to monitor resource usage and capacity.

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

Input Schema

NameRequiredDescriptionDefault
namespaceNo**参数解释**:
project_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the whole behavioral burden, and it discloses nothing. It does not say which permissions are needed, whether project_id scoping limits results, what period or granularity the statistics cover, or what the response looks like.

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 description is a single short sentence with no filler, so it is technically concise. It is concise only because it is under-specified, however, giving no structure or front-loaded summary.

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 statistics-query tool with a required path parameter and no output schema, the description should define the statistical scope, the time dimension, and the return shape. The description makes none of that clear to an agent.

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?

Although the schema reports 100% description coverage, every parameter description is an empty placeholder ('**参数解释**:'), so the coverage is nominal, not real. The description adds nothing about namespace versus project_id, so it does not fill that gap.

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 says only '该接口用于查询资源统计' (this API queries resource statistics), which restates the tool name almost word for word. It does not specify what a 'resource' is here, what statistics are computed, or how this differs from its siblings ListStatistics and ListSnapshotStatistics.

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 when-to-use guidance is given: no prerequisites, no exclusions, and no pointer to an alternative tool. An agent has no basis for choosing this over ListStatistics or ListSnapshotStatistics.

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