Skip to main content
Glama

vpn__UpdateCgw

Updates an existing VPN customer gateway by ID and project ID so you can revise peer gateway details for site-to-site VPN connections.

Instructions

[VPN] 根据对端网关ID,更新指定的对端网关

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": {
      "customer_gateway_id": "<customer_gateway_id>",
      "project_id": "<project_id>"
    },
    "name": "vpn__UpdateCgw"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id
customer_gateway_idYes对端网关ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior1/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 nothing: not which fields are mutable, whether the update is partial or full replacement, nor permission/irreversibility characteristics of this mutation. For a write operation with zero annotation coverage this is a critical gap.

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?

A single short sentence with no filler, and the identifying key is front-loaded. It is efficient, though the terseness reflects a lack of substance 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?

This is a mutation tool with no annotations, no output schema, and a schema containing only two path identifiers – no updatable field parameters at all. The description does not explain how the update payload is supplied or what changes, leaving a major hole for an agent trying to invoke it correctly.

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%, both parameters (project_id, customer_gateway_id) are documented in the schema, so the baseline of 3 applies. The description only echoes that the ID identifies the target gateway and adds no format, constraint or scoping detail beyond the schema.

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?

The description names a specific verb (更新/update) and resource (对端网关/customer gateway) and identifies the lookup key (对端网关ID). The verb alone distinguishes it from CreateCgw, DeleteCgw and ShowCgw siblings. It stops short of stating what aspects of the gateway are actually updated, so it is clear but not fully self-differentiating.

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 use this versus alternatives such as UpdateVgw, UpdateP2cVgw or UpdatePostpaidVgwSpecification, nor any prerequisite or precondition stated. The agent must infer usage entirely from the tool name and the required path parameters.

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