Skip to main content
Glama
oborseth

Porkbun MCP Server

by oborseth

register_domain

Idempotent

Register a new domain with price matching check_domain's quote. Supports idempotent retries for safe ordering under 24 hours.

Instructions

Spends account credit. Registers a new domain on the authenticated Porkbun account. The cost parameter must exactly match the current registration price returned by check_domain (in cents) — Porkbun rejects mismatched quotes. Workflow: call check_domain first to get availability + price, confirm the spend with the user, then call this. The order is idempotency-safe: retries within 24 hours via the same Idempotency-Key return the original response without re-charging. Premium domains, .uk, and a handful of registry-specific TLDs cannot be registered via API and must be done on the website. The account's email and phone number must be verified, and the account must have at least one prior registration order before this works.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesFully qualified domain name to register, e.g. `example.com`
costYesRegistration price in cents. Must match the value returned by `check_domain` for this domain (multiplied by years if duration > 1).
Behavior5/5

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

Adds critical context beyond annotations: 'Spends account credit,' cost mismatch rejection, idempotency details (24-hour retries), and registration limitations. Annotations indicate idempotentHint=true and openWorldHint=true, which the description corroborates and enriches.

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?

Single paragraph with no fluff. Uses bold for key warning ('Spends account credit'). Information is logically ordered: warning, action, parameter constraint, workflow, idempotency, limitations, prerequisites. Every sentence adds 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?

Covers most practical concerns: prerequisite checks, idempotency, domain limitations. Lacks description of return value (no output schema), but this is a payment tool where response is likely standard. Minor gap for full completeness.

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 coverage is 100% with detailed parameter descriptions. The description adds workflow context (check_domain first, years multiplier) but does not significantly enhance semantic understanding beyond what the schema provides. Baseline 3 is appropriate.

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 uses a specific verb ('Registers') and resource ('domain on the authenticated Porkbun account'), clearly distinguishing from sibling tools like check_domain (checking availability) and renew_domain (renewing an existing domain).

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?

Explicit workflow: call check_domain first, confirm with user, then call this. States when NOT to use (premium domains, .uk, etc.) and prerequisites (verified email/phone, prior registration). Provides clear guidance on idempotency and retries.

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/oborseth/Porkbun-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server