Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

domains_purchaseNewDomainV1

Register a new domain name with your account. Specify domain and catalog item ID; default payment and WHOIS contacts are used if omitted.

Instructions

Purchase and register a new domain name.

If registration fails, login to hPanel and check domain registration status.

If no payment method is provided, your default payment method will be used automatically.

If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account.

Some TLDs require additional_details to be provided and these will be validated before completing purchase.

Use this endpoint to register new domains for users.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name
item_idYesCatalog price item ID
payment_method_idNoPayment method ID, default will be used if not provided
domain_contactsNoDomain contact information
additional_detailsNoAdditional registration data, possible values depends on TLD
couponsNoDiscount coupon codes
Behavior4/5

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

With no annotations, the description covers key behavioral traits: default payment and WHOIS fallbacks, additional_details validation, and failure handling (directing to hPanel). It does not mention idempotency or cancellation, but the provided details are sufficient for safe execution.

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, starting with the main purpose, then providing step-by-step fallback behaviors and prerequisites. Each sentence adds value, and there is no unnecessary repetition.

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

Completeness3/5

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

The description lacks information about the return value or output, and does not mention the need to obtain item_id from a billing tool first. Given the tool's complexity and no output schema, these omissions could hinder an agent's understanding.

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 baseline is 3. The description adds context beyond schema: it explains domain_contacts as WHOIS info, payment_method_id as optional with default, and additional_details as TLD-specific. It adds practical usage advice not in the schema.

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 clearly states the action: 'Purchase and register a new domain name.' It uses a specific verb and resource, and the domain registration context distinguishes it from sibling tools like domains_checkDomainAvailabilityV1.

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 provides guidance on prerequisites (ensure WHOIS information exists) and fallback behaviors (default payment/contacts). It hints at when to use this tool versus alternatives by mentioning additional_details for specific TLDs, but does not explicitly list when not to use it.

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