Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Claim free domain

domains_claimFreeDomainV1

Claim a free domain from your account and register it without a payment method. Provide WHOIS contacts or use defaults; TLD-specific additional details are validated before claiming.

Instructions

Claim a free domain available on your account and register it.

Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required.

A successful response means the domain is registered. If registration fails, login to hPanel and check domain registration status.

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 claiming.

Requests which cannot be fulfilled are rejected with an error code in the response body, for example 2037 when no free domain is available.

Use this endpoint to register a domain using a free domain from your account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name
domain_contactsNoDomain contact information
additional_detailsNoAdditional registration data, possible values depends on TLD
Install Server

TDQS

A4.5/5.0
Behavior5/5

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

The description goes well beyond the annotations, explaining that the operation consumes a free domain, requires no payment, indicates success only when registration is complete, and produces errors like 2037 when no free domain is available. It also discloses default WHOIS fallback and TLD-specific additional_details validation.

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?

The description is front-loaded with the core purpose and spends most sentences on useful behavioral details. The final sentence repeats the opening idea, which slightly reduces conciseness, but overall there is minimal filler.

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?

For a mutating tool with no output schema, the description adequately explains success semantics, failure handling, error codes, preconditions, and TLD-specific requirements. It could be slightly more explicit about what the response body contains or how it relates to transfer tools, but it is not incomplete enough to mislead an agent.

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 input schema already documents all three parameters, and the description adds meaningful context: domain_contacts relates to WHOIS records, additional_details is TLD-dependent and validated, and omitted WHOIS info falls back to defaults. This supplements the schema rather than merely repeating it.

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 uses a specific verb and resource: 'Claim a free domain available on your account and register it.' It also explicitly contrasts with purchasing a domain, which distinguishes it from siblings like domains_purchaseNewDomainV1.

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 clearly states when to use this tool: when a free domain is available and no payment method is required. It also covers prerequisites like ensuring WHOIS information exists. However, it does not explicitly name the transfer sibling domains_claimFreeDomainTransferV1 as an alternative.

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