Discovery and optimization of novel 3-benzyl-N-phenyl-1H-pyrazole-5-carboxamides as bifunctional antidiabetic agents stimulating both insulin secretion and glucose uptake.