Skip to main content
Glama

create_vpn_customer_gateway

Creates a VPN customer gateway for site-to-site VPNs by registering the peer public IP, guest CIDR list, and IPsec pre-shared key.

Instructions

Create a VPN customer gateway for site-to-site 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": {
      "cidrlist": "<cidrlist>",
      "gateway": "<gateway>",
      "ipsecpsk": "<ipsecpsk>",
      "name": "<name>"
    },
    "name": "create_vpn_customer_gateway"
  }
}

Input Schema

NameRequiredDescriptionDefault
dpdNoEnable Dead Peer Detection
nameYesCustomer gateway name
gatewayYesPublic IP of the customer gateway
cidrlistYesGuest CIDR list (comma separated)
ipsecpskYesIPsec pre-shared key
esppolicyNoESP policy (e.g., aes128-sha1)
ikepolicyNoIKE policy (e.g., aes128-sha1;modp1536)
forceencapNoForce UDP encapsulation
esplifetimeNoESP lifetime in seconds
ikelifetimeNoIKE lifetime in seconds

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.6/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 provides none. It does not mention that this is a mutating, billable resource creation, that ipsecpsk is a secret that must be handled carefully, or what happens to duplicate names.

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 the verb and resource front-loaded and no wasted words. It is efficient, though its brevity contributes to the gaps elsewhere rather than being a flaw in structure.

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 10-parameter, secret-bearing creation tool with no annotations and no output schema, the description is too thin. It should at minimum note prerequisites, the sensitivity of the pre-shared key, and whether the newly created gateway is returned or must be looked up via list_vpn_customer_gateways.

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 ten parameters including optional DPD, ESP/IKE policy and lifetimes are already documented in the schema. The description adds no additional meaning about defaults, formats, or interactions between the policy fields, 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 states a specific verb and resource ("Create a VPN customer gateway") and adds the domain (site-to-site VPN), which is clear enough on its own. However, with sibling tools like create_vpn_gateway and create_vpn_connection present, it offers no differentiation between a customer gateway and a VPN gateway, leaving the agent to rely on the name alone.

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 create_vpn_gateway or when to instead update an existing gateway. No prerequisites are mentioned, even though a customer gateway typically must exist before a VPN connection can be created.

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