Skip to main content
Glama

Take network VPN peer config

take_network_vpn_peer_config
Destructive

Consume a VPN peer’s one-time sealed configuration for IPsec primary-key rotation; pass line=1 explicitly and decrypt the returned ciphertext with your external reveal private key.

Instructions

Consume a device's or site's sealed configuration ONCE. For IPsec primary-key rotation pass line=1 explicitly: without it, a pending second-line envelope can be returned after the primary was consumed. This is a management mutation despite GET. The ciphertext is decryptable only by the customer's matching external reveal private key; this tool never creates, requests or decrypts private keys or a raw PSK. A second pickup is 410. Never retry automatically after an uncertain transport result. 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>",
      "peer_id": "<peer_id>",
      "acknowledge_one_time_pickup": "<acknowledge_one_time_pickup>"
    },
    "name": "take_network_vpn_peer_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineNo
peer_idYesExact lowercase UUID returned by an owned networking resource
gateway_idYesExact lowercase UUID returned by an owned networking resource
acknowledge_one_time_pickupYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • addedInput schema / properties / line
      Added value: +{
      +  "const": 1,
      +  "type": "number"
      +}
  2. First observedv2.3.16

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description goes well beyond them: it explains that this is a management mutation despite being a GET, that a second pickup returns 410, that ciphertext is decryptable only by the customer's external reveal key, that the tool never touches private keys or raw PSK, and that backend ownership, feature availability and 2FA locks are enforced. It also defines the polling contract (in_progress, reason_code, reason_kind, next_check_seconds) so a waiting state is never misread as an error.

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?

Front-loaded with the core action and the one-time nature, then layered as constraints and polling semantics. It is long and dense, but nearly every sentence encodes a distinct rule (410 on second pickup, no auto-retry, key reuse). The retry/polling guidance is somewhat generic boilerplate that could be trimmed.

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

Completeness5/5

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

There is no output schema, so the description must describe return behavior, and it does: an accepted operation is pending rather than proof of connectivity, and the returned operation/resource should be polled on in_progress with next_check_seconds between reads. Combined with the auth requirements and irreversibility notes, an agent has everything needed to call this destructive one-shot tool safely.

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 50%, and the description compensates for the most consequential parameter: it explains when to supply line=1 and the concrete consequence of omitting it, which the schema's bare const constraint cannot convey. The required acknowledge_one_time_pickup flag is never discussed, leaving one required parameter carried only by its self-descriptive name and const value.

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 first sentence states a specific verb and resource: 'Consume a device's or site's sealed configuration ONCE.' That is far more than a restatement of the name. It stops short of a 5 because the near-identically named sibling take_network_vpn_site_line_config is never addressed, so an agent cannot fully disambiguate the two from the description alone.

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

Usage Guidelines5/5

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

Gives an explicit conditional rule ('For IPsec primary-key rotation pass line=1 explicitly'), names the failure mode of omitting it, and requires reading capabilities and obtaining approval before calling. It also states two hard prohibitions: never retry automatically after transport uncertainty, and reuse only the original key and unchanged request.

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