Skip to main content
Glama
hcloud-mcp
by Xodus-CO

add_network_subnet

Add a subnet to an existing network to enable private networking, specifying the CIDR range and network zone for the new segment.

Instructions

Add a subnet to a network (e.g. for private networking 10.0.0.0/16 in a zone)

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": {
      "id": "<id>",
      "type": "<type>",
      "network_zone": "<network_zone>"
    },
    "name": "add_network_subnet"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNetwork ID
typeYes
ip_rangeNoCIDR, e.g. 10.0.0.0/24; omit for auto /24
vswitch_idNoRequired if type is vswitch
network_zoneYesNetwork zone, e.g. eu-central

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "cloud",
      -  "server",
      -  "vswitch"
      -]New value: +[
      +  "cloud",
      +  "vswitch"
      +]
  2. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered structurally; the description adds essentially nothing beyond that. It does not say what happens on overlapping ranges, whether re-adding an existing subnet fails, or what constraints the target network must satisfy. No contradiction with annotations.

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?

A single short sentence with the action front-loaded and zero filler. It is efficient, though the parenthetical example could have been spent on constraining information instead of a restated CIDR sample.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter mutation tool with three required fields, a type-dependent vswitch_id, and no output schema, the description is too thin: it omits required-permission or precondition information, failure modes, and what the call returns or changes. An agent would have to fall back on the schema alone to call this correctly.

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 80%, so the baseline is 3. The description's CIDR example (10.0.0.0/16) roughly duplicates the schema's ip_range documentation and it says nothing about type='vswitch' or vswitch_id coupling, so it adds no meaning beyond 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?

The description states a specific verb and resource ('Add a subnet to a network'), which is materially more informative than the bare tool name and distinguishes it from siblings such as delete_network_subnet or add_network_route. It does not explicitly name or contrast those alternatives, so it stops short of a 5.

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 parenthetical 'e.g. for private networking' implies a use case and the zone/CIDR shape hints at context, but there is no explicit when-to-use/when-not, no prerequisites (e.g. network must already exist and be of a compatible type), and no pointer to alternatives for other network-mutating operations.

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