Skip to main content
Glama
hostinger

hostinger-api-mcp

Official
by hostinger

Renew subscription

billing_renewSubscriptionV1

Creates a renewal order for an existing Hostinger subscription. Uses your default payment method when none is specified; payment completes asynchronously after confirmation.

Instructions

Create a renewal order for an existing Hostinger subscription.

This endpoint places a renewal order for a single subscription, leveraging the existing billing infrastructure. Use the subscriptions endpoint to look up the subscriptionId values available for renewal.

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 renewal will complete asynchronously once the payment is confirmed.

Use this endpoint to renew any subscription available in your account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
couponsNoDiscount coupon codes
subscriptionIdYesSubscription ID
payment_method_idNoPayment method ID, default will be used if not provided

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.26.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations include readOnlyHint=false and destructiveHint=false, implying it's a mutating but non-destructive operation. The description goes beyond that by explaining the async behavior (202 Accepted means processing, renewal completes asynchronously) and the default payment method behavior, which are important operational details not covered by annotations.

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: starts with the core purpose, then provides guidance on finding subscription IDs, then explains default payment behavior, then the async response, and finally a closing statement. Every sentence adds meaningful information without redundancy or fluff.

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?

Given the tool has no output schema and the annotations don't provide details on return values or errors, the description covers the essential aspects: what it does, how to get required parameter, the async nature for success, and the default behavior for optional parameters. It lacks explicit info on error scenarios, but that's often not in descriptions. The complexity is moderate (3 params, one required), and the description is adequate for an agent to call it correctly.

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 description coverage is 100%, so all three parameters are already described in the schema. The description adds value by noting that if payment_method_id is not provided, the default is used, reinforcing the schema but not adding wholly new semantics. However, it doesn't explain how coupons are applied, but that's minor. Baseline 3, plus a bit for reinforcing the default payment behavior.

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 that the tool creates a renewal order for an existing Hostinger subscription, specifying the action (create renewal order), resource (subscription), and context (existing billing infrastructure). It also explicitly distinguishes it from related billing operations like enabling/disabling auto-renewal, which is a different action on the same resource.

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 explains when to use it (for renewing any available subscription) and how to find the subscriptionId via the subscriptions endpoint. It does not explicitly mention alternatives like auto-renewal controls, but the sibling tools (billing_enableAutoRenewalV1, billing_disableAutoRenewalV1) are obviously different, and the description's context of creating a renewal order is clear enough.

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