Skip to main content
Glama

workspace__SetMaintenanceMode

Batch enable or disable administrator maintenance mode for Huawei Cloud Workspace desktops by specifying desktop IDs, project ID, and maintenance state.

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": {
      "desktop_ids": "<desktop_ids>",
      "in_maintenance_mode": "<in_maintenance_mode>",
      "project_id": "<project_id>"
    },
    "name": "workspace__SetMaintenanceMode"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
desktop_idsYes需要设置维护模式的desktopId列表。
in_maintenance_modeYes进入或退出管理员维护模式

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, and it discloses almost nothing beyond the name. It does not say that this is a mutating admin operation, what happens to connected users' sessions, whether the change is reversible, or what permissions are needed. The only extra signal is that the operation is batch-scoped.

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 short sentence with the workspace prefix and the action front-loaded; nothing is padded or redundant. Its brevity is efficient but borders on under-specification, which is penalized in the other dimensions rather than here.

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 three-parameter mutating admin tool with no annotations and no output schema, the description should cover effect and preconditions. It leaves the agent without guidance on permissions, per-desktop failure behavior across a batch, or what the call returns.

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 all three parameters (project_id, desktop_ids, in_maintenance_mode) are already documented in the schema, and the description adds no syntax, ordering, or format detail. The word '批量' loosely corroborates the desktop_ids list semantics, which meets the baseline 3.

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?

States a specific verb ('批量设置') and resource ('桌面管理员维护模式'), so an agent can tell this tool mutates desktop maintenance state in bulk. It does not differentiate itself from nearby siblings such as workspaceapp__BatchChangeServerMaintainMode, which keeps it out of 5 territory.

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 context, no prerequisites, and no named alternative. The agent must infer from the name alone that this is the tool for flipping admin maintenance mode rather than any other mode-change operation in the sibling set.

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