Skip to main content
Glama

cancel_transfer

Cancel a pending domain transfer to stop the process before completion. Use this tool to halt domain transfers initiated through the Dynadot registrar.

Instructions

Cancel a pending domain transfer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name to cancel transfer for

Implementation Reference

  • The MCP tool registration and handler implementation for cancel_transfer. It calls the client.cancelTransfer method.
    server.tool(
      "cancel_transfer",
      "Cancel a pending domain transfer.",
      {
        domain: z.string().describe("Domain name to cancel transfer for"),
      },
      async ({ domain }) => {
        try {
          const result = await client.cancelTransfer(domain);
          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: `Cancel transfer failed: ${msg}` },
            ],
            isError: true,
          };
        }
      }
    );
  • The underlying client method that performs the API call to cancel the transfer.
    async cancelTransfer(domain: string): Promise<DynadotResponse> {
      return this.call("cancel_transfer", { domain });

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