Skip to main content
Glama

buy_domain

Initiate domain purchases via Stripe checkout after confirming prices. Collects registrant details to establish legal ownership and generates checkout URLs to complete registration.

Instructions

Start the purchase flow for an available domain via Stripe checkout.

IMPORTANT: Before calling this tool, you MUST first call check_domain to get the price, then clearly show the user the price and get their explicit confirmation before proceeding. Never call buy_domain without the user seeing and approving the price first.

The registrant contact details are required because the domain will be registered in the buyer's name (they become the legal owner). WHOIS privacy is enabled by default, so these details are not publicly visible.

Creates a Stripe checkout session. Returns a checkout URL that the user should open in their browser to complete payment securely via Stripe, plus the order ID for tracking.

Args: domain: The domain to purchase (e.g. "coolstartup.com"). first_name: Registrant's first name. last_name: Registrant's last name. email: Registrant's email address. address1: Registrant's street address. city: Registrant's city. state: Registrant's state or province. postal_code: Registrant's postal/zip code. country: 2-letter ISO country code (e.g. "US", "GB", "DE"). phone: Phone number in format +1.5551234567. org_name: Organization name (optional, leave empty for individuals).

Returns: Dict with order_id, checkout_url, price_cents, and price_display.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYes
first_nameYes
last_nameYes
emailYes
address1Yes
cityYes
stateYes
postal_codeYes
countryYes
phoneYes
org_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses critical behaviors: creates a Stripe checkout session, returns a URL for browser completion, transfers legal ownership to the registrant, and enables WHOIS privacy by default. Minor gap: does not mention error handling, cancellation behavior, or idempotency for payment sessions.

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?

Well-structured with the critical prerequisite warning front-loaded under 'IMPORTANT.' Information is organized logically into flow explanation, Args, and Returns sections. Slightly verbose but justified given the financial/safety criticality and complexity of 11 parameters. No redundant sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given this is an 11-parameter financial transaction tool with no annotations, the description is remarkably complete. It covers prerequisites, parameter semantics (compensating for empty schema), privacy implications (WHOIS), ownership transfer, return values (order_id, checkout_url), and payment security context. Sufficient for safe agent operation.

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

Parameters5/5

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

The input schema has 0% description coverage, but the description fully compensates with a comprehensive Args section. It provides format specifications for critical fields: country requires '2-letter ISO country code,' phone requires '+1.5551234567' format, domain includes an example, and org_name notes it is optional for individuals. This ensures correct invocation despite the bare schema.

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 the tool 'Start[s] the purchase flow for an available domain via Stripe checkout,' providing a specific verb, resource, and mechanism. It implicitly distinguishes from sibling buy_domain_crypto by specifying Stripe, and explicitly differentiates from check_domain by noting the prerequisite relationship.

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?

Exceptional guidance provided: explicitly mandates calling check_domain first to get pricing, requires showing the user the price and obtaining explicit confirmation, and warns 'Never call buy_domain without the user seeing and approving the price first.' Clear sequencing and safety guardrails are established.

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/nach-dakwale/instadomain-mcp'

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