Skip to main content
Glama

hcloud_delete_firewall

Destructive

Delete a Hetzner Cloud firewall by ID to remove unused or misconfigured firewall rules. Fails if the firewall is still attached to a resource.

Instructions

Delete a Firewall

Deletes the Firewall.

Operation specific errors

Status

Code

Description

422

resource_in_use

Firewall still applied to a resource

Input Schema

NameRequiredDescriptionDefault
idYesID of the Firewall.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/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 real value beyond that by documenting the one operation-specific failure mode: a 422 when the firewall is still applied to a resource, which tells the agent it may need a detach step first. It does not state whether deletion is immediate/permanent or how the async action is polled.

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?

Very short and front-loaded: the first line states the action, then the error table. Some text is redundant ('Delete a Firewall' / 'Deletes the Firewall') and the anchor-link markup is noise, but overall it is tight and well ordered.

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 one-parameter destructive delete with full annotation coverage and no output schema, the definition supplies the essential extra context (the resource_in_use failure). Missing only confirmation of irreversibility/async completion, which are minor given the destructiveHint annotation.

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?

Single required parameter with 100% schema description coverage ('ID of the Firewall.'), so the schema already carries the semantics. The description adds nothing about identifier sourcing (e.g., from hcloud_list_firewalls) or what happens with an invalid/missing ID, so 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 specific verb and resource ('Delete a Firewall', 'Deletes the [Firewall]'), which is unambiguous against the many get_/list_/update_ firewall siblings. It does not explicitly distinguish itself from the nearby hcloud_firewall_remove_from_resources_action, which an agent could plausibly confuse with 'removing' a firewall.

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?

There is no explicit 'use this when…' sentence and no named alternative, but the 422 resource_in_use error implicitly signals the prerequisite (the firewall must first be detached from all resources via the remove-from-resources action). That is useful implied guidance rather than stated guidance.

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