Skip to main content
Glama

workspace__ListUserUsageMetric

Query user usage statistics for a Huawei Cloud Workspace project within a time range, with optional username filtering and usage-hour thresholds.

Instructions

[WORKSPACE] 查询用户使用统计信息;

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": {
      "end_time": "<end_time>",
      "project_id": "<project_id>",
      "start_time": "<start_time>"
    },
    "name": "workspace__ListUserUsageMetric"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNolimit范围[1-100],默认值0。
offsetNo查询的偏移量,默认值0。
end_timeYes查询截至时间(0时区)。
usernameNo用户名(模糊匹配)。
sort_typeNo按照指标进行排序的方向;需配合sort_field一起使用DESC
project_idYes项目ID。
sort_fieldNo按照指标进行排序
start_timeYes查询起始时间(0时区)。
usage_max_hoursNo使用时长最大值
usage_min_hoursNo使用时长最小值。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden. It says nothing about read-only safety, required time range, pagination defaults, sort behavior, or the shape/cost of returning per-user metrics — all of which matter for a 10-parameter query.

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 one short sentence with no padding, so there is nothing wasted. However, brevity here comes from under-specification rather than precision, and the '[WORKSPACE]' prefix carries little operational value.

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 10 parameters, 3 of them required, and no annotations or output schema, the description is far too thin. It omits that a mandatory project_id plus start/end time window must be supplied and says nothing about what the response contains.

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 explains limit/offset, start_time/end_time, username fuzzy matching, and the sort_field/sort_type pairing. The description adds no additional parameter meaning; baseline 3 applies when the schema does all the work.

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 gives a verb+resource ('查询用户使用统计信息' / query user usage statistics), so the general intent is legible. But it is generic and does not distinguish this from close siblings such as workspace__ListDesktopUsageMetric or workspace__ListAppUserAccessData, leaving the agent to guess which usage-list tool is correct.

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 when-not-to-use guidance, and no named alternative. The agent learns only that the tool queries usage statistics, with nothing about selecting it over the desktop-usage or app-access siblings.

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