Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Create purchase order

billing_createPurchaseOrderV1

Place purchase orders for Hostinger products by specifying catalog item IDs and quantities. Uses your default payment method if none is provided, and completes the order asynchronously once payment is confirmed.

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.

If the response is 202 Accepted, the payment is still being processed and the order will complete asynchronously once the payment is confirmed.

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.

  1. Addedv1.23.0

TDQS

A3.9/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the annotations, including the automatic use of a default payment method and the 202 Accepted asynchronous processing behavior. It also explicitly discloses that this endpoint only places the order and does not provision the product. It does not cover idempotency, permissions, or refunds, but the main side effects are transparently described.

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-ordered: purpose first, then item lookup, payment behavior, async semantics, and the provisioning boundary. It is reasonably concise, though there is some redundancy around the phrase 'any product' appearing multiple times, and the note about leveraging existing billing infrastructure adds only marginal value.

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 tool with 3 parameters, complete schema coverage, and no output schema, the description covers the key decision points: what the endpoint is for, where to find item IDs, what happens with payment, and how to interpret a 202 response. It does not mention how to later check the order status or handle errors, but the essential invocation context is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers all three parameters with descriptions, and the schema coverage is 100%, so this is a baseline-3 case. The description adds some value by referring to the catalog endpoint for finding item_id values and reinforcing that the payment method defaults when omitted, but it does not need to add very much because the schema is already informative.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description makes the resource and action explicit: creating a purchase order for any Hostinger product, and it clearly positions itself as the unified endpoint that places catalog orders. It also distinguishes itself from provisioning by stating that product setup is not performed here, which helps separate it from sibling product-specific tools, though it does not explicitly name those alternative purchase tools.

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 gives clear guidance to use the catalog endpoint to resolve item_id values and states that this endpoint should be used to purchase any catalog product. It also explains the boundary between ordering and provisioning by pointing to product endpoints or hPanel for final setup, though it does not explicitly state when to prefer specialized purchase siblings such as VPS_purchaseNewVirtualMachineV1.

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

Deploy Server

Other Tools