Skip to main content
Glama

workspace__ApplyDesktopsInternet

Configures internet access for Workspace desktops by purchasing EIP bandwidth and applying it to specified desktop IDs, or standalone EIPs when no desktops are selected.

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": {
      "bandwidth_size": "<bandwidth_size>",
      "eip_charge_mode": "<eip_charge_mode>",
      "eip_type": "<eip_type>",
      "project_id": "<project_id>"
    },
    "name": "workspace__ApplyDesktopsInternet"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo需要购买EIP的数量,当desktop_ids为空时需要填,兼容单独购买EIP场景。
eip_typeYes支持的类型请参考EIP服务支持的类型。可通过调用如下链接的接口查询,https://support.huaweicloud.com/api-eip/ShowPublicIpType.html。
project_idYes项目ID。
desktop_idsNo需要开通上网功能的桌面id列表。
bandwidth_sizeYes带宽大小,单位Mbit/s。默认1Mbit/s~2000Mbit/s(具体范围以各区域配置为准,请参见控制台对应页面显示)。
eip_charge_modeYeseip带宽计费模式
enterprise_project_idNo企业项目ID,默认"0。"0

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 fails to meet it. It says nothing about this being a billable provisioning operation (EIP purchase, bandwidth charge mode, up to 2000 Mbit/s), whether it is idempotent, what happens on partial failure across desktop_ids, or what permissions are required.

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 bracketed sentence, which is front-loaded and free of padding, but the brevity reflects under-specification rather than economy. The '[WORKSPACE]' tag consumes part of the only sentence without adding meaning.

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 7-parameter, 4-required mutation tool with billing side effects, zero annotations, and no output schema, one sentence is far from sufficient. An agent cannot determine cost implications, selection between desktop_ids vs count, or expected results from this definition.

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 coverage is 100%, with each parameter (count, eip_type, project_id, desktop_ids, bandwidth_size, eip_charge_mode, enterprise_project_id) already documented in the schema. The description adds no additional semantics, 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 names a verb (开通 / provision) and a resource (桌面上网功能 / desktop internet access), so the general purpose is graspable. But it gives no scope or differentiation from close siblings such as ApplyInternet, ApplySubnetBandwidth, or AssociateDesktopsEip, leaving an agent unsure which provisioning path this is.

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 preconditions (e.g. desktops must exist, project and EIP quota must be available), and no mention of alternatives. The agent must infer everything from the sibling list, which the description does not reference.

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