Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Create website

hosting_createWebsiteV1

Create a new website on an existing hosting order by providing the domain and order ID. Specify a datacenter code when setting up the first website on a new hosting plan.

Instructions

Create a new website for the authenticated client.

You must choose which hosting order to create this website on. Pass that order as order_id together with the domain name. List orders to see available IDs; the website is provisioned on that order's hosting plan.

The datacenter_code parameter is required when creating the first website on a new hosting plan - this will set up and configure new hosting account in the selected datacenter.

Subsequent websites will be hosted on the same datacenter automatically.

Website creation takes up to a few minutes to complete. Check the websites list endpoint to see when your new website becomes available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name for the website. Cannot start with "www."
order_idYesHosting order ID to create this website on. Choose the order whose hosting plan should host the new website. List orders to find available IDs.
datacenter_codeNoDatacenter code. This parameter is required when creating the first website on a new hosting plan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.63.4
    • changedInput schema / properties / order_id / description
      Previous value: -"ID of the associated order"New value: +"Hosting order ID to create this website on. Choose the order whose hosting plan should host the new website. List orders to find available IDs."
  2. Addedv1.5.0
  3. Removedv1.2.1
  4. Addedv0.2.2
  5. Removedv0.2.1
  6. Addedv0.1.40

TDQS

A4.1/5.0
Behavior4/5

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

Annotations indicate a non-readonly, non-destructive operation, but the description adds valuable behavioral details: creation takes a few minutes, subsequent websites share the datacenter automatically, and the order_id determines the hosting plan. This goes beyond the annotations and helps the agent set expectations. No contradiction with 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?

The description is well-structured, with a clear opening purpose, followed by parameter guidance, then behavioral notes. Every sentence adds value and there is no fluff. It is appropriately concise for the complexity of the operation.

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?

The description covers the essential aspects: required parameters, how to find order_id, datacenter logic, asynchronous completion, and verification method. It does not address potential error cases (e.g., duplicate domain, insufficient permissions), but for a create tool with no output schema, it is largely complete. The only minor gap is the lack of mention of failure handling.

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 100%, so all parameters are documented in the schema. The description adds extra context: it clarifies that order_id selects the hosting plan, that datacenter_code is conditionally required for the first website, and that datacenter is automatically reused for later websites. This enriches the schema descriptions and aids correct usage.

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?

The description clearly states the tool creates a new website for the authenticated client, and explains the key context of selecting a hosting order and domain. It is specific about the resource and action. However, it does not explicitly differentiate from other create-website tools in the sibling list (e.g., agency-hosting_createANewWebsiteV1, horizons_createWebsiteV1), so it's clear but not fully distinguishing.

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 strong guidance on how to use the tool: it explains that the order_id is required, how to find it, and that datacenter_code is needed for the first website on a new plan. It also mentions the asynchronous nature and how to verify completion. It does not explicitly discuss when to prefer this tool over alternatives, but the context is clear enough for an agent to use it appropriately.

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