BOSTON (AP) — Former Boston manager Terry Francona gave Pedro Martinez a big hug along with some advice to help him in his new job as a special assistant to the Red Sox general manager.

“Now he’s going to have to be on time,” Francona needled his former pitcher on Thursday when the two were reunited at the annual dinner of the Boston chapter of the Baseball Writers Association of America.

A three-time Cy Young Award winner and eight-time All-Star who spent seven seasons in Boston, Martinez returned to the city where he had his best years. His role is still undefined — he has the same title as former Red Sox catcher Jason Varitek — but Martinez said he would be willing to help with the pitchers, work in the minor leagues and generally be a friend to GM Ben Cherington.

Martinez spent his first day back on the Boston masthead at a lunch with Cherington, new Red Sox manager John Farrell, CEO Larry Lucchino and Boston Mayor Tom Menino and some civic leaders. Martinez said Menino had been welcoming to him when he first arrived in Boston in 1998 and once again was forthcoming with advice about where to live and what to do in the city.