Skip to main content
Glama

Create private network

create_private_network
Idempotent

Create an approved private network for existing services when no suitable owned network exists. Allocate a unique subnet from 100.64.0.0/10 by omitting subnet or naming an aligned block.

Instructions

Create an approved private network for existing services when no suitable owned network exists. A false new-order private_network.available or order_availability result alone does not block this route; honor this endpoint's own quota and feature refusal. Every subnet is unique on the whole platform and comes from 100.64.0.0/10. Omit subnet and the platform allocates a free block of subnet_prefix_length (28..24, default 26 = 64 addresses; capabilities.private_network.subnet_sizes lists each size with its server count and suggested block); or name an aligned /28 through /24 inside 100.64.0.0/10 that no network holds (409 subnet_in_use), never both. Creation is asynchronous: poll its operation and get_private_network until network.port_intent_ready is true, then check attachment candidates. A successful network_graph_created operation and provisioning_status=configured describe the graph stage; the first guest has not yet qualified connectivity. Never wait for applied_generation to equal generation before the first attachment. Creation does not itself attach a server or buy a public address. 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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
subnetNo
settingsNoUse only choices currently advertised by get_networking_capabilities. Custom addresses require an explicit subnet; DHCP is currently always enabled.
default_policyNo
idempotencyKeyYesIdempotency-Key for this exact change; preserve it and the unchanged body on uncertain recovery
subnet_prefix_lengthNoSize of the allocated subnet when subnet is omitted; default 26

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.6/5.0
Behavior5/5

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

Adds extensive behavior beyond annotations: asynchronous creation, polling via operation and get_private_network until port_intent_ready, graph-stage nuance, no automatic attachment, explicit networking:read/manage requirements, quota/2FA enforcement, and in_progress versus failure semantics. It also aligns with the idempotentHint by stressing preservation of the original idempotency key and never auto-retrying on transport uncertainty.

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-loads purpose, subnet rules, async behavior, and auth/approval constraints efficiently for such a complex operation. However, the polling and idempotency guidance is repeated in multiple places, so the description is longer and less tightly structured than it could be.

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?

Given a complex open-world, idempotent, asynchronous creation tool with no output schema and only partial parameter description coverage, the description covers the critical operational concerns: auth scope, approval, subnet allocation, async polling, reason_code handling, idempotent recovery, and the fact that creation does not attach or purchase connectivity. It gives an agent enough to call and monitor the tool 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?

With 50% schema description coverage, the description adds important semantics for subnet and subnet_prefix_length: uniqueness across the platform, 100.64.0.0/10 range, omission behavior, default /26, capability-based sizing, alignment rules, and subnet_in_use conflict. It does not explain default_policy or add much beyond the schema for some other nested settings, so it is strong but not fully comprehensive.

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?

States a specific verb and resource: creating an approved private network for existing services when no suitable owned network exists. It also distinguishes the operation from attachment or public-address purchase by saying creation does not itself attach a server or buy a public address.

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?

Gives a clear condition for use: when no suitable owned network exists, and clarifies that a false order-availability result alone does not block this route. It also says to read current capabilities and owned resource state first and obtain approval, though it does not name the exact alternative sibling tool for checking existing networks.

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