Skip to main content
Glama
hostinger

hostinger-api-mcp

Official

domains_purchaseNewDomainV1

Purchase and register a new domain name using a catalog price item ID, with optional coupons, payment method, and WHOIS contact information.

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
couponsNoDiscount coupon codes
item_idYesCatalog price item ID
domain_contactsNoDomain contact information
payment_method_idNoPayment method ID, default will be used if not provided
additional_detailsNoAdditional registration data, possible values depends on TLD
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses behaviors like default payment method, default WHOIS information, and TLD-specific validation. However, it omits critical behavioral traits: it is a financial transaction that incurs cost, it may be irreversible, there is no mention of asynchronous processing or error states, and the response format is not described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single paragraph but contains repetition: 'Purchase and register a new domain name' and 'Use this endpoint to register new domains' say the same thing. It also includes a troubleshooting instruction ('login to hPanel') that could be a separate note. While not overly long, it could be more concise and front-loaded.

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

Completeness2/5

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

Given the complexity of a domain purchase operation (financial, multi-parameter, dependencies), the description is incomplete. It does not specify what the agent should expect as a return value (no output schema), does not address fund sufficiency, does not mention if the operation is synchronous or asynchronous, and lacks information about cancellation or rollback. The prerequisites are partially covered but significant gaps remain.

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% with descriptions for all parameters. The description adds value beyond the schema by explaining defaults (e.g., payment_method_id default, domain_contacts default) and that additional_details may be validated. This extra context helps the agent understand parameter behavior, going beyond the baseline of 3.

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 tool's purpose: 'Purchase and register a new domain name' and 'Use this endpoint to register new domains for users.' It uses a specific verb and resource, and it distinguishes itself from sibling tools like domains_checkDomainAvailabilityV1 and domains_createWHOISProfileV1.

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?

The description provides implicit usage context, such as ensuring WHOIS information exists and that some TLDs require additional_details. However, it does not explicitly state when to use this tool versus alternatives, nor does it mention prerequisites like checking domain availability or having sufficient funds. It gives fallback instructions but lacks clear guidance on exclusions.

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