Skip to main content
Glama

workspace__UpdateAccessMode

Updates a Workspace site's access mode to INTERNET, DEDICATED, or BOTH and configures dedicated CIDRs or shared VPC connection parameters for the selected connectivity.

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>",
      "site_id": "<site_id>"
    },
    "name": "workspace__UpdateAccessMode"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYes站点ID。
project_idYes项目ID。
access_modeNo接入模式。
dedicated_cidrsNo专线接入网段列表,多个网段信息用分号隔开,列表长度不超过5。
apply_shared_vpc_dedicated_paramNo共享Vpc专线入参。

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, yet it discloses nothing beyond the bare action. For a mutation of network access mode it says nothing about required permissions, whether changing the mode disrupts existing connectivity, how dedicated_cidrs or the nested shared-VPC object interact with the chosen mode, or whether the change is reversible.

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 a bracketed scope tag, so there is no wasted wording and the action is front-loaded. But the brevity comes from omission rather than discipline, leaving the agent with nothing actionable beyond the tool name.

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?

Given five parameters, a nested object, an enum, no annotations, and no output schema, this description is far too thin to call the tool correctly. An agent would have to infer entirely from the schema how access_mode, dedicated_cidrs, and the shared-VPC block relate, and what a successful or failed mode change looks like.

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 five parameters (including the nested apply_shared_vpc_dedicated_param object) are already documented in the schema, which sets the baseline at 3. The description adds no meaning beyond that — notably it does not explain the dependency between access_mode and dedicated_cidrs, which the schema leaves implicit.

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 gives a verb ('修改' / modify) and a resource ('站点接入方式' / site access mode), so the general intent is recoverable. However, it does not list which aspects of access mode are changeable (the enum INTERNET/DEDICATED/BOTH, CIDR lists, shared VPC settings) and gives no hint about how this differs from nearby siblings such as workspace__UpdateAccessPolicy or workspace__UpdateAccessAddressBackupConfig.

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 at all: no prerequisites (project/site must exist), no exclusions, and no pointer to the List/Show siblings an agent would call first to discover the current access mode. The phrase '用于修改' only restates the action rather than describing a usage context.

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