Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Delete website

hosting_deleteWebsiteV1
DestructiveIdempotent

Permanently delete a website domain and all its content, including files and databases, to free the hosting plan for a new site. Action cannot be undone.

Instructions

This endpoint permanently removes a website and all of its data. This action cannot be undone. Before calling it, make sure the user understands the consequences and explicitly confirms that they want to proceed.

All website files, databases and related configuration will be removed. The hosting plan itself is kept, so a new website can be created on it afterwards.

Supported websites: main and addon domain websites on web hosting plans, and Website Builder websites. Parked domains and subdomains cannot be deleted with this endpoint. The domain must be the exact website domain, not a preview domain or an alias.

Returns 404 when the domain does not exist or does not belong to the authenticated client.

Website removal is processed asynchronously and can take a few minutes to complete. The response returns before the removal finishes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark destructiveHint=true and readOnlyHint=false, but the description significantly adds behavioral context: removal is irreversible, all files/databases/configuration are deleted, the hosting plan remains, processing is asynchronous, and the response returns before completion. It also documents the 404 case. This goes well beyond the annotations.

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?

Despite being multi-paragraph, every sentence adds necessary information for a destructive operation. The irreversible warning leads, followed by scope, error behavior, and async semantics. The structure is logical and front-loaded with the most critical guidance.

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?

The description is fully self-contained for a one-parameter destructive tool. It covers what gets destroyed, what is preserved, which website types are valid, error cases, and asynchronous behavior. Even without an output schema, an agent has everything needed to call it safely and correctly.

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?

The schema only says 'Domain name', but the description adds critical meaning: it must be the exact website domain, not a preview domain or alias. It also ties the domain to the supported website types, giving the agent real guidance for supplying the single parameter correctly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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: it permanently removes a website and all its data. It clearly distinguishes this from other hosting operations by detailing what is deleted and what is preserved. The scope is unambiguous even among many sibling tools.

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 description gives explicit usage constraints: requires user confirmation, supports only main/addon domain websites and Website Builder websites, and excludes parked domains, subdomains, preview domains, and aliases. It does not explicitly name an alternative sibling for unsupported cases, but the supported/not-supported guidance is clear enough for correct tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hostinger/api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server