Skip to main content
Glama

Take network VPN site line config

take_network_vpn_site_line_config
Destructive

Retrieve the sealed key for the second IPsec VPN site line exactly once, then decrypt it outside MCP with the matching private key.

Instructions

Consume the second IPsec line's sealed key exactly once with line=2. Decrypt only outside MCP with the private key matching add_network_vpn_site_line's public reveal key. A second pickup is 410; never retry after an uncertain response. 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_site_line_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
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. Addedv2.3.21

TDQS

A4.1/5.0
Behavior5/5

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

Annotations declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, and the description adds substantial context beyond that: the one-time pickup, the 410 on a second attempt, the no-retry-after-uncertain-response rule, and the required networking:read vs networking:manage scopes. It also explains that acceptance is pending rather than proof of connectivity and defines in_progress/reason_kind semantics so a waiting state is never mistaken for a failure.

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?

It is front-loaded with the purpose, but the single dense paragraph packs in permission scopes, retry policy, and a long polling protocol that largely applies to many tools in this family. The no-retry rule is stated twice ('never retry after an uncertain response' and 'never automatically retry'), which is redundant wording.

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 a destructive, non-idempotent, one-shot mutation with no output schema, the description covers auth requirements, backend-enforced guards, pending-vs-failure semantics, and the exact recovery path after a transport error. An agent has what it needs to call this safely without guessing.

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 coverage is 67%, so gateway_id and peer_id are already documented as exact lowercase UUIDs from owned networking resources, and the description only reinforces that via 'read owned resource state first.' The const-true acknowledge_one_time_pickup is never explained, and the mention of line=2 points at a parameter that is absent, which could send an agent looking for a field that does not exist.

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 the second IPsec line's sealed key exactly once. It names the sibling that produced the matching public reveal key (add_network_vpn_site_line), which distinguishes it from a generic key reader. One blemish: 'with line=2' implies a parameter that does not exist in the schema, forcing the agent to infer that this tool is the line-2 variant.

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 gives clear preconditions: read current capabilities and owned resource state first, obtain approval for the exact change, then call to pick up the sealed key. It also tells the caller to decrypt only outside MCP with the private key matching the reveal key from add_network_vpn_site_line. It does not explicitly contrast with take_network_vpn_peer_config, so the alternative-routing guidance is incomplete.

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