Skip to main content
Glama

workspace__ListUsers

Queries desktop users in a Huawei Cloud Workspace project, with pagination and filters for user name, group, activation type, description, and shared desktop status.

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

Input Schema

NameRequiredDescriptionDefault
limitNo用于分页查询,返回用户数量限制。如果不指定,则返回所有符合条件的用户。
offsetNo分页查询起始条数。
user_nameNo桌面用户名,长度范围为1-20,不能包含特殊字符,不能以数字开头。
group_nameNo桌面用户组名,精确匹配。
project_idYes项目ID。
active_typeNo激活类型,默认为用户激活。
descriptionNo用户描述查询,模糊匹配。
share_space_desktopsNo用户是否已绑定协同桌面,true/false。
enterprise_project_idNo企业项目ID
is_query_total_desktopsNo是否查询用户绑定的桌面数,true/false,默认true。
share_space_subscriptionNo用户是否已订阅协同,true/false。

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?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say the call is read-only, whether it paginates, what permissions or project scope are required, or how large result sets are returned. Only the bare fact that it retrieves rather than mutates can be inferred, which is the minimum.

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?

It is a single short sentence with zero redundancy and the purpose is front-loaded, which is good structurally. However, the brevity comes at the cost of under-specification rather than economy — there is essentially nothing to trim because nothing substantive was included.

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 11 filter parameters, a required path parameter, no annotations and no output schema, a one-line description is not sufficient: an agent gets no guidance on filter semantics, result shape, or pagination defaults. The rich schema partly compensates, but the behavioral side is essentially undocumented.

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?

All 11 parameters, including project_id, limit, offset, user_name, group_name and the boolean flags, are documented in the schema itself, so the 100% coverage means the schema does the heavy lifting. The description adds no meaning about filter combination logic (e.g., how user_name, group_name and description filters intersect) or about the default behavior when limit is omitted, beyond what the schema already 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 concrete verb and resource ('查询桌面用户列表' / query the desktop user list) and tags the product scope with '[WORKSPACE]', so the basic purpose is clear. But it is essentially a restatement of the name ListUsers with no distinguishing detail that separates it from siblings such as ListUsersOfGroup or ListAdOuUsers — an agent cannot tell which list variant to pick 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 when not to use it, and no reference to overlapping siblings like workspace__ListUsersOfGroup or workspace__ListAdOuUsers. The only usable signal is that it exists in the workspace family, which the agent would already infer from the tool name.

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