Skip to main content
Glama

transfer_domain

Transfer a domain to Dynadot by providing the domain name and authorization code (EPP code) from the current registrar.

Instructions

Initiate a domain transfer into your Dynadot account. Requires the domain name and the authorization/EPP code from the current registrar.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name to transfer (e.g., 'example.com')
auth_codeYesAuthorization/EPP code from the current registrar
registrant_contactNoContact ID to use as registrant
couponNoCoupon code for discount

Implementation Reference

  • The MCP tool handler for 'transfer_domain'. Registers the tool with a Zod schema for domain, auth_code, registrant_contact (optional), and coupon (optional). The handler calls client.transfer() with the parameters and returns the JSON result or an error message.
    server.tool(
      "transfer_domain",
      "Initiate a domain transfer into your Dynadot account. Requires the " +
        "domain name and the authorization/EPP code from the current registrar.",
      {
        domain: z.string().describe("Domain name to transfer (e.g., 'example.com')"),
        auth_code: z.string().describe("Authorization/EPP code from the current registrar"),
        registrant_contact: z
          .string()
          .optional()
          .describe("Contact ID to use as registrant"),
        coupon: z.string().optional().describe("Coupon code for discount"),
      },
      async ({ domain, auth_code, registrant_contact, coupon }) => {
        try {
          const result = await client.transfer(domain, auth_code, {
            registrantContact: registrant_contact,
            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: `Domain transfer failed: ${msg}` },
            ],
            isError: true,
          };
        }
      }
    );
  • Zod input schema for the transfer_domain tool: required 'domain' (string), required 'auth_code' (string), optional 'registrant_contact' (string), optional 'coupon' (string).
    {
      domain: z.string().describe("Domain name to transfer (e.g., 'example.com')"),
      auth_code: z.string().describe("Authorization/EPP code from the current registrar"),
      registrant_contact: z
        .string()
        .optional()
        .describe("Contact ID to use as registrant"),
      coupon: z.string().optional().describe("Coupon code for discount"),
    },
  • The tool is registered on the MCP server via server.tool() with the name 'transfer_domain' inside registerTransferTools(), which is called from src/index.ts (line 53) and createSandboxServer() (line 201).
    server.tool(
      "transfer_domain",
      "Initiate a domain transfer into your Dynadot account. Requires the " +
        "domain name and the authorization/EPP code from the current registrar.",
      {
        domain: z.string().describe("Domain name to transfer (e.g., 'example.com')"),
        auth_code: z.string().describe("Authorization/EPP code from the current registrar"),
        registrant_contact: z
          .string()
          .optional()
          .describe("Contact ID to use as registrant"),
        coupon: z.string().optional().describe("Coupon code for discount"),
      },
      async ({ domain, auth_code, registrant_contact, coupon }) => {
        try {
          const result = await client.transfer(domain, auth_code, {
            registrantContact: registrant_contact,
            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: `Domain transfer failed: ${msg}` },
            ],
            isError: true,
          };
        }
      }
    );
  • src/index.ts:53-53 (registration)
    Registration call that triggers the transfer_domain tool registration in the main server.
    registerTransferTools(server, client);
  • The DynadotClient.transfer() helper method that builds the API parameters and calls the Dynadot API with the 'transfer' command.
    async transfer(domain: string, authCode: string, options?: {
      registrantContact?: string;
      coupon?: string;
    }): Promise<DynadotResponse> {
      const params: Record<string, string> = { domain, auth: authCode };
      if (options?.registrantContact) params.registrant_contact = options.registrantContact;
      if (options?.coupon) params.coupon = options.coupon;
      return this.call("transfer", params);
    }
Behavior2/5

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

With no annotations provided, the description carries full behavioral burden. It indicates a mutation ('Initiate') but does not disclose whether the transfer is asynchronous, what the response looks like, or if there are side effects (e.g., fees, email confirmation). Important behavioral traits are missing.

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?

The description is a single, clear sentence with no unnecessary words. It front-loads the purpose and includes requirements. Every word earns its place, making it highly concise and well-structured.

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

Completeness2/5

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

Given the complexity of a domain transfer (sensitive operation, possibly asynchronous), the description is too minimal. It does not explain the expected response, potential delays, or follow-up actions. Without an output schema, more detail is needed for the agent to handle the result correctly.

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%, so the schema already documents all four parameters. The description adds no extra meaning beyond mentioning domain and auth_code as required (already in schema). Baseline score of 3 is appropriate as the description does not enhance parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool initiates a domain transfer into a Dynadot account, specifying the verb ('Initiate') and resource ('domain transfer'). However, it does not explicitly differentiate from sibling tools like 'authorize_transfer_away' or 'cancel_transfer', though the phrase 'into your Dynadot account' provides some context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions prerequisites (domain name and EPP code) but provides no guidance on when to use this tool versus alternatives such as 'authorize_transfer_away' or 'get_transfer_status'. There is no explicit 'when to use' or 'when not to use' information.

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

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