Skip to main content
Glama

Create network VPN site health webhook

create_network_vpn_site_health_webhook

Create a signed VPN site health subscription using a public HTTPS webhook and an X25519 public key, then receive a one-time sealed secret to decrypt outside MCP.

Instructions

Create a signed site health subscription. Supply a public HTTPS DNS endpoint on port 443 and a caller-generated X25519 PUBLIC reveal key; keep the private half outside MCP. The immediate 201 response contains the subscription and a one-time sealed_secret envelope, not a raw signing secret. Decrypt it outside MCP to configure the receiver. Verify timestamp, exact-body HMAC and event-ID deduplication at the receiver. After an uncertain outcome, list subscriptions before deciding whether to create another; this route has no idempotency key or operation ID. 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>",
      "url": "<url>",
      "reveal_public_key": "<reveal_public_key>"
    },
    "name": "create_network_vpn_site_health_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
peer_idYesExact lowercase UUID returned by an owned networking resource
gateway_idYesExact lowercase UUID returned by an owned networking resource
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. Addedv2.3.21

TDQS

A4.6/5.0
Behavior4/5

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

Far beyond the annotations: it discloses that the 201 response carries a one-time sealed_secret envelope rather than a raw signing secret, that there is no idempotency key or operation ID, that backend enforces ownership, feature availability and 2FA locks, and that receiver-side validation needs timestamp, exact-body HMAC and event dedup. Polling semantics for in_progress/reason_code are spelled out. It stops short only of describing reconciliation steps beyond "inspect state".

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 creation action and the key material, then moves to response shape, verification, retry policy and permissions in a logical order. It is dense and long, with a couple of run-on clauses about reason_code, but nearly every sentence carries operational value an agent would otherwise guess wrong.

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, yet the description explains the 201 payload, the sealed_secret envelope, the pending-versus-failure distinction on the returned operation, and how to poll. Combined with the four required parameters documented in the schema, an agent has what it needs to call the tool and interpret the result correctly.

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 coverage is 75%, and the description still adds meaning: url must be a public HTTPS DNS endpoint on port 443, and reveal_public_key must be a one-time public key whose private half stays outside MCP. It does not add anything for gateway_id or peer_id beyond the schema's existing 'owned networking resource' wording, which keeps it off a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: "Create a signed site health subscription." The description makes clear this is a one-time secret-issuing creation rather than a settings update, and it indirectly separates itself from the delete/list siblings by telling the agent to list subscriptions when the outcome is uncertain.

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 explicit preconditions (public HTTPS DNS endpoint on port 443, caller-generated X25519 public key, networking:manage scope), an alternative path for ambiguous outcomes (list subscriptions before deciding whether to create another), and a hard exclusion (never automatically retry). The when/when-not guidance is unusually complete.

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