Skip to main content
Glama

hcloud_network_change_ip_range_action

Destructive

Extend a Hetzner Cloud Network's private IPv4 range by changing its CIDR netmask; IP ranges can only grow, so reboot connected servers or update routes to apply changes.

Instructions

Change IP range of a Network

Changes the IP range of a Network.

The following restrictions apply to changing the IP range:

  • IP ranges can only be extended and never shrunk.

  • IPs can only be added to the end of the existing range, therefore only the netmask is allowed to be changed.

To update the routes on the connected Servers, they need to be rebooted or the routes to be updated manually.

For example if the Network has a range of 10.0.0.0/16 to extend it the new range has to start with the IP 10.0.0.0 as well. The netmask /16 can be changed to a smaller one then 16 therefore increasing the IP range. A valid entry would be 10.0.0.0/15, 10.0.0.0/14 or 10.0.0.0/13 and so on.

If a change is currently being performed on this Network, a error response with code conflict will be returned.

Input Schema

NameRequiredDescriptionDefault
idYesID of the Network.
bodyYes
waitNoPoll the resulting action until success/error or timeout.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructive=true, but the description adds the concrete blast radius: ranges cannot shrink, IPs can only be appended, and connected servers must be rebooted or have routes updated manually. It also discloses the `conflict` failure mode, which is exactly the kind of post-call consequence an agent needs before invoking a destructive action.

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 the purpose and the restriction bullets before the long worked example, so an agent can stop reading early if it only needs the rules. The trailing example paragraph and repeated markdown anchor links add some bulk, but every section carries real information.

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, open-world action with no output schema, the description covers constraints, side effects on dependent servers, and the conflict-error case. Combined with the schema's ip_range guidance and the `wait` polling parameter, an agent has everything needed to call it safely.

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 67%, and the description adds non-obvious semantics for `ip_range`: the new range must start with the same base IP and only the netmask may decrease, with worked examples (10.0.0.0/16 -> /15, /14). The `id` and `wait` parameters are left to the schema, which documents them adequately.

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?

States a specific verb and resource: 'Change IP range of a Network', and the restrictions make clear it is an in-place extension of an existing network's CIDR, not a general network update (hcloud_update_network) or subnet/route additions. It never names a sibling tool to disambiguate explicitly, so it stops just 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear preconditions for calling: the range can only be extended, only the netmask may change, and a `conflict` error is returned if another change is in flight. It does not say when to prefer it over related tools such as hcloud_create_network or hcloud_network_add_subnet_action, but the constraints effectively define the valid usage envelope.

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