Catalog/get_hosting_plan
Tool · Catalog

get_hosting_plan

Get a single hosting plan by its WHMCS product id (pid), including its pricing and normalized configurable options (e.g. server location). Config-option prices are list price. Call list_hosting_plans first to find the pid. Data may be up to 60 seconds stale.

Read-onlyIdempotentOpen‑worldscope read:product_catalog

Invoked over the MCP transport with a tools/call request naming this tool.

Authorization #

Requires a valid OAuth 2.1 bearer access_token whose grant includes the read:product_catalog scope — View JetHost's hosting plans with EUR pricing. The broker resolves the caller from the token and returns only records the account owns.

Parameters #

pidintegerRequired
The WHMCS product id (pid) of the hosting plan to retrieve. Obtain this from list_hosting_plans. Must be a positive integer.

Response #

200 · application/json

planobject
pidinteger
gidinteger
namestring
taglinestring
short_descriptionstring
descriptionstring
product_urlstring
currencystring
pricingarray<object>
cyclestring
base_pricestring
new_pricestring
discount_pctnumber
config_optionsarray<object>
idinteger
namestring
typestring
requiredboolean
optionsarray<object>

Errors #

ResultWhen
{ "error": "not_found" }The requested item does not exist, or it belongs to another account. Cross-account IDs are indistinguishable from missing ones by design.