Skip to main content
Glama

Get network VPN peer recipe

get_network_vpn_peer_recipe
Read-onlyIdempotent

Read backend-sourced router setup instructions for an owned IPsec IKEv2 site with optional vendor, language, and line preview; unsupported combinations are refused and PSK stays a placeholder.

Instructions

Read backend-sourced router setup instructions for one owned IPsec IKEv2 site. Optional vendor, language, line selection and version/inputs preview use the backend recipe catalogue. The recipe contains a literal {{PSK}} placeholder, never the secret. Unsupported router/BGP/line combinations are refused, not replaced by a static recipe. 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.

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>"
    },
    "name": "get_network_vpn_peer_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNo
linesNo
inputsNo
vendorNoRouter recipe vendor ID from the current get_network_appliance_capabilities VPN ipsec_vendors catalog
peer_idYesExact lowercase UUID returned by an owned networking resource
versionNo
gateway_idYesExact lowercase UUID returned by an owned networking resource

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.3.21
    • addedInput schema / properties / inputs
      Added value: +{
      +  "additionalProperties": {
      +    "anyOf": [
      +      {
      +        "maxLength": 256,
      +        "type": "string"
      +      },
      +      {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    ]
      +  },
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / lines
      Added value: +{
      +  "enum": [
      +    "2",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / version
      Added value: +{
      +  "maxLength": 64,
      +  "type": "string"
      +}
  2. Addedv2.3.20

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses meaningful behavior: the output contains a literal {{PSK}} placeholder and never the secret, unsupported vendor/BGP/line combinations are refused rather than silently substituted, and ownership, feature availability and service 2FA locks are enforced server-side. It also states the auth scopes (networking:read vs networking:manage) and notes that full/read defaults do not grant networking access, which is exactly the kind of prerequisite an agent needs before calling.

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?

Four compact sentences, front-loaded with the core action, then constraints, then prerequisites. No filler, though the auth sentence ("networking:read for reads or networking:manage for changes") is slightly confusing on a read-only tool and could be tightened.

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?

With no output schema, the description does the important work of characterizing the return value (a router recipe with a redacted PSK placeholder) and the failure mode (refusal rather than fallback). Given seven parameters and nested `inputs`, it stops short of explaining how inputs map into the recipe, but the essential call-correctness information is present.

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 43%, so the description must carry some burden; it does name the optional dimensions (vendor, lang, lines, version/inputs preview) and ties vendor selection to the backend recipe catalogue, which is useful context beyond the enum. It does not explain the semantics of version vs. inputs (e.g. that inputs feed placeholder substitution into a preview), and gateway_id/peer_id 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?

"Read backend-sourced router setup instructions for one owned IPsec IKEv2 site" states a specific verb (read), resource (router setup recipe), and scope (one owned site). It is clearly a read-oriented recipe retrieval tool, though it never names the sibling it contrasts with (e.g. take_network_vpn_peer_config), leaving the agent to infer the boundary.

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

Usage Guidelines3/5

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

The description implies usage through phrases like "Optional vendor, language, line selection and version/inputs preview," which tells the agent what the optional parameters are for, and "Unsupported router/BGP/line combinations are refused" sets an expectation. However, it gives no explicit when-to-use vs. when-not-to-use statement and does not route the agent to any alternative among the many sibling VPN tools.

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