Skip to main content
Glama

Create network VPN peer

create_network_vpn_peer
Idempotent

Creates a WireGuard or IPsec VPN device or site-to-site peer on a VPSnet gateway using a customer-generated X25519 public key and explicit access grants.

Instructions

Add a device or, with kind=site_to_site, a connected location using a customer-generated one-time X25519 PUBLIC reveal key. Protocol defaults to wireguard; ipsec_ikev2 also supports built-in operating-system device clients when gateway capabilities.device_ikev2 advertises availability. Devices must omit site, site_down_alert and site_reach. Pass 0-16 explicit server grants, or grant_scope=network with grants=[] for all eligible current and future servers; approve broader access. Empty explicit grants gives no network-server access; backend checks whether anything remains reachable. Sites require protocol-specific site settings: WireGuard prefixes/endpoint/keepalive/router_model; IPsec remote_address/vendor, optional bgp/tuning and mutually exclusive pqc/legacy_compat. IPsec prefixes may be empty or omitted only with bgp.accept=any_private. Optional site_reach overrides the VPN default (null inherits). Read current gateway and appliance capabilities before choosing supported protocols, crypto and vendors. Keep the matching reveal private key entirely outside MCP. Wait for config_available and consume the sealed configuration once; decrypt only outside MCP. IPsec device passwords and site PSKs must never enter MCP. Router recipes contain placeholders only. Requires explicit networking:read for reads or networking:manage for changes; full/read defaults do not grant networking. The backend enforces ownership, feature availability and service 2FA locks. Read current capabilities and owned resource state first; obtain approval for the exact change. An accepted operation is pending, not proof of connectivity. Poll the returned operation/resource on its in_progress flag, waiting next_check_seconds between reads: while in_progress is true its reason_code is what is awaited (reason_kind waiting, e.g. a queued or pending reason, or a control plane that has not answered yet), never an error; only in_progress false with reason_kind failure is a failure. Preserve reason_code. On transport uncertainty inspect state and reuse only the original key and unchanged request; never automatically retry.

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": {
      "gateway_id": "<gateway_id>",
      "name": "<name>",
      "grants": "<grants>",
      "reveal_public_key": "<reveal_public_key>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_network_vpn_peer"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
