Skip to main content
Glama

Start network VPN tunnel test

start_network_vpn_tunnel_test
Idempotent

Starts a backend VPN tunnel test for a site or WireGuard peer. Returns a test ID to poll with get_network_vpn_tunnel_test; a running test may be reused instead of a new probe.

Instructions

Start a backend tunnel test for a site or supported WireGuard peer; optional line selects 1 or 2. A running test may be returned instead of a new probe. Read the returned test ID with get_network_vpn_tunnel_test; rate and capability refusals are authoritative. 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>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "start_network_vpn_tunnel_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineNo
peer_idYesExact lowercase UUID returned by an owned networking resource
gateway_idYesExact lowercase UUID returned by an owned networking resource
idempotencyKeyYesIdempotency-Key for this exact change; preserve it and the unchanged body on uncertain recovery

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.3.21

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (mutating, idempotent, open-world, non-destructive), the description discloses permission requirements (networking:read vs networking:manage, and that full/read defaults do not grant networking), backend-enforced ownership, feature availability and 2FA locks, and that rate/capability refusals are authoritative. It also clarifies that an accepted operation is pending rather than proof of connectivity and explains idempotent recovery on transport uncertainty, which is exactly the context annotations cannot convey.

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?

It is front-loaded with the purpose and then ordered by permissions, preconditions, and result handling, so an agent can stop reading early. It is dense and slightly repetitive ('Preserve reason_code' restates the preceding sentence; in_progress/error semantics are explained twice), but nearly every clause carries operational guidance.

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?

For an async, mutating operation with no output schema and three required parameters, the description supplies the missing pieces an agent needs: how to consume the returned test ID, the in_progress/next_check_seconds polling contract, the distinction between waiting and failure reason_kind, and non-retry discipline. Nothing material is left unspecified for correct invocation.

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 75%, so the schema already documents the UUID format for gateway_id/peer_id and the Idempotency-Key contract. The description mainly restates that line selects 1 or 2 and that the key and unchanged body must be reused on uncertain recovery, adding little beyond the schema text. Baseline 3 is appropriate.

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 clause names a specific verb and resource ('Start a backend tunnel test') plus the target scope ('a site or supported WireGuard peer'), which separates it cleanly from the read-side sibling get_network_vpn_tunnel_test, named explicitly later. It stops short of a crisp one-line scope statement because the purpose sentence is immediately followed by an optional-parameter aside and recovery rules.

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?

It states strong preconditions: read current capabilities and owned resource state first, obtain approval for the exact change, and use get_network_vpn_tunnel_test to read the returned ID. It also warns that a running test may be returned instead of a new probe, which affects whether to call at all. It does not give an explicit 'do not use this when...' exclusion, so it is clear context rather than full routing guidance.

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