Skip to main content
Glama

bulk_register_domains

Register multiple domains simultaneously through the Dynadot API. This tool processes up to 100 domain registrations in a single operation with default settings that can be customized.

Instructions

Register multiple domains at once (up to 100). All domains are registered with default settings unless overridden.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainsYesList of domain names to register
currencyNoCurrency for payment
couponNoCoupon code for discount

Implementation Reference

  • The handler implementation for the `bulk_register_domains` tool in `src/tools/domain.ts`, which uses the `client.bulkRegister` method to perform the operation.
    server.tool(
      "bulk_register_domains",
      "Register multiple domains at once (up to 100). All domains are registered " +
        "with default settings unless overridden.",
      {
        domains: z
          .array(z.string())
          .min(1)
          .max(100)
          .describe("List of domain names to register"),
        currency: z.string().optional().describe("Currency for payment"),
        coupon: z.string().optional().describe("Coupon code for discount"),
      },
      async ({ domains, currency, coupon }) => {
        try {
          const result = await client.bulkRegister(domains, { currency, coupon });
          return {
            content: [
              { type: "text" as const, text: JSON.stringify(result, null, 2) },
            ],
          };
        } catch (error) {
          const msg = error instanceof Error ? error.message : String(error);
          return {
            content: [
              { type: "text" as const, text: `Bulk registration failed: ${msg}` },
            ],
            isError: true,
          };
        }
      }
    );

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/mikusnuz/dynadot-mcp'

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