nameYes
siteNo
grantsYes
protocolNo
gateway_idYesExact lowercase UUID returned by an owned networking resource
site_reachNo
grant_scopeNoservers (default) chooses individual grants; network grants this device or site every eligible current and future server of this network, subject to network security policy. Network scope requires empty grants.
idempotencyKeyYesIdempotency-Key for this exact change; preserve it and the unchanged body on uncertain recovery
site_down_alertNo
reveal_public_keyYesCustomer-generated one-time X25519 PUBLIC key only. Keep its private key outside MCP; needed to decrypt the sealed configuration.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.3.21
    • changedInput schema / properties / grant_scope / description
      Previous value: -"servers (default) chooses individual grants; network grants a device every eligible current and future server of this network, subject to network security policy. Network scope requires empty grants and is unavailable for sites."New value: +"servers (default) chooses individual grants; network grants this device or site every eligible current and future server of this network, subject to network security policy. Network scope requires empty grants."
    • addedInput schema / properties / grants / items / pattern
      Added value: +"^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$"
    • changedInput schema / properties / site / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "endpoint": {
      -        "anyOf": [
      -          {
      -            "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}:\\d{1,5}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "The office router's fixed public IPv4:port; omit or null to learn a roaming endpoint"
      -      },
      -      "persistent_keepalive_seconds": {
      -        "maximum": 600,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "remote_prefixes": {
      -        "description": "The office's PRIVATE IPv4 networks (10/8, 172.16/12, 192.168/16 or 100.64/10), canonical and disjoint",
      -        "items": {
      -          "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
      -          "type": "string"
      -        },
      -        "maxItems": 16,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "router_model": {
      -        "enum": [
      -          "mikrotik",
      -          "pfsense",
      -          "opnsense",
      -          "unifi",
      -          "linux",
      -          "other"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "remote_prefixes"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "legacy_compat": {
      -        "description": "Request only when the gateway advertises legacy_compat in ipsec_profiles; cannot be true together with pqc",
      -        "type": "boolean"
      -      },
      -      "pqc": {
      -        "description": "Request only when the gateway advertises pqc in ipsec_profiles; cannot be true together with legacy_compat. Requested PQC is not proof of negotiated post_quantum.",
      -        "type": "boolean"
      -      },
      -      "remote_address": {
      -        "anyOf": [
      -          {
      -            "format": "ipv4",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "The site's canonical public IPv4 address; omit or null for a dynamic address. No port. The backend validates address and prefix eligibility."
      -      },
      -      "remote_prefixes": {
      -        "description": "The office's PRIVATE IPv4 networks (10/8, 172.16/12, 192.168/16 or 100.64/10), canonical and disjoint",
      -        "items": {
      -          "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
      -          "type": "string"
      -        },
      -        "maxItems": 16,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "vendor": {
      -        "description": "Advertised router recipe vendor; omitted uses generic_strongswan",
      -        "enum": [
      -          "fortigate",
      -          "mikrotik",
      -          "pfsense",
      -          "opnsense",
      -          "cisco_ios_xe",
      -          "cisco_asa",
      -          "unifi",
      -          "junos_srx",
      -          "panos",
      -          "generic_strongswan",
      -          "generic_libreswan"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "remote_prefixes"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "endpoint": {
      +        "anyOf": [
      +          {
      +            "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}:\\d{1,5}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The office router's fixed public IPv4:port; omit or null to learn a roaming endpoint"
      +      },
      +      "persistent_keepalive_seconds": {
      +        "maximum": 600,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "remote_prefixes": {
      +        "description": "The office's PRIVATE IPv4 networks (10/8, 172.16/12, 192.168/16 or 100.64/10), canonical and disjoint",
      +        "items": {
      +          "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
      +          "type": "string"
      +        },
      +        "maxItems": 16,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "router_model": {
      +        "enum": [
      +          "mikrotik",
      +          "pfsense",
      +          "opnsense",
      +          "unifi",
      +          "linux",
      +          "other"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "remote_prefixes"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bgp": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "accept": {
      +                "enum": [
      +                  "listed",
      +                  "any_private"
      +                ],
      +                "type": "string"
      +              },
      +              "hold_seconds": {
      +                "maximum": 180,
      +                "minimum": 9,
      +                "type": "integer"
      +              },
      +              "inner": {
      +                "anyOf": [
      +                  {
      +                    "format": "ipv4",
      +                    "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "keepalive_seconds": {
      +                "maximum": 60,
      +                "minimum": 3,
      +                "type": "integer"
      +              },
      +              "local_asn": {
      +                "maximum": 4294967294,
      +                "minimum": 1,
      +                "type": "integer"
      +              },
      +              "peer_asn": {
      +                "maximum": 4294967294,
      +                "minimum": 1,
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "legacy_compat": {
      +        "description": "Request only when the gateway advertises legacy_compat in ipsec_profiles; cannot be true together with pqc",
      +        "type": "boolean"
      +      },
      +      "pqc": {
      +        "description": "Request only when the gateway advertises pqc in ipsec_profiles; cannot be true together with legacy_compat. Requested PQC is not proof of negotiated post_quantum.",
      +        "type": "boolean"
      +      },
      +      "remote_address": {
      +        "anyOf": [
      +          {
      +            "format": "ipv4",
      +            "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The site's canonical public IPv4 address; omit or null for a dynamic address. No port. The backend validates address and prefix eligibility."
      +      },
      +      "remote_prefixes": {
      +        "items": {
      +          "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
      +          "type": "string"
      +        },
      +        "maxItems": 16,
      +        "type": "array"
      +      },
      +      "tuning": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "esp_lifetime_seconds": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 86400,
      +                    "minimum": 300,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "Phase 2 lifetime in seconds. 300-86400 is the outer limit; the gateway's ipsec_tuning.esp_lifetime {min, max} is the range offered now. null or omitted is Automatic."
      +              },
      +              "ike_lifetime_seconds": {
      +                "anyOf": [
      +                  {
      +                    "maximum": 172800,
      +                    "minimum": 900,
      +                    "type": "integer"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "Phase 1 lifetime in seconds. 900-172800 is the outer limit; the gateway's ipsec_tuning.ike_lifetime {min, max} is the range offered now. null or omitted is Automatic."
      +              },
      +              "ke_groups": {
      +                "anyOf": [
      +                  {
      +                    "items": {
      +                      "anyOf": [
      +                        {
      +                          "const": 19,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 20,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 21,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 31,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 15,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 16,
      +                          "type": "number"
      +                        },
      +                        {
      +                          "const": 14,
      +                          "type": "number"
      +                        }
      +                      ]
      +                    },
      +                    "type": "array"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "Key exchange group IDs, exactly these. These seven are the most the platform can ever accept; the VPN's gateway ipsec_tuning.ke_groups lists the ones offered now (the backend refuses others with vpn_ipsec_tuning_not_allowed). null or omitted is Automatic."
      +              },
      +              "nat_traversal": {
      +                "enum": [
      +                  "auto",
      +                  "off",
      +                  "forced"
      +                ],
      +                "type": "string"
      +              },
      +              "pfs": {
      +                "enum": [
      +                  "auto",
      +                  "on",
      +                  "off"
      +                ],
      +                "type": "string"
      +              },
      +              "suites": {
      +                "anyOf": [
      +                  {
      +                    "items": {
      +                      "enum": [
      +                        "aes256gcm",
      +                        "chacha20poly1305",
      +                        "aes128gcm",
      +                        "aes256-sha512",
      +                        "aes256-sha384",
      +                        "aes256-sha256",
      +                        "aes128-sha512",
      +                        "aes128-sha384",
      +                        "aes128-sha256"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "vendor": {
      +        "description": "Advertised router recipe vendor; omitted uses generic_strongswan",
      +        "enum": [
      +          "fortigate",
      +          "mikrotik",
      +          "pfsense",
      +          "opnsense",
      +          "cisco_ios_xe",
      +          "cisco_asa",
      +          "unifi",
      +          "junos_srx",
      +          "panos",
      +          "generic_strongswan",
      +          "generic_libreswan"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / site_reach
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "floating_ips": {
      +          "type": "boolean"
      +        },
      +        "load_balancers": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "load_balancers",
      +        "floating_ips"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  2. Changed7 schema fields changedv2.3.20
    • addedInput schema / properties / grant_scope
      Added value: +{
      +  "description": "servers (default) chooses individual grants; network grants a device every eligible current and future server of this network, subject to network security policy. Network scope requires empty grants and is unavailable for sites.",
      +  "enum": [
      +    "servers",
      +    "network"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / protocol
      Added value: +{
      +  "enum": [
      +    "wireguard",
      +    "ipsec_ikev2"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / site / additionalProperties
      Removed value: -false
    • addedInput schema / properties / site / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "endpoint": {
      +        "anyOf": [
      +          {
      +            "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}:\\d{1,5}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The office router's fixed public IPv4:port; omit or null to learn a roaming endpoint"
      +      },
      +      "persistent_keepalive_seconds": {
      +        "maximum": 600,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "remote_prefixes": {
      +        "description": "The office's PRIVATE IPv4 networks (10/8, 172.16/12, 192.168/16 or 100.64/10), canonical and disjoint",
      +        "items": {
      +          "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
      +          "type": "string"
      +        },
      +        "maxItems": 16,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "router_model": {
      +        "enum": [
      +          "mikrotik",
      +          "pfsense",
      +          "opnsense",
      +          "unifi",
      +          "linux",
      +          "other"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "remote_prefixes"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "legacy_compat": {
      +        "description": "Request only when the gateway advertises legacy_compat in ipsec_profiles; cannot be true together with pqc",
      +        "type": "boolean"
      +      },
      +      "pqc": {
      +        "description": "Request only when the gateway advertises pqc in ipsec_profiles; cannot be true together with legacy_compat. Requested PQC is not proof of negotiated post_quantum.",
      +        "type": "boolean"
      +      },
      +      "remote_address": {
      +        "anyOf": [
      +          {
      +            "format": "ipv4",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The site's canonical public IPv4 address; omit or null for a dynamic address. No port. The backend validates address and prefix eligibility."
      +      },
      +      "remote_prefixes": {
      +        "description": "The office's PRIVATE IPv4 networks (10/8, 172.16/12, 192.168/16 or 100.64/10), canonical and disjoint",
      +        "items": {
      +          "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
      +          "type": "string"
      +        },
      +        "maxItems": 16,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "vendor": {
      +        "description": "Advertised router recipe vendor; omitted uses generic_strongswan",
      +        "enum": [
      +          "fortigate",
      +          "mikrotik",
      +          "pfsense",
      +          "opnsense",
      +          "cisco_ios_xe",
      +          "cisco_asa",
      +          "unifi",
      +          "junos_srx",
      +          "panos",
      +          "generic_strongswan",
      +          "generic_libreswan"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "remote_prefixes"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties / site / properties
      Removed value: -{
      -  "endpoint": {
      -    "anyOf": [
      -      {
      -        "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}:\\d{1,5}$",
      -        "type": "string"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "The office router's fixed public IPv4:port; omit or null to learn a roaming endpoint"
      -  },
      -  "persistent_keepalive_seconds": {
      -    "maximum": 600,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "remote_prefixes": {
      -    "description": "The office's PRIVATE IPv4 networks (10/8, 172.16/12, 192.168/16 or 100.64/10), canonical and disjoint",
      -    "items": {
      -      "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
      -      "type": "string"
      -    },
      -    "maxItems": 16,
      -    "minItems": 1,
      -    "type": "array"
      -  }
      -}
    • removedInput schema / properties / site / required
      Removed value: -[
      -  "remote_prefixes"
      -]
    • removedInput schema / properties / site / type
      Removed value: -"object"
  3. Changed3 schema fields changedv2.3.17
    • addedInput schema / properties / kind
      Added value: +{
      +  "enum": [
      +    "road_warrior",
      +    "site_to_site"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / site
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "endpoint": {
      +      "anyOf": [
      +        {
      +          "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}:\\d{1,5}$",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "The office router's fixed public IPv4:port; omit or null to learn a roaming endpoint"
      +    },
      +    "persistent_keepalive_seconds": {
      +      "maximum": 600,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "remote_prefixes": {
      +      "description": "The office's PRIVATE IPv4 networks (10/8, 172.16/12, 192.168/16 or 100.64/10), canonical and disjoint",
      +      "items": {
      +        "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
      +        "type": "string"
      +      },
      +      "maxItems": 16,
      +      "minItems": 1,
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "remote_prefixes"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / site_down_alert
      Added value: +{
      +  "type": "boolean"
      +}
  4. First observedv2.3.16

TDQS

A4.1/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (mutation, open-world, idempotent, non-destructive) it discloses the operational lifecycle in detail: an accepted call is pending not proof of connectivity, in_progress/reason_code/reason_kind semantics, next_check_seconds polling, scope requirements (networking:manage vs networking:read, full/read defaults do not grant networking), backend ownership/2FA enforcement, and a strict no-auto-retry rule. It also states secret-handling constraints (private key, PSKs and device passwords must stay outside MCP).

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?

Purpose and mode distinction are front-loaded, which is good, but the remainder is one dense block of run-on clauses mixing parameter rules, secret handling, auth scopes, and async polling semantics with no separation. Almost every sentence carries content, yet the lack of structure makes it harder to scan than its length alone would justify.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter mutation with no output schema and low schema coverage, the description covers the decision-critical surface: mode selection, grant model, protocol constraints, prerequisites, and what the returned operation/resource looks like (in_progress, reason_code). It stops short of explaining the eventual outcome fields the agent should check once in_progress is false.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 36%, so the description must compensate and largely does: it explains grants cardinality and the empty-array meaning, grant_scope=network requiring grants=[], the device/site field exclusivity, the per-protocol site settings (WireGuard prefixes/endpoint/keepalive/router_model; IPsec remote_address/vendor/bgp/tuning/pqc-vs-legacy_compat), and site_reach null inheritance. Gaps remain for name, site_down_alert, and protocol's default is stated but the enum values themselves are left to 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 opening clause gives a specific verb and resource ('Add a device or... a connected location') and splits the tool's two modes via kind=site_to_site, so the agent knows exactly what is being created. It does not differentiate itself from adjacent creation tools such as add_network_vpn_site_line or create_private_network, which keeps it short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Strong selection guidance: devices must omit site/site_down_alert/site_reach, sites require protocol-specific settings, and the grants vs grant_scope=network trade-off is spelled out. It also prescribes a prerequisite workflow ('Read current gateway and appliance capabilities before choosing... obtain approval for the exact change'), but names no alternative tool or explicit when-not-to-use case.

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