Skip to main content
Glama

vpn__CreateCgw

Creates a customer gateway within a specified project to link tenant networks to a VPN gateway.

Instructions

[VPN] 创建租户用于与VPN网关相连的对端网关

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": "vpn__CreateCgw"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id

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 burden of disclosing behavior, and it discloses almost nothing. It does not say whether the call is idempotent, what configuration must accompany project_id to actually create a gateway, whether limits or quotas apply, or what the response contains (for example, the new gateway ID). For a creation tool with zero annotation coverage, this is a significant 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?

The description is a single, front-loaded sentence with no filler, and the bracketed [VPN] tag plus the verb make it easy to scan. It is efficient, though its brevity is part of the reason the detail is thin.

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 resource-creation tool with no annotations and no output schema, the description should explain at least what a successful call produces and what is needed besides project_id. As written, an agent knows the verb and resource but not the outcome or prerequisites.

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?

The schema documents its single parameter with 100% coverage, including the 32-character hex pattern, so the baseline is 3. The description adds no meaning about project_id beyond what the schema already provides, and it does not hint at any gateway configuration that a create call would normally require.

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 states a concrete create action on a specific resource: a customer/peer gateway (对端网关) that a tenant connects to a VPN gateway. That distinguishes it from DeleteCgw, ShowCgw, UpdateCgw and ListCgws by verb. It stops short of clarifying how a CGW differs from the sibling VGW concept, so an agent must infer that distinction.

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 rather than CreateVgw or CreateVpnConnection, and no stated prerequisites such as an existing VPN gateway or the fact that the project must already exist. The purpose is implied by the single sentence, but no alternatives or exclusions are named.

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