Controlled Agentic Planning & Reasoning for Mechanism Synthesis