Skip to main content
Glama

hcloud_network_delete_subnet_action

Destructive

Deletes a subnet from a Hetzner Cloud Network by IP range, returning an error if resources are attached or the network has a pending action.

Instructions

Delete a subnet from a Network

Deletes a single subnet entry from a Network.

Subnets containing attached resources can not be deleted, they must be detached beforehand.

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/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is covered; the description adds genuinely useful failure modes (attached-resource blocking, conflict on concurrent changes). It stops short of stating irreversibility or whether the deletion is idempotent, and the polling behavior of `wait` is left to the schema.

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?

Three short sentences, front-loaded with the action and followed by the blocking conditions. The opening summary line and the following sentence are mildly redundant ('Delete a subnet from a Network' / 'Deletes a single subnet entry'), a minor waste of space.

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?

With no output schema but a rich input schema and destructive annotations, the description supplies exactly the missing pieces: preconditions, the conflict failure mode, and scope. Nothing essential to calling this destructive action correctly is absent.

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 67% and the schema already documents `id` (Network ID), `ip_range` (CIDR of the target subnet), and `wait` (poll to completion). The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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 concrete verb and resource: deleting a single subnet entry from a Network, with the API-level anchor to the networks tag. It is distinguishable from hcloud_delete_network (whole network) and hcloud_network_delete_route_action (routes), though it does not name those siblings explicitly.

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 use: subnets with attached resources must be detached first, and a conflicting in-flight change on the Network will yield a `conflict` error. It does not point to the alternative tool (e.g. add/detach subnet operations) that an agent should use instead when the precondition fails, leaving that routing to inference.

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