Skip to main content
Glama

workspace__UpdateWorkspace

Updates one cloud office workspace configuration property per request, including AD domains, network access, VNC access, and authorization settings.

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

Input Schema

NameRequiredDescriptionDefault
ad_infoNo域信息。
dc_vnc_ipNo开通专线访问VNC功能,如果传入的是default则自动创建,如果传入的自定义的dc_vnc_ip则直接使用,如果传入的是close表示关闭自定义VNC。
ad_domainsNo域信息。
project_idYes项目ID。
subnet_idsNo子网的网络ID列表。
access_modeNo接入模式。
enterprise_idNo企业ID。
is_send_emailNo桌面退订是否发送邮件通知。
dedicated_subnetsNo专线接入网段列表,多个网段信息用分号隔开,列表长度不超过5。
adn_conflict_networkNoADN上网冲突网段列表,多个网段信息用分号隔开,列表长度不超过50。
internet_access_portNo互联网接入端口。
authorized_collect_logNo是否授权收集日志。
authorized_hda_upgradeNo是否授权hda升级。
enable_user_create_snapshotNo是否授权最终租户创建快照。
is_authorized_install_agentNo是否授权桌面自动安装agent插件。
apply_shared_vpc_dedicated_paramNo共享Vpc专线入参。
apply_dedicated_standby_network_paramNo开通专线备用线路入参。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose one non-obvious behavioral rule: only one attribute type may be modified per request. That is valuable and unavailable from the schema. It omits mutation safety details - required permissions, whether unspecified attributes are reset, and irreversibility - which matter for a write operation on service-wide configuration.

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?

Two short sentences with no filler, and the key constraint is front-loaded immediately after the purpose statement. The '[WORKSPACE]' tag is boilerplate but harmless. It is efficient, though arguably too sparse given the tool's complexity.

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?

A 17-parameter mutation tool with nested objects (ad_info, ad_domains, apply_shared_vpc_dedicated_param), no annotations, and no output schema warrants more explanation than two sentences. The description gives the one-per-request rule but never maps parameters to attribute groups or explains behavior for omitted fields, leaving an agent unable to construct a correct single-group payload confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so per-parameter meaning is already handled structuredly. The description adds genuine meta-semantics the schema lacks: that the 17 parameters are grouped into mutually exclusive 'attribute type' buckets and only one bucket should be populated per call, which prevents an agent from blindly filling many fields. It stops short of naming which parameters form which group.

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 names a verb and resource ('修改云办公服务属性' - modify cloud office service attributes), but '云办公服务属性' is a catch-all that does not identify which of the 17 parameters' domains (AD/LDAP config, subnets, access mode, VNC IP, authorization flags) the call touches. It does not distinguish this tool from siblings such as UpdateAccessMode, UpdateSubnetIds, or UpdateEnterpriseId, which appear to cover individual attribute groups. The purpose is recognizable but vague.

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?

The only usage constraint given is '单次请求仅支持修改一种属性类型' (one attribute type per request), which is a real precondition. However, nothing says when to pick this tool over the many single-attribute siblings, nor what happens if more than one group is supplied. Guidance is a single implied constraint rather than explicit when/when-not routing.

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