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

delete_network_subnet

DestructiveIdempotent

Delete a subnet from a Hetzner Cloud network by specifying the network ID and IP range. Detach any servers using the subnet first, then remove it to free the address range.

Instructions

Delete a subnet from a network (detach servers from it first)

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>",
      "ip_range": "<ip_range>"
    },
    "name": "delete_network_subnet"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNetwork ID
ip_rangeYesIP range of subnet to delete, e.g. 10.0.1.0/24

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructive=true, idempotent=true, and openWorldHint=true, so the description only needs to add context beyond the annotations. The requirement that servers be detached first is useful, but the description says nothing about whether attached routes or other resources block deletion, or what happens if the operation is retried.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The whole definition is a single front-loaded sentence with the primary action first and the precondition after it. There is no padding, and every clause is useful.

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

Completeness4/5

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

For a two-parameter destructive delete with full schema coverage, complete annotations, and no output schema, the definition provides enough context to invoke the tool correctly. The remaining gap is that it does not cover failure modes, such as what happens when resources are still attached to the subnet.

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 coverage is 100%, and both parameters (id, ip_range) are already documented in the schema, including an example format for the IP range. The description adds no further meaning about how ip_range must match an existing subnet, so it is at the baseline for a fully documented 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?

Names a specific verb and resource ('Delete a subnet from a network'), which clearly separates it from sibling operations such as add_network_subnet or delete_network. It does not explicitly contrast with an alternative tool, so it falls slightly short of the top score.

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?

The parenthetical 'detach servers from it first' tells an agent which prerequisite must be met before calling the tool, so it is genuine when-to-use guidance rather than inference. No alternatives or refusal conditions are named, such as what to do if the subnet is still attached.

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