Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

hosting_createWebsiteV1

Create a website by providing a domain and order ID. For a new hosting plan, specify a datacenter code to set up the account.

Instructions

Create a new website for the authenticated client.

Provide the domain name and associated order ID to create a new website. 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_idYesID of the associated order
datacenter_codeNoDatacenter code. This parameter is required when creating the first website on a new hosting plan.
Behavior4/5

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

Discloses that website creation is asynchronous ('takes up to a few minutes') and suggests a polling mechanism. Explains that first website sets up a hosting account and subsequent ones reuse the datacenter. No annotations provided, so description carries full burden and does so adequately.

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?

Six sentences, each adding value. Front-loaded with main purpose. Clear structure. Could be slightly more structured, but no unnecessary information.

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?

Given no output schema and no annotations, the description covers key aspects: required parameters, datacenter behavior, async nature, and how to verify completion. It does not cover error cases, but is sufficient for a creation tool.

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?

Input schema covers all 3 parameters with descriptions. The description adds valuable context for datacenter_code, explaining its role in setting up new hosting accounts and automatic reuse. For domain, schema already includes restriction ('Cannot start with www.'). Overall, description complements schema well.

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?

Description clearly identifies the action ('Create') and resource ('new website'). It distinguishes from sibling tools like hosting_deployJsApplication by focusing on creating a website from an order, not deploying a specific application.

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?

Provides clear instructions on when to use the datacenter_code parameter (first website on a new plan) and explains subsequent behavior. Also advises polling the list endpoint for completion, handling the async nature. Does not explicitly exclude alternatives, but context implies usage.

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

Install Server

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