Skip to main content
Glama

workspace__ListDesktops

Queries Huawei Cloud Workspace desktop VMs by project and optional filters such as status, user, pool, subnet, IP, or desktop ID, with pagination for inventory and administration tasks.

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__ListDesktops"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo桌面的标签。样例:
limitNo用于分页查询,取值范围0-1000,默认值1000。
offsetNo用于分页查询,查询的起始记录序号,从0开始。
statusNo桌面的运行状态。
pool_idNo桌面池ID,多个桌面池ID用逗号隔开。
subnet_idNo桌面的子网ID。
user_nameNo桌面所属用户。
desktop_idNo桌面id,当前最多支持100个桌面id进行查询。
desktop_ipNo桌面IP地址。
project_idYes项目ID。
desktop_typeNo桌面类型,为空时查所有桌面。查询多个类型时用,隔开。
computer_nameNo桌面名。
is_share_desktopNo是否为协同桌面。
enterprise_project_idNo企业项目ID。

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 disclosure burden, yet it only says the call queries a list. It does not state that the operation is read-only and non-destructive, that results are paginated (limit default 1000, offset starting at 0), or anything about ordering and result size behavior — all of which matter for a 14-filter listing call.

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, so nothing is bloated, but the leading "[WORKSPACE]" tag and the formulaic "该接口用于" opener consume most of the text without adding information. Brevity 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?

For a tool with 14 parameters, no annotations and no output schema, the description does almost none of the explanatory work: no coverage of filter combination behavior, pagination usage, or what the list contains. An agent can call it, but cannot reason about result volume or how it differs from the Detail/Statistics variants.

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% and every one of the 14 parameters is documented in the schema itself, including pagination bounds and multi-value semantics for desktop_id and pool_id. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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 and resource ("查询桌面虚拟机列表" / query the desktop VM list), which is understandable on its own. However, it is essentially a Chinese restatement of the tool name ListDesktops and offers no differentiation from close siblings such as ListDesktopsDetail, ListDesktopsStatistics, ListUnusedDesktops or ListPoolDesktopsDetail.

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 guidance on when to choose this generic list endpoint over the many sibling listing tools, and no mention of prerequisites, filtering intent, or when-not-to-use. The agent must infer routing from the name 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