Apparatus is provided for delivery of an implantable neural stimulator to a sphenopalatine ganglion (SPG) of a subject. The apparatus includes a tool having a proximal portion and having a distal portion coupled to the implantable neural stimulator; and a slide-bar at the proximal portion of the tool. The slide-bar includes a distal portion and a proximal portion. The proximal portion of the slide-bar is coupled to the stimulator such that distal advancement of the proximal portion of the slide-bar produces distal advancement of the stimulator. The proximal and distal portions of the slide-bar include respective magnetic coupling elements. The magnetic coupling elements are configured to couple the proximal and distal portions of the slide-bar to each other unless a distally-directed force applied to the distal portion of the slide-bar exceeds a threshold. Other embodiments are also described.