Skip to main content
Glama
Official Porkbun MCP Server

Official Porkbun MCP Server

Get Hosting

get_hosting
Read-onlyIdempotent

Retrieves hosting details for a domain, including product, plan, status, trial, expiry, and auto-renew, or returns null if no hosting exists.

Instructions

Get the hosting on a domain (product, plan, status, trial, expiry, auto-renew), or null if there is none. For Secure Static Hosting, deploy_site publishes files once it is ACTIVE. For a Cloud for WordPress site: to change its content (pages, posts, images, settings), use wordpress_request and wordpress_upload_media; wordpress.site adds the PHP version and the versions available, the WordPress version setting, SSL, storage used, search visibility, any staging copy, and recent background jobs (operations, e.g. a restore in progress).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "<domain>"
    },
    "name": "get_hosting"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.39.4

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish the safe read-only, idempotent profile, so the description need only add context — and it does: it discloses the null-if-absent return case and warns that certain fields (PHP version, staging copy, background operations) appear only under the WordPress site structure. It stops short of describing pagination or error conditions, but those are largely irrelevant for a single-domain lookup.

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 purpose and null case are front-loaded in the first sentence, which is exactly right. The subsequent sentences are information-dense routing hints rather than padding, though the WordPress sentence is long and chains many enumerated fields, making it slightly harder to scan than it could be.

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?

With no output schema, the description must carry return-value semantics, and it does by listing the hosting attributes, the null case, and the extra WordPress-specific fields including `operations` for background jobs. It is close to complete for a one-parameter read tool; only the exact shape of the nested WordPress block remains implicit.

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?

Schema description coverage is 100% with a single required `domain` string already documented as "Domain to check." The description adds no format, casing, or normalization guidance beyond that, so the baseline 3 applies — the schema carries the parameter meaning entirely.

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?

States a specific verb and resource ("Get the hosting on a domain") and enumerates the returned attributes (product, plan, status, trial, expiry, auto-renew), plus the null case. This clearly separates it from sibling mutations like create_hosting, delete_hosting and update_hosting_auto_renew.

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?

Gives concrete routing for downstream tasks: deploy_site publishes files once hosting is ACTIVE, and changing WordPress content should go through wordpress_request / wordpress_upload_media rather than this tool. It never explicitly contrasts get_hosting with nearby read siblings like get_domain or check_domain, so the guidance is strong but not exhaustive.

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