You can check the GDL Reference Guide PDF for the command DEFINE MATERIAL.
It has many parameters but many of them correspond to the settings and sliders in the Materials Dialog so you can get an idea of what each is controlling.
There are also examples there.
Get Archicad Tips at https://twitter.com/laszlonagy AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD 2x28" (2560x1440), WIN10 PRO ENG, AC20-AC26 Loving Archicad since 1995