Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Create purchase order

billing_createPurchaseOrderV1

Create a purchase order for any Hostinger product by specifying catalog item IDs and quantities. Uses your default payment method if none is provided, placing the order without provisioning.

Instructions

Create a purchase order for any Hostinger product.

This unified endpoint places an order for one or more catalog items and works across all Hostinger products, leveraging the existing billing infrastructure. Use the catalog endpoint to look up the item_id values available for purchase.

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

This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or hPanel to finalize setup.

Use this endpoint to purchase any product available in the catalog.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesCatalog price items to purchase
couponsNoDiscount coupon codes
payment_method_idNoPayment method ID, default will be used if not provided

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv1.23.0

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations, the description adds meaningful behavioral context: it will place an order, automatically use the default payment method if none is provided, and it will not perform product-specific provisioning. This clarifies side effects and boundaries, though it does not mention potential billing charges, order cancellation, or response behavior.

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 well-structured and front-loaded with the core purpose. The paragraphs are purposeful, but the final sentence 'Use this endpoint to purchase any product available in the catalog' is somewhat redundant with the opening sentence, slightly reducing conciseness.

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 simple three-parameter endpoint with no output schema and minimal annotations, the description covers the main operational context: what to purchase, where to find item IDs, default payment behavior, and the boundary between ordering and provisioning. It is complete for selecting and invoking the tool, though a brief note on response/order confirmation would be beneficial.

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 the schema already documents all parameters. The description adds practical value by pointing to the catalog endpoint for obtaining item_id values and clarifying that the order can contain 'one or more catalog items,' which enhances understanding of the `items` array beyond 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 opens with a specific verb and resource: 'Create a purchase order for any Hostinger product.' It clearly states that this is a unified endpoint placing orders for one or more catalog items across all Hostinger products, and distinguishes itself from product-specific purchase or provisioning flows by noting that provisioning is not performed here.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells the agent when to use the endpoint ('Use this endpoint to purchase any product available in the catalog') and when not to rely on it for provisioning ('Product-specific provisioning... is not performed here'), directing to 'relevant product endpoints or hPanel' instead. It also references the catalog endpoint for looking up item_id values, which is actionable routing guidance.

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